public inbox for gdb@sourceware.org
 help / color / mirror / Atom feed
From: "Gautham Thavva" <gautham.thavva@lycos.com>
To: gdb@sources.redhat.com
Subject: Debugging a Multi-threaded application on PowerPC 82xx...
Date: Sat, 22 Mar 2003 21:06:00 -0000	[thread overview]
Message-ID: <DOAPMLPENMBGECAA@mailcity.com> (raw)


Hi,

I downloaded gdb5.3 having read in the announcement that it supports multi-threaded debugging for powerpc-*-linux. I found similar queries in the archives (a week back) but would like to know the current status.

I built gdb and gdbserver(following the README)
gdb: ./configure --target=powerpc-linux

gdbserver: set the cross-compiler and then ran
     ./configure --target=powerpc-linux

I copied gdbserver into the target and initiated the communication between gdb and gdbserver through TCP/IP(following the documentation)

I am able to place breakpoints on the main routine as well as on other threads. The debug cursor doesn't show up at the thread's place.

I then built gdb in the target environment i.e built it natively on the target machine. The result was the same. I couldn't switch between the threads.

I read in the archive about a patch PREPARE_TO_PROCEED Patch. I applied the patch and rebuilt gdb and gdbserver. Even then, the
thread switching didn't take place.

I would like to know how to go about so that debugging the multi-threaded application is possible. I will look forward to valuable
responses from this mailing list.

with regards,
Gautham Thavva

ps. Please reply to me directly as I haven't subscribed to the mailing list.



_____________________________________________________________
Get 25MB, POP3, Spam Filtering with LYCOS MAIL PLUS for $19.95/year.
http://login.mail.lycos.com/brandPage.shtml?pageId=plus&ref=lmtplus

             reply	other threads:[~2003-03-22 21:06 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-03-22 21:06 Gautham Thavva [this message]
2003-03-22 21:35 ` Daniel Jacobowitz
2003-03-24 20:38 Gautham Thavva
2003-03-24 20:50 ` Daniel Jacobowitz
2003-04-09 20:16 Gautham Thavva
2003-04-09 20:59 ` 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=DOAPMLPENMBGECAA@mailcity.com \
    --to=gautham.thavva@lycos.com \
    --cc=gdb@sources.redhat.com \
    /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).