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 1723784..de25846 100644 (file)
@@ -1,5 +1,10 @@
 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
        shared libraries.
        (macho_symfile_read): Try to read dwarf2 frame info from main
index 83e0f50..496c4ff 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 64871b9..6bebdfc 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);