* GDB support for mixed ARM9 V5 and thumb code
@ 2006-11-09 15:27 Johan Thorb
2006-11-09 15:31 ` Daniel Jacobowitz
2006-11-10 20:46 ` Bucky Katz
0 siblings, 2 replies; 3+ messages in thread
From: Johan Thorb @ 2006-11-09 15:27 UTC (permalink / raw)
To: gdb
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?
2) What is the right compilation config parameters in this case?
I have tried the --target=arm-thumb-elf and --target=arm-gdb-elf
Could anyone please help me out in this matter?
Best regards
/Johan
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: GDB support for mixed ARM9 V5 and thumb code
2006-11-09 15:27 GDB support for mixed ARM9 V5 and thumb code Johan Thorb
@ 2006-11-09 15:31 ` Daniel Jacobowitz
2006-11-10 20:46 ` Bucky Katz
1 sibling, 0 replies; 3+ messages in thread
From: Daniel Jacobowitz @ 2006-11-09 15:31 UTC (permalink / raw)
To: Johan Thorb; +Cc: gdb
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: GDB support for mixed ARM9 V5 and thumb code
2006-11-09 15:27 GDB support for mixed ARM9 V5 and thumb code Johan Thorb
2006-11-09 15:31 ` Daniel Jacobowitz
@ 2006-11-10 20:46 ` Bucky Katz
1 sibling, 0 replies; 3+ messages in thread
From: Bucky Katz @ 2006-11-10 20:46 UTC (permalink / raw)
To: Johan Thorb; +Cc: gdb
"Johan Thorb" <johan.thorb@gmail.com> writes:
> 1) Does GDB 6.5 support mixed ARM v5 and thumb instruction set binaries?
We are using it and it does. However, it has issues with knowing if
the current pc is pointing at arm or thumb code and so can get
confused.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2006-11-10 20:46 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-11-09 15:27 GDB support for mixed ARM9 V5 and thumb code Johan Thorb
2006-11-09 15:31 ` Daniel Jacobowitz
2006-11-10 20:46 ` Bucky Katz
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox