2005-11-19 Randolph Chung <tausq@debian.org>
* hppa-hpux-tdep.c (hppa_hpux_sigtramp_unwind_sniffer): Rely on the unwind record to determine a signal frame, instead of hardcoding a function name.
This commit is contained in:
parent
c4c79048fa
commit
765697c9ec
|
@ -1,3 +1,9 @@
|
|||
2005-11-19 Randolph Chung <tausq@debian.org>
|
||||
|
||||
* hppa-hpux-tdep.c (hppa_hpux_sigtramp_unwind_sniffer): Rely on the
|
||||
unwind record to determine a signal frame, instead of hardcoding
|
||||
a function name.
|
||||
|
||||
2005-11-19 Randolph Chung <tausq@debian.org>
|
||||
|
||||
* hppa-tdep.c (skip_prologue_hard_way): Add one more insn pattern
|
||||
|
|
|
@ -1246,12 +1246,12 @@ static const struct frame_unwind hppa_hpux_sigtramp_frame_unwind = {
|
|||
static const struct frame_unwind *
|
||||
hppa_hpux_sigtramp_unwind_sniffer (struct frame_info *next_frame)
|
||||
{
|
||||
struct unwind_table_entry *u;
|
||||
CORE_ADDR pc = frame_pc_unwind (next_frame);
|
||||
char *name;
|
||||
|
||||
find_pc_partial_function (pc, &name, NULL, NULL);
|
||||
u = find_unwind_entry (pc);
|
||||
|
||||
if (name && strcmp(name, "_sigreturn") == 0)
|
||||
if (u && u->HP_UX_interrupt_marker)
|
||||
return &hppa_hpux_sigtramp_frame_unwind;
|
||||
|
||||
return NULL;
|
||||
|
|
Loading…
Reference in New Issue