GDB for powerpc-eabi under cygwin

Michael Elizabeth Chastain chastain@cygnus.com
Fri Dec 1 13:37:00 GMT 2000


Hello João Cadamuro Junior,

> 1. PowerPC simulator don't work for snapshot 2000-08-16.
> 
> If you compile a simple "Hello Word" for the simulator and try to debug
> it with GDB, you'll be "ejected"...

I ran into the same problem several days ago, and I have analyzed this
bug.  The problem is in sim/ppc/sim_calls.c, functions sim_fetch_register
and sim_store_register.  These functions call the macro REGISTER_NAME,
and a multi-arch change broke REGISTER_NAME in the simulator.

The PowerPC simulator maintainer has sent me a patch to try.  We hope
to fix it in sourceware very soon.

I don't have any help for your other problems, sorry.

Michael Elizabeth Chastain
< mailto:chastain@redhat.com >
"love without fear"


More information about the Gdb mailing list