This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: arm gdb stub: user / supervisor mode
- From: Jonathan Larmour <jlarmour at redhat dot com>
- To: Fabrice Gautier <Fabrice_Gautier at sdesigns dot com>
- Cc: "Ecos-List (E-mail)" <ecos-discuss at sources dot redhat dot com>
- Date: Fri, 12 Apr 2002 19:25:41 +0100
- Subject: Re: [ECOS] arm gdb stub: user / supervisor mode
- Organization: Red Hat UK Ltd.
- References: <B1F6452C89AFD411AE0800A0CC734C239DBBBE@EMAIL1>
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