* disasm.c (gdb_disassemble_info): Initialize disassemble_info
authorIan Lance Taylor <ian@airs.com>
Thu, 22 May 2003 23:00:15 +0000 (23:00 +0000)
committerIan Lance Taylor <ian@airs.com>
Thu, 22 May 2003 23:00:15 +0000 (23:00 +0000)
with fprintf_filtered, not fprintf_unfiltered.

gdb/ChangeLog
gdb/disasm.c

index 90d2cab8cdba03e611647fe2c2b754aaf201fce4..d81f24f2656e007ea6bbcf92769eb7cd7b1a0aef 100644 (file)
@@ -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>
 
        * stack.c (frame_info): Inline extract_address, replacing it with
index c8a2029bae8ed31858435bc888b80d9929809c90..553ca1cfc00097f415dc4908baf570ee7d05ad32 100644 (file)
@@ -315,7 +315,7 @@ gdb_disassemble_info (struct gdbarch *gdbarch, struct ui_file *file)
 {
   disassemble_info di;
   INIT_DISASSEMBLE_INFO_NO_ARCH (di, file,
-                                (fprintf_ftype) fprintf_unfiltered);
+                                (fprintf_ftype) fprintf_filtered);
   di.flavour = bfd_target_unknown_flavour;
   di.memory_error_func = dis_asm_memory_error;
   di.print_address_func = dis_asm_print_address;