mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-03 04:12:10 +08:00
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.
This commit is contained in:
parent
5cc7c785d2
commit
30e28a0e4b
@ -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,
|
||||
|
@ -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))
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user