2000-03-01 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
authorElena Zannoni <ezannoni@kwikemart.cygnus.com>
Wed, 1 Mar 2000 20:20:38 +0000 (20:20 +0000)
committerElena Zannoni <ezannoni@kwikemart.cygnus.com>
Wed, 1 Mar 2000 20:20:38 +0000 (20:20 +0000)
* mi-cmd-disas.c (mi_cmd_disassemble): Use
  ui_out_field_core_addr() instead of print_address_numeric(), to
  maintain consistency throughout MI.

gdb/mi/ChangeLog-mi
gdb/mi/mi-cmd-disas.c

index da6d53ed87c391d086f88e26deabfcb5e562ca87..9a076cb420191e3988ca7e1d018a01acb30d8a13 100644 (file)
@@ -1,3 +1,9 @@
+2000-03-01  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
+
+       * 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  <cagney@b1.cygnus.com>
 
        * mi-cmd-break.c, mi-cmd-disas.c, mi-cmd-stack.c, mi-cmd-var.c,
index 78e33ab7314f246fa3dafc59472187ad9d4ffea0..11ba7fef5c66d302caed47414afe66f43d3717aa 100644 (file)
@@ -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))
            {