+Sun Sep 25 23:19:58 1994 Jeff Law (law@snake.cs.utah.edu)
+
+ * hppa-tdep.c (frame_saved_pc): Fix thinko in code to dig saved pc
+ out of an interrupt frame.
+
Sun Sep 25 12:50:17 1994 Stan Shebs (shebs@andros.cygnus.com)
* infcmd.c (do_registers_info) [INVALID_FLOAT]: Only use if
fi = get_frame_info (frame->next);
get_frame_saved_regs (fi, &saved_regs);
- if (read_memory_integer (saved_regs.regs[FLAGS_REGNUM] & 0x2, 4))
+ if (read_memory_integer (saved_regs.regs[FLAGS_REGNUM], 4) & 0x2)
pc = read_memory_integer (saved_regs.regs[31], 4) & ~0x3;
else
pc = read_memory_integer (saved_regs.regs[RP_REGNUM], 4) & ~0x3;
fi = get_frame_info (frame->next);
get_frame_saved_regs (fi, &saved_regs);
- if (read_memory_integer (saved_regs.regs[FLAGS_REGNUM] & 0x2, 4))
+ if (read_memory_integer (saved_regs.regs[FLAGS_REGNUM], 4) & 0x2)
pc = read_memory_integer (saved_regs.regs[31], 4) & ~0x3;
else
pc = read_memory_integer (saved_regs.regs[RP_REGNUM], 4) & ~0x3;