gdbserver version quandry

John Williams jwilliams@itee.uq.edu.au
Thu Nov 6 21:29:00 GMT 2003


Daniel Jacobowitz wrote:
> On Thu, Nov 06, 2003 at 11:10:58AM +1000, John Williams wrote:
> 
>>Daniel Jacobowitz wrote:
>>
>>>On Thu, Nov 06, 2003 at 10:50:00AM +1000, John Williams wrote:
>>>
>>>
>>>>Hi folks,
>>>>
>>>>I have recently completed a port of uClinux to the Xilinx Microblaze 
>>>>soft-processor architecture.
>>>>
>>>>http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux.
>>>>
>>>>I am now investigating providing gdbserver support for this architecture.
>>>
>>>If your gdb 5.0 port supports remote debugging at all, then probably
>>>easiest is to take the most recent version of gdbserver and work from
>>>that.  Then adapt it to speak to your older client.  Not much should be
>>>required.
>>
>>Yes - microblaze gdb 5.0 does supoprt remote debugging.  Xilinx never 
>>intended to support (uC)linux, so they wrote their own gdbserver-type 
>>program to run on the host, which then communicates with a stub on the 
>>target via a proprietary serial interface.
>>
>>So then, the question becomes:  is there any info online about providing 
>>new arch support for gdb/gdbserver?
> 
> 
> About gdb, see the gdbint manual.  About gdbserver, no.

OK thanks.  Looking at versions of gdbserver post gdb5.2, it's cleaned 
up a lot, and I can easily work with what's there.

>>Also looking at gdbserver version strings in the Makefiles - I see that 
>>gdbserver versions don't track gdb versions.  In both the gdb5.0 and 
>>gdb5.1 distributions, the gdbserver version string is 4.12.3...   ???
> 
> Didn't even know there was a version number.  Gdbserver never displays
> it.

It's in the Makefile - not sure if it actually goes anywhere though.

Cheers,

John




More information about the Gdb mailing list