From mboxrd@z Thu Jan 1 00:00:00 1970 From: Fabrice Gautier To: jtc@redback.com Cc: gdb@sources.redhat.com Subject: Re: gdbserver build Date: Tue, 01 May 2001 16:00:00 -0000 Message-id: <20010502003955.F26A.GAUTIER@email.enst.fr> References: <20010502000310.F267.GAUTIER@email.enst.fr> <5mk8404sih.fsf@jtc.redback.com> X-SW-Source: 2001-05/msg00029.html On 01 May 2001 15:24:38 -0700 jtc@redback.com (J.T. Conklin) wrote: > >>>>> "Fabrice" == Fabrice Gautier 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