Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: John Carter <john.carter@tait.co.nz>
To: gdb@sourceware.org
Subject: What does gdb stub need for thread aware debugging on embedded  	system?
Date: Mon, 16 Jun 2008 00:10:00 -0000	[thread overview]
Message-ID: <alpine.DEB.1.00.0806161145460.17082@parore.tait.co.nz> (raw)

I'm looking to get thread aware debugging running on our "sparc-alike"
Leon II processor.

Unlike the usual sparc stub, I cannot get thread information from
Solaris as we're not running solaris on this device.

If I understand things correctly, getting gdb working should just be a
matter of tying gdb/sparc-stub.c to our serial ports by defining
   extern void putDebugChar();	/* write a single character      */
   extern int getDebugChar();	/* read and return a single char */

Grepping through that code the word "thread" doesn't occur.

What I'm missing is how does gdb get information about threads from
the devices OS to gdb running on the desktop.

Any pointers to the right bit of documentation / code would be most
welcome.




John Carter                             Phone : (64)(3) 358 6639
Tait Electronics                        Fax   : (64)(3) 359 4632
PO Box 1645 Christchurch                Email : john.carter@tait.co.nz
New Zealand


             reply	other threads:[~2008-06-16  0:10 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-06-16  0:10 John Carter [this message]
2008-06-16  0:20 ` Michael Snyder
2008-06-16  1:44   ` 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=alpine.DEB.1.00.0806161145460.17082@parore.tait.co.nz \
    --to=john.carter@tait.co.nz \
    --cc=gdb@sourceware.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