Openembedded Core Discussions
 help / color / mirror / Atom feed
From: Andreas Oberritter <obi@opendreambox.org>
To: openembedded-core@lists.openembedded.org
Subject: gdb 7.4 and libexpat
Date: Wed, 14 Mar 2012 02:49:19 +0100	[thread overview]
Message-ID: <4F5FF91F.5010407@opendreambox.org> (raw)

Hi everybody,

in our rootfs, when debugging remotely with gdbserver on mips32el, gdb
7.4 fails to find symbol names for use in backtraces. gdb 7.3.1 works
well. One of my colleagues ran git bisect and discovered the culprit:

gdb git revision 22d678fdfdfc56ec75555f8f44ae5f0c4fc97e9a
http://sourceware.org/ml/gdb-patches/2011-11/msg00103.html

We haven't found out why this patch breaks symbol lookup. However, we
found three options to fix backtraces with version 7.4:

1.) Revert the changeset, possibly without understanding it fully.
2.) Enable expat in gdb, dragging libexpat into the image.
3.) Disable expat in gdb-cross, possibly losing functionality.

It seems that if one side is compiled with expat and the other is not,
then gdb and gdbserver now have problems communicating with each other.

Which way would you prefer?

Regards,
Andreas



             reply	other threads:[~2012-03-14  1:58 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-03-14  1:49 Andreas Oberritter [this message]
2012-03-14  8:35 ` gdb 7.4 and libexpat Henning Heinold
2012-04-02 20:09   ` Khem Raj
2012-04-09  0:57     ` Denys Dmytriyenko

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=4F5FF91F.5010407@opendreambox.org \
    --to=obi@opendreambox.org \
    --cc=openembedded-core@lists.openembedded.org \
    /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