public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
From: "hyrum at hyrumwright dot org" <sourceware-bugzilla@sourceware.org>
To: gdb-prs@sourceware.org
Subject: [Bug gdb/13619] Crash when running binary a second time in the same session
Date: Wed, 08 Feb 2012 16:16:00 -0000	[thread overview]
Message-ID: <bug-13619-4717-0HvtWDoWLn@http.sourceware.org/bugzilla/> (raw)
In-Reply-To: <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.


  parent reply	other threads:[~2012-02-08 16:16 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-01-24 17:53 [Bug gdb/13619] New: " hyrum at hyrumwright dot org
2012-01-24 18:40 ` [Bug gdb/13619] " hyrum at hyrumwright dot org
2012-02-07 16:04 ` tromey at redhat dot com
2012-02-07 18:20 ` hyrum at hyrumwright dot org
2012-02-07 19:29 ` tromey at redhat dot com
2012-02-07 19:44 ` hyrum at hyrumwright dot org
2012-02-07 21:16 ` tromey at redhat dot com
2012-02-08 15:14 ` tromey at redhat dot com
2012-02-08 16:16 ` hyrum at hyrumwright dot org [this message]
2012-02-08 16:21 ` tromey at redhat dot com

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-13619-4717-0HvtWDoWLn@http.sourceware.org/bugzilla/ \
    --to=sourceware-bugzilla@sourceware.org \
    --cc=gdb-prs@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).