multithreaded programs on arm-linux
Frank Meerkoetter
frank@betaversion.net
Fri Nov 4 15:39:00 GMT 2005
Quoting Daniel Jacobowitz <drow@false.org>:
> On Fri, Nov 04, 2005 at 10:23:21AM +0100, Frank Meerkoetter wrote:
>> Quoting Daniel Jacobowitz <drow@false.org>:
>>
>> >On Thu, Nov 03, 2005 at 06:50:47PM +0100, Frank Meerkoetter wrote:
>> >>objfile is NULL, why i couldn't figure out.
>> >
>> >That should be true the first time but not the second, if you've used
>> >"file".
>>
>> Ok. The first time objfile is null. The second time target_has_execution
>> is false.
>
> It doesn't get called after you say "run"? Is this a static executable
> you're debugging?
It does get called. Sorry, i tested the wrong thing.
[...]
/* Now attempt to open a connection to the thread library. */
err = td_ta_new_p (&proc_handle, &thread_agent);
It returns TD_NOLIBTHREAD.
I know from stepping through thread_db_load() that
That td_ta_new_p = verbose_dlsym (handle, "td_ta_new");
was successfull.
verbose_dlsym() also produced now warning that it couldn't
find a certain symbol.
td_ta_new seems to fail.
I've downloaded the linuxThreads source but can't find any
references to "td_ta_new".
Regards,
Frank
More information about the Gdb
mailing list