This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


On Wed, Sep 2, 2009 at 9:33 AM, Paul Pluzhnikov<ppluzhnikov@google.com> wrote:

> + ?CHK(td_ta_new_p = dlsym (handle, "td_ta_new"));

Just noticed 'space before paren' violation :(
Sorry about that. Fix attached.

-- 
Paul Pluzhnikov

doc/
2009-09-02  Paul Pluzhnikov  <ppluzhnikov@google.com>

       * gdb.texinfo (Server): Document libthread-db-search-path.

gdbserver/
2009-09-02  Paul Pluzhnikov  <ppluzhnikov@google.com>

       * acinclude.m4: Link with libdl.
       * server.c (libthread_db_search_path): New variable.
       (handle_query): Set it.
       * thread-db.c (td_ta_new_p, td_ta_event_getmsg_p)
       (td_ta_set_event_p, td_ta_event_addr_p, td_ta_map_lwp2thr_p)
       (td_thr_get_info_p, td_thr_event_enable_p, td_ta_thr_iter_p)
       (td_thr_tls_get_addr_p, td_symbol_list_p)
       (td_symbol_list_p): New variables.
       (thread_db_create_event, thread_db_enable_reporting)
       (find_one_thread, maybe_attach_thread, thread_db_find_new_threads)
       (thread_db_get_tls_address): Ajust.
       (try_thread_db_load_1, dladdr_to_soname): New functions.
       (try_thread_db_load, thread_db_load_search): New functions.
       (thread_db_init): Search for libthread_db.
       * configure.ac: Regenerate.
       * configure: Likewise.

Attachment: gdb-gdbserver-threaddb-search-20090902-2.txt
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]