This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
remote debugging
- From: "B.E.Comp Project" <comp dot project at gmail dot com>
- To: ecos-discuss at sources dot redhat dot com
- Date: Sun, 13 Mar 2005 21:06:19 +0530
- Subject: [ECOS] remote debugging
- Reply-to: "B.E.Comp Project" <comp dot project at gmail dot com>
Hi,
I am trying remote debugging, using GDB stubs,
with GRUB as the startup for running a simple application.
i set the following flags:
CYGDBG_HAL_DEBUG_GDB_INCLUDE_STUBS
CYGDBG_HAL_DEBUG_GDB_BREAK_SUPPORT
CYGDBG_HAL_DEBUG_GDB_INITIAL_BREAK
Remote debugging msgs are:
(gdb) set remotebaud 38400
(gdb) target remote /dev/ttyS0
Remote debugging using /dev/ttyS0
0x0010bbf0 in ?? ()
(gdb) info breakpoints
No breakpoints or watchpoints.
(gdb) break main
No symbol table is loaded. Use the "file" command.
(gdb) file hello.c
A program is being debugged already. Kill it? (y or n) n
Program not killed.
(gdb) continue
Continuing.
Hello, eCos world!
1) Why is the initial breakpoint set by the option
'CYGDBG_HAL_DEBUG_GDB_INITIAL_BREAK' not displayed with command
info breakpoints ?
2) How can other breakpoints be set ?
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss