Re: [patch] Allow gdbserver to dynamically lookup libthread_db.so.1

Paul Pluzhnikov
2009-09-02T17:16:06Z

On Wed, Sep 2, 2009 at 9:47 AM, Pedro Alves<pedro@codesourcery.com> wrote:

> Since you're touching this, how about loading a thread_db per-process
> like gdb/linux-thread-db.c already does?

Oh, I've had this patch locally for so long, I didn't realize gdbserver
is now multi-process as well. Will fix.

> Did you intend to remove this?
>
>> -  /* If the thread layer is not (yet) initialized, fail.  */
>> -  if (!get_thread_process (thread)->all_symbols_looked_up)
>> -    return TD_ERR;

No, I must have accidentally killed it.

>> -AC_PREREQ(2.59)dnl
>> +AC_PREREQ(2.64)dnl
>
> This should be a separate change.

I still can't get a good mental model of autotools :-(

Given gdbserver/acinclude.m4 change, I should include gdbserver/configure
change here, but not gdbserver/configure.ac, right?

Thanks,