This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [commit] Fix GDB crash (Re: [1/2] RFC: reference count breakpoint commands)
- From: Tom Tromey <tromey at redhat dot com>
- To: "Ulrich Weigand" <uweigand at de dot ibm dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Fri, 26 Mar 2010 11:04:29 -0600
- Subject: Re: [commit] Fix GDB crash (Re: [1/2] RFC: reference count breakpoint commands)
- References: <201003261643.o2QGh7XD009247@d12av02.megacenter.de.ibm.com>
- Reply-to: Tom Tromey <tromey at redhat dot com>
>>>>> "Ulrich" == Ulrich Weigand <uweigand@de.ibm.com> writes:
Ulrich> This patch caused GDB to crash for me during execution of the
Ulrich> commands.exp test case. The problem appears to be caused by a
Ulrich> bpstat with NULL commands, but a non-NULL commands_left pointing
Ulrich> to uninitialized memory.
I'm sorry about that.
Ulrich> The following patch implements this, fixing the crash I was seeing.
Thank you.
Tom