2009-02-04 Tristan Gingold <gingold@adacore.com>
authorTristan Gingold <gingold@adacore.com>
Wed, 4 Feb 2009 14:49:41 +0000 (14:49 +0000)
committerTristan Gingold <gingold@adacore.com>
Wed, 4 Feb 2009 14:49:41 +0000 (14:49 +0000)
* i386-tdep.c (i386_sigtramp_p): Make it public.
* i386-tdep.h (i386_sigtramp_p): Declare.

gdb/ChangeLog
gdb/i386-tdep.c
gdb/i386-tdep.h

index 1723784d74eb876b9ea2d742b9dcbab9d3cca2ce..de25846a26bf316dfeea4f15813b1571403728eb 100644 (file)
@@ -1,3 +1,8 @@
+2009-02-04  Tristan Gingold  <gingold@adacore.com>
+
+       * i386-tdep.c (i386_sigtramp_p): Make it public.
+       * i386-tdep.h (i386_sigtramp_p): Declare.
+
 2009-02-04  Tristan Gingold  <gingold@adacore.com>
 
        * machoread.c (macho_symfile_read): Read minsymtab also from
index 83e0f50834a6ccafb8af579fdc06c77e8d3eabc1..496c4ff30a8c385f979021b1c14235369dd2ad5c 100644 (file)
@@ -2452,7 +2452,7 @@ i386_pe_skip_trampoline_code (CORE_ADDR pc, char *name)
 /* Return whether the THIS_FRAME corresponds to a sigtramp
    routine.  */
 
-static int
+int
 i386_sigtramp_p (struct frame_info *this_frame)
 {
   CORE_ADDR pc = get_frame_pc (this_frame);
index 64871b9741f70a9d9ea5d2e5c4947fd8da48ea7a..6bebdfca2dfaa25a01bac6b593f3c1002dc17d6c 100644 (file)
@@ -172,6 +172,9 @@ extern struct type *i386_sse_type (struct gdbarch *gdbarch);
 extern CORE_ADDR i386_pe_skip_trampoline_code (CORE_ADDR pc, char *name);
 extern CORE_ADDR i386_skip_main_prologue (struct gdbarch *gdbarch, CORE_ADDR pc);
 
+/* Return whether the THIS_FRAME corresponds to a sigtramp routine.  */
+extern int i386_sigtramp_p (struct frame_info *this_frame);
+
 /* Return the name of register REGNUM.  */
 extern char const *i386_register_name (struct gdbarch * gdbarch, int regnum);