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


Fabrice Gautier wrote:
> 
> Hi,
> 
> Can I use the redboot gdb stub safely with program that go back and forth
> between user and supervisor mode?
> The first thing is that I'm think i always get the supervisor mode registers
> in gdb. Is there any support for accessing the banked registers in gdb and
> stubs?
> 
> What iam actually doing is debugging uClinux kernel on top of redboot. I has
> to modify the uClinux kernel so that it doesnt install all the hardware
> exception vectors (only irq and swi) and so far that worked pretty well but
> now i'm wondering if the problem im seeing is in relation with the fact that
> linux switch from svc to user mode

The eCos ARM GDB support hasn't been designed to debug user mode, only svc
mode so you're breaking new ground here!

Sounds interesting. If you get it to work fully, let us know!

Jifl
-- 
Red Hat, Rustat House, Clifton Road, Cambridge, UK. Tel: +44 (1223) 271062
Maybe this world is another planet's Hell -Aldous Huxley || Opinions==mine

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