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


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



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