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]
Other format: [Raw text]

How to disable Altivec registers in powerpc GDB ?

I've built gdb 6.9 using --target=powerpc-eabi

gdb appears to think that my target has the altivec vector registers,
although it does not. It is a Freescale MPC5xxx embedded part.

e.g. when trying to debug the embedded target via Eclipse, I'm seeing

The target doesn't have that many registers and the remote debugger
returns an error code and drops the gdb connection if any are accessed.
I'd like gdb to only report the basic 32 GPRs and 8 specials.

I've searched online a fair bit and through the archives of this mailing
list without finding any obvious solutions.

The source appears to make reference to gdbarch determining whether
these features are enabled or not but I don't know how to use it.

I built the .elf file I'm debugging using gcc - are there any flag that
I should have set there that determine the vector register ABI that are
then used by gdb?

Any help appreciated.


James Murray

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