From 5512c44af40f8b51a80746e04f218baf22f63134 Mon Sep 17 00:00:00 2001 From: Joel Brobecker Date: Fri, 8 Nov 2002 17:34:31 +0000 Subject: [PATCH] * 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. --- gdb/ChangeLog | 6 ++++++ gdb/i386-tdep.c | 2 +- gdb/i386-tdep.h | 1 + 3 files changed, 8 insertions(+), 1 deletion(-) 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); -- 2.30.2