[ECOS] arm gdb stub: user / supervisor mode

Jonathan Larmour jlarmour@redhat.com
Tue Apr 23 10:45:00 GMT 2002


Jonathan Larmour wrote:
> 
> Jonathan Larmour wrote:
> >
> > The eCos ARM GDB support hasn't been designed to debug user mode, only svc
> > mode so you're breaking new ground here!
> 
> Actually it's been pointed out (by Mark S) that the current version of
> vectors.S in our internal repository may handle this better. It doesn't
> support user mode debugging, but it does support debugging of the other
> privileged modes better than the current anoncvs version anyway, thanks to
> a recent overhaul. To support user mode debugging probably involves forking
> the exception handling into two paths early in the exception process. One
> way for user mode being interrupted and the other is the current handling.
> 
> I've attached it anyway.

It seems it was so new that it wasn't even in our mainline CVS at the time
I took the snapshot! And in any case I was missing some other files.

Here's a patch instead. Caveat emptor - you're on your own :).
 
Jifl
-- 
Red Hat, Rustat House, Clifton Road, Cambridge, UK. Tel: +44 (1223) 271062
--[ "You can complain because roses have thorns, or you ]--
--[  can rejoice because thorns have roses." -Lincoln   ]-- Opinions==mine
-------------- next part --------------
A non-text attachment was scrubbed...
Name: vectors.pat.bz2
Type: application/octet-stream
Size: 4690 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/ecos-discuss/attachments/20020423/eddb73cf/attachment.obj>
-------------- next part --------------
-- 
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss


More information about the Ecos-discuss mailing list