Ulrich Weigand wrote: > Yes, exactly. You'll have to update the list in gdbarch.sh, > and run the script to regenerate gdbarch.c and gdbarch.h. > Ok, here's my first shot at this new approach for writing core files. I had to add a new BFD function (binutils patch is attached as well - I'll submit this to the binutils mailing list later) and I didn't include the fill_register fallbacks in the new implementation. I believe a similar loop could also be used in -tdep.c files to read the core files as well, right? Only wrote the code for ppc, but this could be easily expanded to other archs, adding modifications similar to those I did in ppc-linux-tdep.c. I think this first code is very raw, but I believe we can improve it and use this approach for all archs in the future. Opinions / suggestions? Regards, -- Carlos Eduardo Seo Software Engineer IBM Linux Technology Center