This is the mail archive of the
insight@sourceware.cygnus.com
mailing list for the Insight project.
Re: Insight debugging remote targets
- To: MWCruess at cs dot com
- Subject: Re: Insight debugging remote targets
- From: Fernando Nasser <fnasser at cygnus dot com>
- Date: Thu, 22 Jun 2000 13:10:49 +0000
- CC: insight at sourceware dot cygnus dot com
- Organization: Red Hat Canada Ltd. - Toronto
- References: <6c.6d4c22.26835b76@cs.com>
MWCruess@cs.com wrote:
>
> I poked around in the code for the source window in gdbtk, and I saw
> comment regarding the process ID of the inferior process having to be correct
> for the code to work. Since operating in remote mode does not have an
> inferior process, I was wondering if this is related.
>
The remote protocol creates a fake pid (MAGIC_NULL_PID) when you connect
to the target. Look in remote.c.
--
Fernando Nasser
Red Hat Canada Ltd. E-Mail: fnasser@cygnus.com
2323 Yonge Street, Suite #300 Tel: 416-482-2661 ext. 311
Toronto, Ontario M4P 2C9 Fax: 416-482-6299