linux-embedded.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Peter Waechtler <pwaechtler@mac.com>
To: linux-embedded@vger.kernel.org
Subject: Re: debugging multi threaded applicatiosn on arm - status?
Date: Sun, 9 Oct 2011 09:55:15 +0000 (UTC)	[thread overview]
Message-ID: <loom.20111009T115000-485@post.gmane.org> (raw)
In-Reply-To: 20110617153930.GA28570@merkur.ravnborg.org

Sam Ravnborg <sam <at> ravnborg.org> writes:
> 
> >> Is it possible to bebug multi-threaded applications using gdb on ARM these 
days?
> >>
> >
> > It works for me, using various ARM 926 and Cortex A8 chips and kernel  
> > versions from 2.6.27 to the present day. Which version of gbd do you  
> > have? gdb version 7.x works much better than 6.x in my experience.
> 
> We are using 6.8 - which may be the culprint.
> Does it work with NPTL too?
> 

Sam,

why don't you describe what's not working?

I guess you have a stripped libpthread and gdb isn't able to fetch
the thread infos via libthread_db.so.

On ARM you must not strip libpthread too much - see

http://sourceware.org/gdb/wiki/FAQ   question 6


  Peter




      reply	other threads:[~2011-10-09  9:55 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-06-17  9:39 debugging multi threaded applicatiosn on arm - status? Sam Ravnborg
2011-06-17 12:46 ` Chris Simmonds
2011-06-17 15:39   ` Sam Ravnborg
2011-10-09  9:55     ` Peter Waechtler [this message]

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=loom.20111009T115000-485@post.gmane.org \
    --to=pwaechtler@mac.com \
    --cc=linux-embedded@vger.kernel.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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).