gdb stub for 68360

Andrew Bythell abythell at nortelnetworks.com
Wed Mar 1 21:48:36 UTC 2000


Gus Palone wrote:

> > I have finally got a gdb monitor going on a 68360 target (needs some
> > cleaning) and I can connect to it with gdb over a serial line. 

...then you sound like someone who can help me with this problem (though
I hope anyone will feel free to respond!).  I'm not sure if the problem
is with my stub or with my build of gdb.

The Problem:
------------
I startup my target and it issues the packet $S07#ba , which gdb
receives and is happy.  But then gdb starts issuing commands that the
m68k-stub doesn't support, like $qOffsets#4b and $Hc-1#09.  If I
manually issue these commands, the target returns +$#00$#00.

The Question
------------
Do I need to add support for these commands to my stub, or do I need to
modify gdb to send different commands?  Alternatively, does anyone have
proven source code for a 68360 stub that they would be willing to post?

The Setup
---------
My original m68k-stub.c had the CVS tag Header: remcom.c,v 1.34 91/03/09
12:29:49 glenne Exp $ 
and I am using gdb 4.17 configured as "--host=i586-pc-linux-gnu
--target=m68k-rtems" with the appropriate rtems patch applied.

Any input is appreciated,

A.

Andrew Bythell     System Verification
Nortel Networks Microelectronics Group 
Ottawa, Ontario Canada    esn.39.56930 
tel.613.765-6930      fax.613.763-7795



More information about the users mailing list