GDB support for mixed ARM9 V5 and thumb code
Daniel Jacobowitz
drow@false.org
Thu Nov 9 15:31:00 GMT 2006
On Thu, Nov 09, 2006 at 04:27:17PM +0100, Johan Thorb wrote:
> Hi all,
>
> I am trying to use gdb 6.5 for target arm and on host Win/MinGW. I
> have compiled such a version, and I do get undeterministic behavior
> when using the debugger. I try to debug an elf file, which is to be
> eabi compliant. It is not compiled with gcc, and has a gdb-stub built
> in.
>
> To rule out gdb problematics I have two questions:
> 1) Does GDB 6.5 support mixed ARM v5 and thumb instruction set binaries?
Yes.
> 2) What is the right compilation config parameters in this case?
> I have tried the --target=arm-thumb-elf and --target=arm-gdb-elf
The middle field doesn't matter. Either of those should work, though
you probably want --target=arm-eabi.
> Could anyone please help me out in this matter?
You haven't told us anything about what goes wrong, so there's no other
help we can offer yet.
--
Daniel Jacobowitz
CodeSourcery
More information about the Gdb
mailing list