This is the mail archive of the gdb@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: multithreaded programs on arm-linux


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


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