X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=gdb%2Fi386ly-tdep.c;h=92b544deabd60f71e30acbd676036148b457cef8;hb=dbbd9c57ff004955375f214b66a29cd0abf101fd;hp=1b011212824983a7327b5569c4e575b703b5d35b;hpb=30727aa6d12fb866494020c0b62ab265a2bdcdfe;p=deliverable%2Fbinutils-gdb.git diff --git a/gdb/i386ly-tdep.c b/gdb/i386ly-tdep.c index 1b01121282..92b544deab 100644 --- a/gdb/i386ly-tdep.c +++ b/gdb/i386ly-tdep.c @@ -1,5 +1,5 @@ /* Target-dependent code for Intel 386 running LynxOS. - Copyright 1993 Free Software Foundation, Inc. + Copyright 1993, 1996, 2000, 2001 Free Software Foundation, Inc. This file is part of GDB. @@ -22,6 +22,7 @@ #include "inferior.h" #include "target.h" #include "gdbcore.h" +#include "regcache.h" /* Return the PC of the caller from the call frame. Assumes the subr prologue has already been executed, and the frame pointer setup. If this is the @@ -30,8 +31,7 @@ system calls use a different calling sequence. */ CORE_ADDR -i386lynx_saved_pc_after_call (frame) - struct frame_info *frame; +i386lynx_saved_pc_after_call (struct frame_info *frame) { char opcode[7]; static const unsigned char call_inst[] =