aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>2003-05-22 23:00:15 +0000
committerIan Lance Taylor <ian@airs.com>2003-05-22 23:00:15 +0000
commit3c23e6fb7e41ca97c5e25921080f61b1be84d461 (patch)
treeea4e084c529108e221742ef5379ad07f97a14e6c /gdb
parente3e5a4f3c16729c16ee413e6fedb36411e8c6e28 (diff)
downloadgdb-3c23e6fb7e41ca97c5e25921080f61b1be84d461.zip
gdb-3c23e6fb7e41ca97c5e25921080f61b1be84d461.tar.gz
gdb-3c23e6fb7e41ca97c5e25921080f61b1be84d461.tar.bz2
* disasm.c (gdb_disassemble_info): Initialize disassemble_info
with fprintf_filtered, not fprintf_unfiltered.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/disasm.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 90d2cab..d81f24f 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -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
diff --git a/gdb/disasm.c b/gdb/disasm.c
index c8a2029..553ca1c 100644
--- a/gdb/disasm.c
+++ b/gdb/disasm.c
@@ -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;