Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Sven Neumann <s.neumann@raumfeld.com>
To: buildroot@busybox.net
Subject: [Buildroot] How to get symbolic debugging to work?
Date: Wed, 24 Jun 2009 16:35:21 +0200	[thread overview]
Message-ID: <1245854121.25464.29.camel@sven> (raw)
In-Reply-To: <h1r69p$kd5$1@ger.gmane.org>

On Tue, 2009-06-23 at 18:18 +0000, Grant Edwards wrote:
> On 2009-06-22, Grant Edwards <grant.b.edwards@gmail.com> wrote:
> 
> > I've given up temporarily on getting thread support to work in
> > gdbserver.  Now I'm just trying (and failing) to get basic
> > symbolic debugging to work.
> 
> Gdb 6.8 just plain doesn't work for ARM targets.
> 
> I switched to 6.7.1, and it works fine (including debugging
> multiple threaded apps).

I've now tried this change as well, but it doesn't help with our
problem. Whatever I try, gdb always immidiately receives SIGCHLD and
dies:

gdb /usr/bin/image-test 
GNU gdb 6.7.1
Copyright (C) 2007 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later
<http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show
copying"
and "show warranty" for details.
This GDB was configured as "arm-linux-uclibcgnueabi"...
Using host libthread_db library "/lib/libthread_db.so.1".
(gdb) r
Starting program: /usr/bin/image-test 
warning: Can not parse XML target description; XML support was disabled
at compile time

[1]+  Stopped(SIGCHLD)        gdb /usr/bin/image-test


That's the same result that I also got with gdb 6.8, except that I
didn't get the warning about the XML target description with that
version.

Our platform is armv5tel with EABI


Sven

  parent reply	other threads:[~2009-06-24 14:35 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-06-22 23:50 [Buildroot] How to get symbolic debugging to work? Grant Edwards
2009-06-23 18:18 ` Grant Edwards
2009-06-24  7:59   ` Sven Neumann
2009-06-24  9:16     ` Bernhard Reutner-Fischer
2009-06-24 14:46       ` Peter Korsgaard
2009-06-24 15:12         ` Bernhard Reutner-Fischer
2009-06-24 14:50       ` Grant Edwards
2009-06-24 14:44     ` Peter Korsgaard
2009-06-24 15:11       ` Grant Edwards
2009-06-24 14:35   ` Sven Neumann [this message]
2009-06-24 14:45     ` Grant Edwards
2009-06-24 16:06       ` Sven Neumann

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=1245854121.25464.29.camel@sven \
    --to=s.neumann@raumfeld.com \
    --cc=buildroot@busybox.net \
    /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