Public bug reported:

Binary package hint: gdb

Ubuntu 'Hardy' 8.04.1
gdb_6.8-1ubuntu2

gdb reports incorrect sizeof:
$ gdb
GNU gdb 6.8-debian
Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
(gdb) p sizeof(int)
$1 = 4
(gdb) p sizeof(long)
$2 = 4
(gdb) p sizeof(void *)
$3 = 4
(gdb) quit

** Affects: gdb (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 gdb sizeof

-- 
wrong primitive type sizeof in gdb amd64
https://bugs.launchpad.net/bugs/247289
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to