This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [patch 2/3] bpstat_print should consider all candidates
- From: Jan Kratochvil <jan dot kratochvil at redhat dot com>
- To: gdb-patches at sourceware dot org
- Date: Mon, 17 May 2010 23:27:14 +0200
- Subject: Re: [patch 2/3] bpstat_print should consider all candidates
- References: <20100503200210.GC30386@host0.dyn.jankratochvil.net>
On Mon, 03 May 2010 22:02:10 +0200, Jan Kratochvil wrote:
> I cannot find a reproducer, accidentally always the most important breakpoint
> comes first. Formerly I believe it was a required part but I cannot find
> a difference of this series without this patch now.
Going to post new testcase in the new patch 3/3 where this patch 2/3 starts to
make a difference:
without patch:
Breakpoint 2, _start () at ./gdb.base/nostdlib.c:20
with this patch:
Breakpoint 2, Stopped due to shared library event
_start () at ./gdb.base/nostdlib.c:20
Which is apparently more correct to print as with the patch 3/3 both events
get processed at that time.
Thanks,
Jan