multithreaded programs on arm-linux
Daniel Jacobowitz
drow@false.org
Thu Nov 3 16:42:00 GMT 2005
On Thu, Nov 03, 2005 at 05:28:09PM +0100, Frank Meerkoetter wrote:
> thread_db_new_objfile() is called two times.
> On the first run it prints the library name and
> than branches on the falg using_thread_db
> to the label quit.
> There it returns without executing target_new_objfile_chain (objfile).
>
> The second time the same path is followed but without branching into
> the block protected by the flag dejavu.
>
> In neither cases is this line executed:
> /* Now attempt to open a connection to the thread library. */
> err = td_ta_new_p (&proc_handle, &thread_agent);
Then what set using_thread_db?
--
Daniel Jacobowitz
CodeSourcery, LLC
More information about the Gdb
mailing list