[prev in list] [next in list] [prev in thread] [next in thread]
List: gdb
Subject: Remote Debugging
From: Yu Xuanwei <yxw () chinacluster ! com>
Date: 2000-11-30 3:52:12
Message-ID: 3A263F26.7A6D83D7 () chinacluster ! com
[Download RAW message or body]
Hi, buddies:
I've scanned all gdb mailist archives and gdb manual. I'm still
confused.
What I 've done:
1. cross-compile gdbserver by m68k-pic-coff compiler.
2. Download gdbserver into M68EZ328 ADS board.
3. Run it as: EZ328> gdbserver MyHost:port test, (test is stripped).
4. Native compile(Intel) in host: gcc -g test.c -o htest, (test.c is
just a HelloWorld)
5. Run gdb in Intel host: MyHost> gdb
gdb> target remote EZ328:port
gdb> symbol-file htest
gdb> b main
gdb> c
gdb> n
.
.
.
gdb> Program exit normally
6. See 'Hello World!' in target screen, and the gdbserver end when the
gdb session is over.
Idoubt whether I was right. I don't know how to 'load'. I don't know how
to prevent gdbserver exiting after one gdb session. I don't understand
whether I got the exact case in target via TCP. I feel unconfident.
Thanks a lot,
Yu Xuanwei
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic