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: pthread_t ids of threads not showed by "thread info"


On date Friday 2010-04-23 16:25:11 +0200, Jan Kratochvil wrote:
> On Fri, 23 Apr 2010 16:21:15 +0200, Stefano Sabatini wrote:
> > No symbol "pthread" in current context.
> 
> You must have debug symbols from glibc.  On Fedora `debuginfo-install glibc',
> some similar command on other distros.

OK now I have this problem:

(gdb) threads __stack_user
Attempt to extract a component of a value that is not a structure.
(gdb) threads stack_used
(gdb) p __stack_user
$1 = -1221236944
(gdb) p &__stack_user
$4 = (<data variable, no debug info> *) 0xb7970160
(gdb) p (void *)&__stack_user
$5 = (void *) 0xb7970160
(gdb) p (void *)&__stack_user.next
Attempt to extract a component of a value that is not a structure.

I have debug symbols installed (installed libc6-dbg on Debian).

Regards.


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