This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: gdbserver build
On 01 May 2001 15:24:38 -0700
jtc@redback.com (J.T. Conklin) wrote:
> >>>>> "Fabrice" == Fabrice Gautier <gautier@email.enst.fr> writes:
> >>
> >> Have you configure and built a GDB in the same object directory that
> >> you're trying to build gdbserver?
>
> I suspect you need to at least configure.
In fact i did have to build gdb.
> I think gdbserver is at a crossroads. While we could make it not
> depend on other parts GDB, recently (where recently is defined as "in
> the last few years") we've talked about possibilities of GDB and
> gdbserver sharing even more code (like the code that's used to fetch
> and store registers). I'm not sure which direction that will
> eventually be followed.
As i see it, gdbserver shoudl be the only one doing target operations
(fecthing register for example) and the rest of gdb (the inferace part) should
be a separate thing talking to a gdbserver (or a stub).
Today you can use gdbserver to do native debugging and not only remote
debugging... why bother having all the native stuff in gdb itself...?
Well just my 2 cents...
--
Fabrice Gautier <gautier@email.enstfr>