[RFA] Fix recent compilation errors in alpha-nat.c on alpha-osf

Jason R Thorpe thorpej@wasabisystems.com
Mon Apr 22 08:49:00 GMT 2002


On Mon, Apr 22, 2002 at 03:42:34PM +0200, Joel Brobecker wrote:

 > I tested the following change on Tru64 5.1. I made the small change
 > possible to allow this code to compile again, there is probably a better
 > way to write this code, but I'm not very familiar with this part of the
 > code...
 > 
 > Ideas for a better fix are welcome.

"Oops!"

Try including "alpha-tdep.h" and using ALPHA_NUM_REGS and
ALPHA_MAX_REGISTER_RAW_SIZE; this is how I changed it in
other places in the Alpha target code.

-- 
        -- Jason R. Thorpe <thorpej@wasabisystems.com>



More information about the Gdb-patches mailing list