diff options
author | Tristan Gingold <gingold@adacore.com> | 2009-02-04 14:49:41 +0000 |
---|---|---|
committer | Tristan Gingold <gingold@adacore.com> | 2009-02-04 14:49:41 +0000 |
commit | 4bd207efc80f5bf13bb831a463167c9688ac05ff (patch) | |
tree | d57bb791c55f7352d7d4630a6a812a10698bae8e /gdb | |
parent | 4aa99a8802b53703f7ca91e40b4fe61b4c690fc7 (diff) | |
download | gdb-4bd207efc80f5bf13bb831a463167c9688ac05ff.zip gdb-4bd207efc80f5bf13bb831a463167c9688ac05ff.tar.gz gdb-4bd207efc80f5bf13bb831a463167c9688ac05ff.tar.bz2 |
2009-02-04 Tristan Gingold <gingold@adacore.com>
* i386-tdep.c (i386_sigtramp_p): Make it public.
* i386-tdep.h (i386_sigtramp_p): Declare.
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/i386-tdep.c | 2 | ||||
-rw-r--r-- | gdb/i386-tdep.h | 3 |
3 files changed, 9 insertions, 1 deletions
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 <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 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); |