gdb stub for 68360

Quality Quorum qqi at world.std.com
Wed Mar 1 22:43:11 UTC 2000



On Thu, 2 Mar 2000, Gus Paolone wrote:

> Hi Andrew;
> 
> Like you I was suppressed when gdb send those two commands. Then I
> remembered that in an article in Embedded Magazine this was described as
> not really being required. However I looked at the code that was
> provided and put it in my stub. Then gdb was happy.
> 
> If you like to find the gdb "monitor" that was discussed in the article,
> go to www.embedded.com and do a search on gdb. (sorry I cant remember
> the month).
> 
> I hope this helps.
> 
> Gus
> 
> Andrew Bythell wrote:
> > 
> > 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?
> >

You do not have to support these commands, $#00 is correct response to any 
of them.

 
> > 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
> 

Thanks,

Aleksey





More information about the users mailing list