This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
RE: remote debugging
- From: nak26 <nak26 at drexel dot edu>
- To: Brijesh Shukla <iap_shukla at access dot co dot jp>, Quality Quorum <qqi at world dot std dot com>
- Cc: gdb <gdb at sources dot redhat dot com>
- Date: Fri, 13 Jun 2003 10:23:55 -0400
- Subject: RE: remote debugging
>> gdb> load
>
>You should not do that, gdbserver already loaded the program.
>The rest of your problems may be related to this step.
>
What works for me is
1.) gdb> file executable_name
--That, of course, works if you built the executable locally, and also have
access --to the code
2.) gdb> break break_point_somewhere
3.) gdb> continue
--Don't do run, since gdbserver has already fired the process (on the remote
--machine).
--Nik