Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Fernando Nasser <fnasser@cygnus.com>
To: Gerwyn Davies <gerwynd@tommoll.freeserve.co.uk>
Cc: GDB <gdb@sourceware.cygnus.com>
Subject: Re: Insight crashes when I open a located image
Date: Fri, 21 Jul 2000 06:56:00 -0000	[thread overview]
Message-ID: <3978566F.A9A9B2AF@cygnus.com> (raw)
In-Reply-To: <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
From kings@ms29.url.com.tw Fri Jul 21 11:38:00 2000
From: "kings" <kings@ms29.url.com.tw>
To: <gdb@sourceware.cygnus.com>
Subject: an error in gdb insight
Date: Fri, 21 Jul 2000 11:38:00 -0000
Message-id: <000f01bed3a6$c9e65560$4e6119a3@vlsi>
X-SW-Source: 2000-07/msg00079.html
Content-length: 402

Dear maintainer:

when i run my program in console window. There is an error message.

starting program: /usr4/student/kings/mchang/testv2 12 34 56 78 90
Error: procfs: target_wait (wait_for_stop) line 3677,
/proc/05589:Interrupted system call.

my computer is sparc-sun-solaris with X11R5 and gdb -v is gdb 20000423

Does it matter? What should i do?

PS: If i use gdb -nw. everything work normally.


       reply	other threads:[~2000-07-21  6:56 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <002601bff316$0aae7a20$c742883e@gtd-s-machine>
2000-07-21  6:56 ` Fernando Nasser [this message]
2000-07-20 14:05 Gerwyn Davies
  -- strict thread matches above, loose matches on Subject: below --
2000-07-20  9:24 Gerwyn Davies

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=3978566F.A9A9B2AF@cygnus.com \
    --to=fnasser@cygnus.com \
    --cc=gdb@sourceware.cygnus.com \
    --cc=gerwynd@tommoll.freeserve.co.uk \
    /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