m68k BDM patch for gdb 5.3

Likely, Grant Grant.Likely at gdcanada.com
Tue Mar 11 16:32:03 UTC 2003


No it doesn't.  It's pretty much just a straight port of the 5.0 patch.

I had experienced the problem with ending up in the ISR when single stepping
on my target.  I ended up manually disabling interrupts in the SR when
single stepping to work around the problem.  I didn't know what the problem
was.  Thanks!

Cheers,
g.

-----Original Message-----
From: Chris Johns [mailto:cjohns at cybertec.com.au]
Sent: Monday, March 10, 2003 7:22 PM
To: Likely, Grant
Cc: 'rtems-users at oarcorp.com'
Subject: Re: m68k BDM patch for gdb 5.3


Likely, Grant wrote:

> Note about this patch: it is based on the patch included with the BDM
> library, not the newer 5.2.1 patch.  I didn't know about the newer patch
> until today.

Does this patch deal with the lack of the single step bit in the CSR
register on 
the 5407 ?

For reasons unknown the designers removed this bit. It makes it very
difficult 
to single step with interrupt pending. You end up in the interrupt. I have
been 
working with Mark Abbate <mabbate at videonics.com> and Motorola to come up
with a 
solution. It is not nice. I am yet to place this fix into the driver. If you

contact Mark he may have a patch that you can use.

This is one reason I have not updated the package but still not excuse. I
should 
have put the patch out earlier.

-- 
  Chris Johns, cjohns at cybertec.com.au



More information about the users mailing list