From: Tristan Gingold Date: Wed, 4 Feb 2009 14:49:41 +0000 (+0000) Subject: 2009-02-04 Tristan Gingold X-Git-Tag: sid-snapshot-20090301~206 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=4bd207efc80f5bf13bb831a463167c9688ac05ff;p=external%2Fbinutils.git 2009-02-04 Tristan Gingold * i386-tdep.c (i386_sigtramp_p): Make it public. * i386-tdep.h (i386_sigtramp_p): Declare. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 1723784..de25846 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,10 @@ 2009-02-04 Tristan Gingold + * i386-tdep.c (i386_sigtramp_p): Make it public. + * i386-tdep.h (i386_sigtramp_p): Declare. + +2009-02-04 Tristan Gingold + * machoread.c (macho_symfile_read): Read minsymtab also from shared libraries. (macho_symfile_read): Try to read dwarf2 frame info from main diff --git a/gdb/i386-tdep.c b/gdb/i386-tdep.c index 83e0f50..496c4ff 100644 --- a/gdb/i386-tdep.c +++ b/gdb/i386-tdep.c @@ -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); diff --git a/gdb/i386-tdep.h b/gdb/i386-tdep.h index 64871b9..6bebdfc 100644 --- a/gdb/i386-tdep.h +++ b/gdb/i386-tdep.h @@ -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);