diff options
Diffstat (limited to 'gdb/i386-tdep.c')
-rw-r--r-- | gdb/i386-tdep.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/gdb/i386-tdep.c b/gdb/i386-tdep.c index 9b4c93e..ee9f601 100644 --- a/gdb/i386-tdep.c +++ b/gdb/i386-tdep.c @@ -3000,10 +3000,6 @@ i386_record_lea_modrm_addr (struct i386_record_s *irp, uint64_t *addr) if (irp->regmap[X86_RECORD_R8_REGNUM] && !havesib) *addr += irp->addr + irp->rip_offset; } - else - { - *addr = 0; - } break; case 1: if (target_read_memory (irp->addr, buf, 1)) @@ -3077,10 +3073,6 @@ i386_record_lea_modrm_addr (struct i386_record_s *irp, uint64_t *addr) irp->rm = 0; goto no_rm; } - else - { - *addr = 0; - } break; case 1: if (target_read_memory (irp->addr, buf, 1)) |