This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug gdb/13619] Crash when running binary a second time in the samesession
- From: "hyrum at hyrumwright dot org" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Wed, 08 Feb 2012 16:15:46 +0000
- Subject: [Bug gdb/13619] Crash when running binary a second time in the samesession
- Auto-submitted: auto-generated
- References: <bug-13619-4717@http.sourceware.org/bugzilla/>
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.