This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH 8/9] impl of use_agent and can_use_agent in linux-nat.
On 02/24/2012 06:11 AM, Pedro Alves wrote:
>> > @@ -925,7 +926,10 @@ solib_add (char *pattern, int from_tty,
>> > }
>> >
>> > if (loaded_any_symbols)
>> > - breakpoint_re_set ();
>> > + {
>> > + breakpoint_re_set ();
>> > + agent_look_up_symbols ();
> The right place to do this is in a new new_objfile observer.
>
Why not a new solib_loaded observer, which is more accurate, IMO.
--
Yao (éå)