Re: multithreaded programs on arm-linux

Daniel Jacobowitz
2005-11-03T16:42:20Z

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