From: "Masahide Tomita" <fsi_tomi@bcpc601.neec.abk.nec.co.jp>
To: <insight@sources.redhat.com>
Subject: Can threaded program be remotely debugged using Insight ?
Date: Wed, 09 Oct 2002 07:30:00 -0000 [thread overview]
Message-ID: <007801c26fa0$7485a000$41dc280a@ABKNEECBCPCD65> (raw)
Hi,
This may be FAQ, but I couldn't really determine what is the solution for
this problem, when I searched on the web.
I'm trying to use Insight to remotely debug multi-threaded program.
Host machine and target board are both Redhat 7.2 system running on Intel
CPU.
I tryied to debug a program using thread, so I started gdbserver and gdb
(Insight) like below:
[target]
gdbserver ***.***.***.***:1001 program program.c
[host]
/usr/local/bin/gdb program
They start normally, and run normally, but when program gets to the function
pthread_create, insight on host machine freezes.
Well, it looks like still working since mouse cursol get "clock" icon, but
cpu load level is almost zero, and no matter how long you wait you get no
response from insight.
And I get the message like below on target console.
GDBbug : target.c (target_signal_from_host) : Unrecognized real-time signal
So, my real questions are:
1. Is this a problem of insight, or gdb?
2. Is there any way to debug threded program by using gdb, or insight?
Any help or information is appreceated.
Thank you.
--
Masahide Tomita
fsi_tomi@bcpc601.neec.abk.nec.co.jp
next reply other threads:[~2002-10-09 14:30 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-10-09 7:30 Masahide Tomita [this message]
2002-10-09 8:02 ` Keith Seitz
2002-10-09 18:14 ` Masahide Tomita
2002-10-10 8:56 ` Keith Seitz
2002-10-10 9:05 ` Cal Erickson
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='007801c26fa0$7485a000$41dc280a@ABKNEECBCPCD65' \
--to=fsi_tomi@bcpc601.neec.abk.nec.co.jp \
--cc=insight@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).