diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2009-11-24 00:35:43 +0100 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2009-11-24 00:35:43 +0100 |
commit | d7004cc2b51a394da631fc58b5194b48c945ee6c (patch) | |
tree | 9fe2dddc1596cf83b342584adc2167fb922c9cff /open_issues/gdb_head.mdwn | |
parent | dd26273133b630bd1dab1474efde36a4ec31d26d (diff) | |
parent | 81caacd9b518558f95cd3283eb119d66bc73fc5f (diff) | |
download | web-d7004cc2b51a394da631fc58b5194b48c945ee6c.tar.gz web-d7004cc2b51a394da631fc58b5194b48c945ee6c.tar.bz2 web-d7004cc2b51a394da631fc58b5194b48c945ee6c.zip |
Merge branch 'master' of flubber:~hurd-web/hurd-web
Diffstat (limited to 'open_issues/gdb_head.mdwn')
-rw-r--r-- | open_issues/gdb_head.mdwn | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/open_issues/gdb_head.mdwn b/open_issues/gdb_head.mdwn new file mode 100644 index 00000000..9d76ba82 --- /dev/null +++ b/open_issues/gdb_head.mdwn @@ -0,0 +1,40 @@ +[[!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.20091111-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 + 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 |