This is the mail archive of the
ecos-discuss@sourceware.cygnus.com
mailing list for the eCos project.
Re: is it successful
- To: zhang <lczhang at csrd dot org>
- Subject: Re: [ECOS] is it successful
- From: Jonathan Larmour <jlarmour at redhat dot co dot uk>
- Date: Fri, 28 Apr 2000 03:51:07 +0100
- CC: ecos-discuss at sourceware dot cygnus dot com
- Organization: Red Hat UK Ltd.
- References: <004301bfb24d$2ca06bc0$2801a8c0@lczhang>
> zhang wrote:
>
> Hi,to verify both that a hardware target is properly set up,and that the
> GDB commands used to connect to the target work properly on my system,
> connect to the target by issuing the following commands in GDB console
> mode:(as the document says)
> (gdb) set remotebaud 38400
> (gdb) set mips-force-32bit-saved-gpregs
> (gdb) target remote /dev/ttyS0
> but I am not sure which target argument I must choose(my target is pc
> ),so I ignore the second line ,just using :
> (gdb) set remotebaud 38400
> (gdb) target remote /dev/ttyS0
>
> then :
> $ gdb -nw thread_gdb
> (gdb) load
> (gdb) continue
The following should be what is required:
$ gdb -nw thread_gdb
(gdb) set remotebaud 38400
(gdb) target remote /dev/ttyS0
(gdb) load
[ some output ]
(gdb) continue
> however ,on the target ,only lots of odd characters scroll ,so I do not
> know whether it is successful or not .
> if it is successful ,what will I do next?
You will see that while the program loads.
> And I also want to know whether the program result will be print on
> the host screen or the target screen ,and the above debug can tell us ?
> thanks alot
It should appear on the GDB output.
Jifl
--
Red Hat, 35 Cambridge Place, Cambridge, UK. CB2 1NS Tel: +44 (1223) 728762
"Plan to be spontaneous tomorrow." || These opinions are all my own fault