This is the mail archive of the gdb@sources.redhat.com 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]

Re: GDB for powerpc-eabi under cygwin


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"

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