This is the mail archive of the
mailing list for the GDB project.
Re: gcc compile
- To: crossgcc at sources dot redhat dot com, gdb at sources dot redhat dot com
- Subject: Re: gcc compile
- From: Jens-Christian Lache <lache at tu-harburg dot de>
- Date: Mon, 22 Jan 2001 15:48:06 +0100
- References: <E14Kepn-0007CUemail@example.com>
Hello everybody! The ARM Simulator does support different Modes. I just have
had the wrong arm-elf-gdb in my PATH. It was the last stable version:
GNU gdb 5.0
Copyright 2000 Free Software Foundation, Inc.
Even at the beginning of "start" the cpsr is equal to 0x10;
I have added a mode switch to user mode to crt0.S
and will install the proposed swi handler.
Thank´s a lot,
Am Mon, 22 Jan 2001 schrieben Sie:
> In message <01012211514701.02376@lab04>, Jens-Christian Lache writes:
> >Unfortunately the ARM simulator does not support the several CPU modes, that
> >the ARM7TDMI has. I made a software trap using "swi", and the pc was set
> >correctly to 0x8. It did also execute the jump instruction from this place
> >leading to my own swi handler. But when leaving it, returning to the
> >code containing the swi, the mode was still 0x10, which is not supervisor
> Can you give a concrete example of the code that you think is going wrong?
> The simulator certainly does support different modes - all ARM processors have
> these, not just ARM7TDMI.
Technische Universitaet Hamburg-Harburg