From: David Edelsohn Date: Tue, 23 Jan 1996 23:09:05 +0000 (+0000) Subject: * gdbtk.c (gdb_disassemble): Rework disassemble_info initialization. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=810b984d8070aee6ebf2874c0fc355251acbcd1d;p=binutils-gdb.git * gdbtk.c (gdb_disassemble): Rework disassemble_info initialization. Pass fprintf_unfiltered to INIT_DISASSEMBLE_INFO. * printcmd.c (print_insn): Likewise. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index a0c947f6485..129681a2516 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -28,6 +28,8 @@ Tue Jan 23 13:08:26 1996 Jeffrey A Law (law@cygnus.com) Tue Jan 23 09:00:48 1996 Doug Evans * gdbtk.c (gdb_disassemble): Rework disassemble_info initialization. + Pass fprintf_unfiltered to INIT_DISASSEMBLE_INFO. + * printcmd.c (print_insn): Likewise. Mon Jan 22 16:59:40 1996 Stan Shebs diff --git a/gdb/gdbtk.c b/gdb/gdbtk.c index 3132e9ac7b1..dd99f694427 100644 --- a/gdb/gdbtk.c +++ b/gdb/gdbtk.c @@ -794,8 +794,8 @@ gdb_disassemble (clientData, interp, argc, argv) if (! di_initialized) { - INIT_DISASSEMBLE_INFO (di, gdb_stdout); - di.fprintf_func = (fprintf_ftype) fprintf_unfiltered; + INIT_DISASSEMBLE_INFO (di, gdb_stdout, + (fprintf_ftype) fprintf_unfiltered); di.memory_error_func = dis_asm_memory_error; di.print_address_func = dis_asm_print_address; di_initialized = 1;