diff options
Diffstat (limited to 'open_issues')
-rw-r--r-- | open_issues/gdb_head.mdwn | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/open_issues/gdb_head.mdwn b/open_issues/gdb_head.mdwn new file mode 100644 index 00000000..aa3b4961 --- /dev/null +++ b/open_issues/gdb_head.mdwn @@ -0,0 +1,46 @@ +[[!meta copyright="Copyright © 2009 Free Software Foundation, Inc."]] + +[[!meta license="""[[!toggle id="license" text="GFDL 1.2+"]][[!toggleable +id="license" text="Permission is granted to copy, distribute and/or modify this +document under the terms of the GNU Free Documentation License, Version 1.2 or +any later version published by the Free Software Foundation; with no Invariant +Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license +is included in the section entitled [[GNU Free Documentation +License|/fdl]]."]]"""]] + +[[!meta title="GDB HEAD broken"]] + +[[!tag open_issue_gdb]] + + tschwinge@blubber:~/tmp/gdb/HEAD.build $ echo 'void main(void){*(volatile int *)0;}' | + > gcc -o 0 -x c - + <stdin>: In function ‘main’: + <stdin>:1: warning: return type of ‘main’ is not ‘int’ + tschwinge@blubber:~/tmp/gdb/HEAD.build $ ./0 + Segmentation fault + tschwinge@blubber:~/tmp/gdb/HEAD.build $ gdb/gdb 0 + GNU gdb (GDB) 7.0.50.20091110-cvs + Copyright (C) 2009 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 "i386-unknown-gnu0.3". + For bug reporting instructions, please see: + <http://www.gnu.org/software/gdb/bugs/>... + Reading symbols from /media/data/home/tschwinge/tmp/gdb/HEAD.build/0...done. + (gdb) r + Starting program: /media/data/home/tschwinge/tmp/gdb/HEAD.build/0 + warning: the debug information found in "/lib/ld-2.10.1.so" does not match "/lib/ld.so" (CRC mismatch). + + Can't fetch registers from thread bogus thread id 1: No such thread + (gdb) quit + A debugging session is active. + + Inferior 1 [bogus thread id 0] will be killed. + + Quit anyway? (y or n) y + tschwinge@blubber:~/tmp/gdb/HEAD.build $ l /lib/ld-2.10.1.so /lib/ld.so /lib/ld.so.1 + -rwxr-xr-x 1 root root 142260 2009-11-03 13:05 /lib/ld-2.10.1.so* + lrwxr-xr-x 1 root root 7 2009-11-10 15:00 /lib/ld.so -> ld.so.1* + lrwxr-xr-x 1 root root 12 2009-11-10 15:00 /lib/ld.so.1 -> ld-2.10.1.so* |