This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH][PR symtab/17855] Fix.
- From: Doug Evans <xdje42 at gmail dot com>
- To: Pedro Alves <palves at redhat dot com>
- Cc: "gdb-patches at sourceware dot org" <gdb-patches at sourceware dot org>, Joel Brobecker <brobecker at adacore dot com>
- Date: Thu, 22 Jan 2015 07:37:41 -0800
- Subject: Re: [PATCH][PR symtab/17855] Fix.
- Authentication-results: sourceware.org; auth=none
- References: <m33876ary6 dot fsf at sspiff dot org> <54C0E1FF dot 4050201 at redhat dot com>
On Thu, Jan 22, 2015 at 3:41 AM, Pedro Alves <palves@redhat.com> wrote:
> Looking at the whole function, ISTM that the breakpoint_re_set
> call should move further down. I can imagine that breakpoint_re_set
> could well hit a stale pc function cache, cleared only after by
> clear_pc_function_cache. breakpoint.c:parse_breakpoint_sals also
> references the last displayed sal. One would hope that breakpoint
> re-set is independent of that, though the existing comment about
> breakpoint_re_set accessing the current symtab leaves me
> wondering. WDYT?
Fine by me.