This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFC/7.1] Reset breakpoints after load
- From: Joel Brobecker <brobecker at adacore dot com>
- To: Daniel Jacobowitz <dan at codesourcery dot com>
- Cc: gdb-patches at sourceware dot org, Pedro Alves <pedro at codesourcery dot com>
- Date: Sun, 14 Mar 2010 18:08:00 -0700
- Subject: Re: [RFC/7.1] Reset breakpoints after load
- References: <20100314162107.GG9310@caradoc.them.org>
> * Don't read from the target during prologue analyzers; only read from
> the executable file. I like this solution best, and it has other
> merits (it's faster!). But it's the most work.
I like this solution best too, but ...
> 2010-03-14 Daniel Jacobowitz <dan@codesourcery.com>
>
> * symfile.c (generic_load): Reset breakpoints after loading.
... this seems fine, at least as a temporary measure. The only drawback
I can see is performance, but I don't think it will be noticeable.
--
Joel