This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: Question about test gdb remotely using gdbserver on uClinux
On Thu, 16 Jun 2005 00:49:02 +0800
Jie Zhang <jzhang918@gmail.com> wrote:
> > Not as is. They are just used for remote downloading. But couldn't
> > you call your new board method inside gdbserver_load and get 95% of
> > cases that way?
> >
> I later found that we can use [istarget "*-*-uclinux*"] to decide if
> we need to append ".gdb" the file name before pass it to gdb_file_cmd.
> Just as you said, modification of gdbserver_gdb_load get the most of
> cases that way. Besides it, there are 5 other places need to be
> changed.
Be careful about making this change for all uclinux targets. I know
that frv-uclinux can execute ELF files and that GDB can use those same
files for debugging purposes.
Kevin