Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: "John Utz" <Johnut01@noa.nintendo.com>
To: <drow@mvista.com>
Cc: <gdb@sources.redhat.com>
Subject: Re: gdbserver coredumps,what is the *right* libthread_db.so for gdbserver on a given platform?
Date: Sat, 24 Jan 2004 05:13:00 -0000	[thread overview]
Message-ID: <s0118e76.055@smtpgw1.nintendo.com> (raw)

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


             reply	other threads:[~2004-01-24  5:13 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-01-24  5:13 John Utz [this message]
2004-01-24 10:36 ` show os MuthuKumar
2004-01-24 11:12   ` Eli Zaretskii
     [not found] <s0118e76.054@smtpgw1.nintendo.com>
2004-01-24 14:42 ` gdbserver coredumps,what is the *right* libthread_db.so for gdbserver on a given platform? Daniel Jacobowitz
     [not found] <s0112c91.027@smtpgw1.nintendo.com>
2004-01-23 22:50 ` Daniel Jacobowitz
  -- strict thread matches above, loose matches on Subject: below --
2004-01-23 22:15 John Utz
2004-01-23 20:42 John Utz
2004-01-23 20:48 ` Daniel Jacobowitz
2004-01-23 20:32 John Utz
2004-01-23 20:34 ` Daniel Jacobowitz

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=s0118e76.055@smtpgw1.nintendo.com \
    --to=johnut01@noa.nintendo.com \
    --cc=drow@mvista.com \
    --cc=gdb@sources.redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox