This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug gdb/12517] crash on source of .gdbinit in command file
- From: "tromey at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Fri, 1 Apr 2011 20:54:20 +0000
- Subject: [Bug gdb/12517] crash on source of .gdbinit in command file
- Auto-submitted: auto-generated
- References: <bug-12517-4717@http.sourceware.org/bugzilla/>
http://sourceware.org/bugzilla/show_bug.cgi?id=12517
Tom Tromey <tromey at redhat dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |tromey at redhat dot com
--- Comment #1 from Tom Tromey <tromey at redhat dot com> 2011-04-01 20:54:15 UTC ---
The bug seems to be that gdb frees a command_list while executing it.
One fix would be using counted command lists everywhere, like
breakpoint.c does now. Then the execution code would hold a reference
to the "rerun" command list.
--
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.