public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* [ECOS] Using gdb with SDS monitor
@ 2000-02-03  6:19 Kenneth Porter
  2000-02-03  7:19 ` Jesper Skov
  0 siblings, 1 reply; 3+ messages in thread
From: Kenneth Porter @ 2000-02-03  6:19 UTC (permalink / raw)
  To: eCos Discuss

Not having any success getting powerpc-eabi-gdb talking to mpc8bug, I
decided to hunt the Mot site for some test code I could load onto my
FADS to see if maybe there was something wrong with the board or CPU. I
found the SDS monitor and flashed that into place. Disconnected the ADI
and hooked up a serial cable, ran a term emulator, and I actually saw
readable messages coming back. So I know the board works ok.

I'd noticed in reading the gdb docs that gdb can talk to sdsmon, so I
tried to set it up with

set remotebaud 38400
target sds /dev/com1

gdb says "remote debugging with /dev/com1" and then hangs
unresponsively. This is on NT4.

Any idea what I might be doing wrong?

Kenneth Porter
Kensington Laboratories, Inc.
mailto:kenneth_porter@kensingtonlabs.com
http://www.kensingtonlabs.com


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

* Re: [ECOS] Using gdb with SDS monitor
  2000-02-03  6:19 [ECOS] Using gdb with SDS monitor Kenneth Porter
@ 2000-02-03  7:19 ` Jesper Skov
       [not found]   ` <200002031605.IAA09605@obi-wan.kenlabs.com>
  0 siblings, 1 reply; 3+ messages in thread
From: Jesper Skov @ 2000-02-03  7:19 UTC (permalink / raw)
  To: Kenneth Porter; +Cc: eCos Discuss

>>>>> "Kenneth" == Kenneth Porter <kenneth_porter@kensingtonlabs.com> writes:

Kenneth> I'd noticed in reading the gdb docs that gdb can talk to
Kenneth> sdsmon, so I tried to set it up with

Kenneth> set remotebaud 38400 target sds /dev/com1

Kenneth> gdb says "remote debugging with /dev/com1" and then hangs
Kenneth> unresponsively. This is on NT4.

Kenneth> Any idea what I might be doing wrong?

Try

 set remotebaud 38400
 target sds com1


Don't know if it'll make a difference though.

Jesper

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

* Re: [ECOS] Using gdb with SDS monitor
       [not found]   ` <200002031605.IAA09605@obi-wan.kenlabs.com>
@ 2000-02-03  8:36     ` Jesper Skov
  0 siblings, 0 replies; 3+ messages in thread
From: Jesper Skov @ 2000-02-03  8:36 UTC (permalink / raw)
  To: Kenneth Porter; +Cc: ecos-discuss

>>>>> "Kenneth" == Kenneth Porter <kenneth_porter@kensingtonlabs.com> writes:

Kenneth> On 03 Feb 2000 16:19:10 +0100, Jesper Skov wrote:
>> Try
>> 
>> set remotebaud 38400 target sds com1

Kenneth> Alas, that was actually the first syntax I tried, and then
Kenneth> tried the /dev/com1 after reading some stuff in the Cygwin
Kenneth> mailing list archives.

Kenneth> BTW, I did a little poking around in the gdb sources and
Kenneth> found in ecosSWtools-990319/src/gdb/remote-sds.c, line 170
Kenneth> (in sds_start_remote()) the expression "printf_unfiltered
Kenneth> ("%c");".  Shouldn't there be another argument for the %c to
Kenneth> refer to?

Looks like it.

If you get GDB sds support working you should post the necessary
patches to the GDB list - I think that's also available off
sourceware.

Jesper

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

end of thread, other threads:[~2000-02-03  8:36 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-02-03  6:19 [ECOS] Using gdb with SDS monitor Kenneth Porter
2000-02-03  7:19 ` Jesper Skov
     [not found]   ` <200002031605.IAA09605@obi-wan.kenlabs.com>
2000-02-03  8:36     ` Jesper Skov

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