This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
netbsd/x86 and netbsd/walnut gdbserver issues
- From: Shashi Rao <shashi-list at bothan dot net>
- To: gdb-patches at sources dot redhat dot com
- Date: Wed, 12 Jun 2002 21:20:17 -0700
- Subject: netbsd/x86 and netbsd/walnut gdbserver issues
Hi
I had gdbserver (from 5.1.1) working with netbsd/x86. I was halfway
toward getting it to work on netbsd/walnut (an IBM powerpc 405GP
based board. a quirk: the 405GP does not implement FP instructions).
I modified it to be startable from inetd (so that it would use stdio
for its "remote socket") and also implemented the "detach"
remote-serial command (so a ctrl-c at the gdb end would cause a
ptrace detach of the target on the server side). (I also implemented
the --attach feature for low-nbsd)
I'd like to be able to move on to gdb 5.2 (and just got on the
mailing list) but I notice that netbsd is not a supported target any
more. I'd like to try and restore the netbsd/x86 target (and also
provide a netbsd/walnut target) if possible.
I dont quite know where to start -- should I just use
gdb_5_2-2002-04-29-release as a starting point, and using the
linux-low stuff as a model, hack on it till things work? Should I be
doing anything else? Any other pointers?
I am not really very familiar with the gdb internals, but now is a
good time to start! Also, I'd like to be able to turn in a patch
if/when I'm successful.
Thanks
Shashi
--
Shashi Rao | mailto:shashi-list@bothan.net