This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: arm gdb stub: user / supervisor mode


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

Attachment: vectors.pat.bz2
Description: Binary data

-- 
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]