mirror of
https://github.com/darlinghq/darling-gdb.git
synced 2024-11-28 06:20:30 +00:00
* cris-tdep.c (crisv32_single_step_through_delay): Get this frame's
register, not the previous frame's.
This commit is contained in:
parent
8340a3fbbe
commit
395f2fc22d
@ -1,3 +1,8 @@
|
||||
2008-06-30 Daniel Jacobowitz <dan@codesourcery.com>
|
||||
|
||||
* cris-tdep.c (crisv32_single_step_through_delay): Get this frame's
|
||||
register, not the previous frame's.
|
||||
|
||||
2008-06-30 Luis Machado <luisgpm@br.ibm.com>
|
||||
|
||||
* source.c (select_source_symtab): Make sure we skip namespace
|
||||
|
@ -474,18 +474,11 @@ crisv32_single_step_through_delay (struct gdbarch *gdbarch,
|
||||
struct gdbarch_tdep *tdep = gdbarch_tdep (gdbarch);
|
||||
ULONGEST erp;
|
||||
int ret = 0;
|
||||
char buf[4];
|
||||
|
||||
if (cris_mode () == cris_mode_guru)
|
||||
{
|
||||
frame_unwind_register (this_frame, NRP_REGNUM, buf);
|
||||
}
|
||||
erp = get_frame_register_unsigned (this_frame, NRP_REGNUM);
|
||||
else
|
||||
{
|
||||
frame_unwind_register (this_frame, ERP_REGNUM, buf);
|
||||
}
|
||||
|
||||
erp = extract_unsigned_integer (buf, 4);
|
||||
erp = get_frame_register_unsigned (this_frame, ERP_REGNUM);
|
||||
|
||||
if (erp & 0x1)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user