Path: utzoo!utgpu!watmath!iuvax!cica!tut.cis.ohio-state.edu!AI.MIT.EDU!kingdon
From: kingdon@AI.MIT.EDU (Jim Kingdon)
Newsgroups: gnu.gdb.bug
Subject: Remote debugging?
Message-ID: <8909272316.AA06903@hobbes.ai.mit.edu>
Date: 27 Sep 89 23:15:53 GMT
Distribution: gnu
Organization: GNUs Not Usenet
Lines: 19

I'd like to hear from people about how well remote debugging on GDB
works. 

GDB 3.2 includes two example stubs for remote debugging,
remote-sa.m68k.shar and remote-multi.shar.  Have people tried using
these?  Do they work?  Have people successfully used remote debugging
with other remote stubs?

There was one bug in remote debugging--GDB was caching data which was
just *wrong* when it came to hardware registers.  I don't think the
cache was really all that effective (but could be mistaken), so I just
disabled it (suggestions and flames welcomed).

Feedback on cross-debugging (i.e. if the target machine and the
machine on which you are running GDB have different architectures) is
also welcomed.

Jim Kingdon
Free Software Foundation