[commit] [patch] Do not use notcurrent line for caller-'break' [Re: Why does gdb stop at a different line than “i b” shows while returning from function?]
Jan Kratochvil
jan.kratochvil@redhat.com
Mon Aug 27 16:56:00 GMT 2012
On Sat, 04 Aug 2012 22:05:16 +0200, Jan Kratochvil wrote:
> gdb/
> 2012-08-04 Jan Kratochvil <jan.kratochvil@redhat.com>
>
> * breakpoint.c (parse_breakpoint_sals) <(*address) == NULL>: New
> variable pc. Call find_pc_line instead of find_pc_overlay, restore
> original PC for it.
>
> gdb/testsuite/
> 2012-08-04 Jan Kratochvil <jan.kratochvil@redhat.com>
>
> * gdb.base/break-caller-line.c: New file.
> * gdb.base/break-caller-line.exp: New file.
Checked in:
http://sourceware.org/ml/gdb-cvs/2012-08/msg00205.html
Thanks,
Jan
More information about the Gdb-patches
mailing list