This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: Insight crashes when I open a located image
- To: Gerwyn Davies <gerwynd at tommoll dot freeserve dot co dot uk>
- Subject: Re: Insight crashes when I open a located image
- From: Fernando Nasser <fnasser at cygnus dot com>
- Date: Fri, 21 Jul 2000 13:55:59 +0000
- CC: GDB <gdb at sourceware dot cygnus dot com>
- Organization: Red Hat Canada Ltd. - Toronto
- References: <002601bff316$0aae7a20$c742883e@gtd-s-machine>
Gerwyn Davies wrote:
>
> I've tried using gdb -nw, but I have a very hard time trying to connect to
> the target. Here's a trace:-
>
> >Remote debugging using com1
> >Sending packet: $Hc-1#09...putpkt: Junk:
>
> Nothing will happen, until I press the NMI button, then on rare occaisions I
> can connect. I don't have this problem when using Insight, but I do still
> have to press the NMI once before I can connect to the board.
>
The diference is that Insight (the GUI) always send a "set remotebaud NNNN" before
the "Target" command.
Please try the sequence:
set remotebaud 9600 (or whatever your board speed is)
target remote com1 (I am assuming your board monitor has a gdb remote stub, 'course)
--
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