* disasm.c (gdb_disassemble_info): Initialize disassemble_info
with fprintf_filtered, not fprintf_unfiltered.
This commit is contained in:
parent
e3e5a4f3c1
commit
3c23e6fb7e
2 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
2003-05-22 Ian Lance Taylor <ian@airs.com>
|
||||||
|
|
||||||
|
* disasm.c (gdb_disassemble_info): Initialize disassemble_info
|
||||||
|
with fprintf_filtered, not fprintf_unfiltered.
|
||||||
|
|
||||||
2003-05-22 Andrew Cagney <cagney@redhat.com>
|
2003-05-22 Andrew Cagney <cagney@redhat.com>
|
||||||
|
|
||||||
* stack.c (frame_info): Inline extract_address, replacing it with
|
* stack.c (frame_info): Inline extract_address, replacing it with
|
||||||
|
|
|
@ -315,7 +315,7 @@ gdb_disassemble_info (struct gdbarch *gdbarch, struct ui_file *file)
|
||||||
{
|
{
|
||||||
disassemble_info di;
|
disassemble_info di;
|
||||||
INIT_DISASSEMBLE_INFO_NO_ARCH (di, file,
|
INIT_DISASSEMBLE_INFO_NO_ARCH (di, file,
|
||||||
(fprintf_ftype) fprintf_unfiltered);
|
(fprintf_ftype) fprintf_filtered);
|
||||||
di.flavour = bfd_target_unknown_flavour;
|
di.flavour = bfd_target_unknown_flavour;
|
||||||
di.memory_error_func = dis_asm_memory_error;
|
di.memory_error_func = dis_asm_memory_error;
|
||||||
di.print_address_func = dis_asm_print_address;
|
di.print_address_func = dis_asm_print_address;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue