This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[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?]
- From: Jan Kratochvil <jan dot kratochvil at redhat dot com>
- To: wempwer at gmail dot com
- Cc: Joachim Protze <joachim dot protze at tu-dresden dot de>, gdb-patches at sourceware dot org
- Date: Mon, 27 Aug 2012 18:55:59 +0200
- Subject: [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?]
- References: <20120729185452.GB2732@a.lan> <501B96BE.8050604@tu-dresden.de> <20120804200150.GA2730@a.lan> <20120804200516.GA27180@host2.jankratochvil.net>
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