This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: Re: SH7709a Breakpoint and Single Step Problems
- To: Peter Graf <p dot graf at itknet dot de>
- Subject: Re: [ECOS] Re: SH7709a Breakpoint and Single Step Problems
- From: Jesper Skov <jskov at redhat dot com>
- Date: 10 Aug 2001 11:52:00 +0200
- Cc: ecos-discuss at sources dot redhat dot com
- References: <000601c11d02$4c60b1b0$1c00a8c0@domain.targus.net><000601c11d02$4c60b1b0$1c00a8c0@domain.targus.net><3.0.5.32.20010810104858.009092b0@192.168.128.220>
>>>>> "Peter" == Peter Graf <p.graf@itknet.de> writes:
Peter> Jesper Skov wrote:
>> Single stepping in 7709a should be working now. I think it's broken
>> on some 7729s for an unknown reason - uncommenting the UBC line
>> should help.
Peter> At least until the snapshot from end of April 2001 it did not
Peter> work without modifying the source. I use the 7709A, and always
Peter> had to disable the User Break Controller.
Hm... It needs looking into. The problems arise from the UBC being
subtly different between SH variants. I thought the code was working
properly for all supported variants though.
Peter> (BTW I wonder how the UBC can be used when having more than two
Peter> breakpoints.)
The UBC is only used for single-stepping, which only requires a single
UBC breakpoint. Regular breakpoints are managed by GDB using the trap
instruction.
Jesper