This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
RE: connecting with gdb and redboot
- To: Rajeev murthy <rajeev50 at lycos dot com>
- Subject: RE: [ECOS] connecting with gdb and redboot
- From: Gary Thomas <gthomas at cambridge dot redhat dot com>
- Date: Thu, 21 Jun 2001 13:04:12 -0600 (MDT)
- Cc: ecos-discuss at sources dot redhat dot com
- Organization: Red Hat, Inc.
On 21-Jun-2001 Rajeev murthy wrote:
> hi ,
> i have ported redboot onto my proprietory board and trying to invoke arm-elf-gdb. i'm trying
> to check whether gdb sends a "$" by connecting the system to another system thru a serial port
> but nothing seems to come. the serial port and the minicoms are working fine on their own. i'm a
> bit confused as to what does the gdb do when i say
> gdb) target remote /dev/ttyS0 OR
> clicking Connect to target in the GUI
Try turning on remote GDB debugging:
(gdb) set remotedebug 1
(gdb) tar rem /dev/ttyS0
A couple of notes:
* Make sure of your baud rate before trying the connect. For example,
(gdb) set remotebaud 38400
* The syntax of setting the remote debug flag is a little different
in the latest GDB snapshots, but it is similar so I'm sure you
can decipher it.