aboutsummaryrefslogtreecommitdiff
path: root/gdb/disasm.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/disasm.c')
-rw-r--r--gdb/disasm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/disasm.c b/gdb/disasm.c
index 5e1dd6e..e2b4fd639 100644
--- a/gdb/disasm.c
+++ b/gdb/disasm.c
@@ -247,7 +247,7 @@ gdb_pretty_print_disassembler::pretty_print_insn (struct ui_out *uiout,
uiout->field_string ("func-name", name.c_str (),
ui_out_style_kind::FUNCTION);
uiout->text ("+");
- uiout->field_int ("offset", offset);
+ uiout->field_signed ("offset", offset);
uiout->text (">:\t");
}
else