Does GDB suports mixed ARM_code (ARM+Thumb) debugging?
Joel Brenner
joel.brenner@tchip.com
Wed Jan 31 03:44:00 GMT 2001
Jens-Christian Lache wrote:
> Hi Joel!
>
> > >
> > > tanks joel brenner
> >
> > There is olso a problem if I call MainApp() (C main function), at the end of startup code (call from ARM-code to ARM-code), how described in /gcc/config/arm/README-interworking; if I use the ASM instructions:
> >
> > ldr r0, =MainApp
> > mov lr, pc
> > bx r0
> >
> > If I do a step at instruction "bx ro" gdb don't halts the execution at the next instruction.
>
> Did you try "stepi"? You should work with "SRC+ASM" (This works best with the
> latest snapshots from gdb) And then step through all instructions. Of course you
> can set the lr and pc by hand in the "register" window.
>
> Jens-Christian
>
> >
> > tanks brenner joel
> >
> >
> >
>
> --
>
> Jens-Christian Lache
> Technische Universitaet Hamburg-Harburg
> www.tu-harburg.de/~sejl1601
> Mail:
> lache@tu-harburg.de
> lache@ngi.de
> Tel.:
> +0491759610756
------
Want more information? See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sourceware.cygnus.com
More information about the crossgcc
mailing list