Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: "Williams, Allen" <awilli08@harris.com>
To: <gomez.j@ikusi.es>, 	<gdb@sourceware.org>
Subject: RE: Thread debugging. GDB for ARM.
Date: Mon, 14 May 2007 18:23:00 -0000	[thread overview]
Message-ID: <6E19E11D3D7A5F4D937E5C2721FC310D059B8A0A@mlbe2k4.cs.myharris.net> (raw)
In-Reply-To: <1179148650.10308.11.camel@DAFPC5206.ikusi.net>

Did you try the threads stuff in Section 4.9 of the documentation?  I've never used arm, but it works for native debugging; although I guess this is a naïve suggestion;-)

-----Original Message-----
From: gdb-owner@sourceware.org [mailto:gdb-owner@sourceware.org] On Behalf Of gomrioje
Sent: Monday, May 14, 2007 9:18 AM
To: gdb@sourceware.org
Subject: Thread debugging. GDB for ARM.

Could you give me a hint about thread debugging running on arm?

My configuration:
Host Linux PC -> gdb
    $ /usr/local/bin/gdb --version
    GNU gdb 6.4.90
    This GDB was configured as "--host=i686-linux --target=arm-linux"

Target ARM (AT91RM9200) -> gdbserver
    # ./gdbserver --version
    GNU gdbserver 6.6-debian
    Copyright (C) 2006 Free Software Foundation, Inc.
    gdbserver is free software, covered by the GNU General Public
License.
    This gdbserver was configured as "arm-linux-gnu"
The thread library of gdbserver: 
libthread_db.so.1->libthread_db-1.0.so


I am trying to debug a thread application (POSIX), using:
libpthread.so.0->libpthread-0.10.so

The problem is that I can not get into the threads code...
No breakpoints, nothing... but it works ok in the main process.

Could you help me?


-- 
Jesus Gomez Rio
R&D Technician
Design & Manufacturing Division
gomez.j@ikusi.com
www.ikusi.es


      parent reply	other threads:[~2007-05-14 18:23 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-05-14 13:17 gomrioje
2007-05-14 13:28 ` Daniel Jacobowitz
     [not found]   ` <435A66F076E8344FA6D3917739BD99A40162483D@srviku004.ikusi.net>
2007-05-14 14:35     ` Daniel Jacobowitz
2007-05-14 18:23 ` Williams, Allen [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=6E19E11D3D7A5F4D937E5C2721FC310D059B8A0A@mlbe2k4.cs.myharris.net \
    --to=awilli08@harris.com \
    --cc=gdb@sourceware.org \
    --cc=gomez.j@ikusi.es \
    /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