This is the mail archive of the mailing list for the GDB project.

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

Re: gcc compile

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
> >mode. 
> 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.
> p.

Jens-Christian Lache
Technische Universitaet Hamburg-Harburg

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