* Re: gdbserver coredumps,what is the *right* libthread_db.so for gdbserver on a given platform?
@ 2004-01-24 5:13 John Utz
2004-01-24 10:36 ` show os MuthuKumar
0 siblings, 1 reply; 3+ messages in thread
From: John Utz @ 2004-01-24 5:13 UTC (permalink / raw)
To: drow; +Cc: gdb
Hi again, more informatoin....
>>> Daniel Jacobowitz <drow@mvista.com> 01/23/04 02:50PM >>>
> If it's still segfaulting you've found a new or unique problem.
You'll
> have to figure out what gdbserver is doing :)
ok, so here's a slight improvement, but still weird...hope that it
might jog your brain....
if i take my libpthread-0.9.so and copy it to libpthread-0.9.so.db and
then *strip* libpthread-0.9.so i can run 'share' successfully, ie not
crash gdbserver.
that's good.
of course, this means that i have no symbols for libpthread-0.9.so.
But, better yet. i can do an add-symbol-file on the
libpthread-0.9.so.db and *not* crash gdbserver and get symbols for
libpthread-0.9.so!!
But, the bad news is that i then get a noncrashing error from gdbserver
when i do this:
gdb: Unable to set global thread event mask: generic error
then, if i step thru my sample thread app i suddenly get an apparent
infinite loop of something..i think, because i get a SIGSEV.
when i do a bt it
shows that i am in longjmp:
#0 0x4001a3c2 in longjmp
#1 0xffffffff in ?? ()
<...>
#4345 0xffffffff in ?? ()
#4346 0xffffffff in ?? ()
#4347 0xffffffff in ?? ()
<...> and on and on until i reboot the target...
does this collection of facts provide any additional insight?
failing that, how do i debug gdsbserver?
tnx!
johnu
^ permalink raw reply [flat|nested] 3+ messages in thread
* show os
2004-01-24 5:13 gdbserver coredumps,what is the *right* libthread_db.so for gdbserver on a given platform? John Utz
@ 2004-01-24 10:36 ` MuthuKumar
2004-01-24 11:12 ` Eli Zaretskii
0 siblings, 1 reply; 3+ messages in thread
From: MuthuKumar @ 2004-01-24 10:36 UTC (permalink / raw)
Cc: gdb
hello all,
I am using gdb of
(gdb) show vers
HP gdb 4.0 for HP Itanium (32 or 64 bit) and target HP-UX 11.2x.
Copyright 1986 - 2001 Free Software Foundation, Inc.
Hewlett-Packard Wildebeest 4.0 (based on GDB) is covered by the
GNU General Public License. Type "show copying" to see the conditions to
change it and/or distribute copies. Type "show warranty" for warranty/support.
If i put the command as show os it is showing only as
(gdb) show os
Operating system is "".
what is the problem with this.
Regards,
Muthukumar.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: show os
2004-01-24 10:36 ` show os MuthuKumar
@ 2004-01-24 11:12 ` Eli Zaretskii
0 siblings, 0 replies; 3+ messages in thread
From: Eli Zaretskii @ 2004-01-24 11:12 UTC (permalink / raw)
To: MuthuKumar; +Cc: gdb
> From: "MuthuKumar" <kmuthu_linux@HotPOP.com>
> Date: Sat, 24 Jan 2004 16:06:17 +0530
>
> If i put the command as show os it is showing only as
> (gdb) show os
> Operating system is "".
>
> what is the problem with this.
There are 2 problems:
(1) you need to say "set os <something>" before "show os" could
tell something useful; and
(2) the GDB manual fails to index "show os" and "set os".
In other words, "show os" only works on systems that support KOD, the
Kernel Object Display interface. See the section "KOD" in the GDB
manual for more details.
I'll fix problem (2) above ASAP. Thanks for bringing this to our
attention.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2004-01-24 11:12 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-01-24 5:13 gdbserver coredumps,what is the *right* libthread_db.so for gdbserver on a given platform? John Utz
2004-01-24 10:36 ` show os MuthuKumar
2004-01-24 11:12 ` Eli Zaretskii
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox