From: Joel Brobecker Date: Fri, 8 Nov 2002 17:34:31 +0000 (+0000) Subject: * i386-tdep.c (i386_frameless_signal_p): Make non static for X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=5512c44af40f8b51a80746e04f218baf22f63134;p=binutils-gdb.git * i386-tdep.c (i386_frameless_signal_p): Make non static for the benefit of the interix target. * i386-tdep.h (i386_frameless_signal_p): Declare. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index e264cd58bae..ac3b34a529d 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,9 @@ +2002-11-08 Joel Brobecker + + * i386-tdep.c (i386_frameless_signal_p): Make non static for + the benefit of the interix target. + * i386-tdep.h (i386_frameless_signal_p): Declare. + 2002-11-08 Andrew Cagney * i386-tdep.h (i386_linux_orig_eax_regnum_p): Delete stray diff --git a/gdb/i386-tdep.c b/gdb/i386-tdep.c index 9066a1c6bd3..3c12c7003f1 100644 --- a/gdb/i386-tdep.c +++ b/gdb/i386-tdep.c @@ -494,7 +494,7 @@ i386_get_frame_setup (CORE_ADDR pc) /* Return non-zero if we're dealing with a frameless signal, that is, a signal trampoline invoked from a frameless function. */ -static int +int i386_frameless_signal_p (struct frame_info *frame) { return (frame->next && frame->next->signal_handler_caller diff --git a/gdb/i386-tdep.h b/gdb/i386-tdep.h index 09e62c55c0e..14856c71a06 100644 --- a/gdb/i386-tdep.h +++ b/gdb/i386-tdep.h @@ -163,6 +163,7 @@ extern int i386_mxcsr_regnum_p (int regnum); /* Functions exported from i386-tdep.c. */ extern CORE_ADDR i386_pe_skip_trampoline_code (CORE_ADDR pc, char *name); +extern int i386_frameless_signal_p (struct frame_info *frame); /* Return the name of register REG. */ extern char const *i386_register_name (int reg);