aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorJoel Brobecker <brobecker@gnat.com>2002-11-08 17:34:31 +0000
committerJoel Brobecker <brobecker@gnat.com>2002-11-08 17:34:31 +0000
commit5512c44af40f8b51a80746e04f218baf22f63134 (patch)
tree530416decd158b2935461ff88cbfde9a9857bd71 /gdb
parent1b33ef47a1cc476fb4f9d698bf1ad7c576adf409 (diff)
downloadgdb-5512c44af40f8b51a80746e04f218baf22f63134.zip
gdb-5512c44af40f8b51a80746e04f218baf22f63134.tar.gz
gdb-5512c44af40f8b51a80746e04f218baf22f63134.tar.bz2
* 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.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/ChangeLog6
-rw-r--r--gdb/i386-tdep.c2
-rw-r--r--gdb/i386-tdep.h1
3 files changed, 8 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index e264cd5..ac3b34a 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,9 @@
+2002-11-08 Joel Brobecker <brobecker@gnat.com>
+
+ * 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 <ac131313@redhat.com>
* i386-tdep.h (i386_linux_orig_eax_regnum_p): Delete stray
diff --git a/gdb/i386-tdep.c b/gdb/i386-tdep.c
index 9066a1c..3c12c70 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 09e62c5..14856c7 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);