public inbox for insight@sourceware.org
 help / color / mirror / Atom feed
* Can threaded program be remotely debugged using Insight ?
@ 2002-10-09  7:30 Masahide Tomita
  2002-10-09  8:02 ` Keith Seitz
  0 siblings, 1 reply; 5+ messages in thread
From: Masahide Tomita @ 2002-10-09  7:30 UTC (permalink / raw)
  To: insight

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



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2002-10-10 16:05 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-10-09  7:30 Can threaded program be remotely debugged using Insight ? Masahide Tomita
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

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).