This is the mail archive of the gdb-prs@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug gdb/13619] Crash when running binary a second time in the samesession


http://sourceware.org/bugzilla/show_bug.cgi?id=13619

--- Comment #8 from Hyrum Wright <hyrum at hyrumwright dot org> 2012-02-08 16:15:46 UTC ---
Rather than checkout a completely new tree from CVS, I manually applied the
patch to my copy of the 7.4 source code.  It appears to fix the problem:

[[[
$ /usr/local/bin/gdb ./a.out
GNU gdb (GDB) 7.4
Copyright (C) 2012 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-apple-darwin11.3.0".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /Users/Hyrum/dev/test/a.out...Reading symbols from
/Users/Hyrum/dev/test/a.out.dSYM/Contents/Resources/DWARF/a.out...done.
done.
(gdb) r
Starting program: /Users/Hyrum/dev/test/a.out 
Hello, World!
[Inferior 1 (process 54972) exited normally]
(gdb) r
Starting program: /Users/Hyrum/dev/test/a.out 
Hello, World!
[Inferior 1 (process 54974) exited normally]
(gdb) r
Starting program: /Users/Hyrum/dev/test/a.out 
Hello, World!
[Inferior 1 (process 54976) exited normally]
(gdb) r
Starting program: /Users/Hyrum/dev/test/a.out 
Hello, World!
[Inferior 1 (process 54978) exited normally]
(gdb) 
]]]

Thanks!

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]