From: Elena Zannoni Date: Wed, 1 Mar 2000 20:20:38 +0000 (+0000) Subject: 2000-03-01 Elena Zannoni X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=30e28a0e4beb1fae729bf1fd8dcce9074e154b3c;p=binutils-gdb.git 2000-03-01 Elena Zannoni * mi-cmd-disas.c (mi_cmd_disassemble): Use ui_out_field_core_addr() instead of print_address_numeric(), to maintain consistency throughout MI. --- diff --git a/gdb/mi/ChangeLog-mi b/gdb/mi/ChangeLog-mi index da6d53ed87c..9a076cb4201 100644 --- a/gdb/mi/ChangeLog-mi +++ b/gdb/mi/ChangeLog-mi @@ -1,3 +1,9 @@ +2000-03-01 Elena Zannoni + + * mi-cmd-disas.c (mi_cmd_disassemble): Use + ui_out_field_core_addr() instead of print_address_numeric(), to + maintain consistency throughout MI. + Wed Feb 23 17:09:39 2000 Andrew Cagney * mi-cmd-break.c, mi-cmd-disas.c, mi-cmd-stack.c, mi-cmd-var.c, diff --git a/gdb/mi/mi-cmd-disas.c b/gdb/mi/mi-cmd-disas.c index 78e33ab7314..11ba7fef5c6 100644 --- a/gdb/mi/mi-cmd-disas.c +++ b/gdb/mi/mi-cmd-disas.c @@ -418,8 +418,7 @@ mi_cmd_disassemble (char *command, char **argv, int argc) num_displayed++; } ui_out_list_begin (uiout, NULL); - print_address_numeric (pc, 1, stb->stream); - ui_out_field_stream (uiout, "address", stb); + ui_out_field_core_addr (uiout, "address", pc); if (!build_address_symbolic (pc, 0, &name, &offset, &filename, &line, &unmapped)) { @@ -467,8 +466,7 @@ mi_cmd_disassemble (char *command, char **argv, int argc) num_displayed++; } ui_out_list_begin (uiout, NULL); - print_address_numeric (pc, 1, stb->stream); - ui_out_field_stream (uiout, "address", stb); + ui_out_field_core_addr (uiout, "address", pc); if (!build_address_symbolic (pc, 0, &name, &offset, &filename, &line, &unmapped)) {