2009-02-04 Tristan Gingold <gingold@adacore.com>

* i386-tdep.c (i386_sigtramp_p): Make it public.
	* i386-tdep.h (i386_sigtramp_p): Declare.
This commit is contained in:
Tristan Gingold 2009-02-04 14:49:41 +00:00
parent 4aa99a8802
commit 4bd207efc8
3 changed files with 9 additions and 1 deletions

View 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

View 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);

View 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);