Thread (7 messages) flat view 7 messages, 3 authors, 2000-01-27

Re: How to gdbserver...

From: Jesper Skov <hidden>
Date: 2000-01-27 10:46:23

quoted
quoted
quoted
quoted
"dony" == dony  [off-list ref] writes:
dony> Has the host and the target been connected via network yet?  If

They have,

dony> so, I type "run" after (gdb) at host side, then (gdb)run The
dony> program being debugged has been started already Start it from
dony> the begging?(y or n) y Starting program: /mytest/mytest Don't
dony> know how to run. Try "help target".

You need to use 'continue'.

dony> I don't know why the program is running at this time.  type
dony> "list" can show my source code.  type "b main" can set
dony> breakpoint .  (gdb) b main Breakpoint 1 at 0x10000328:file
dony> mytest.c, line 4.  (gdb) s Cannot find bounds of current
dony> function

dony> I don't know why I cannot run the program at host side. Am I
dony> missing something?  I am pretty new with "GDB" debug.  Can some
dony> gurus give me some advices?  Thanks very much.


info gdb
man gdb

Jesper

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help