Pass fprintf_unfiltered to INIT_DISASSEMBLE_INFO.
* printcmd.c (print_insn): Likewise.
Tue Jan 23 09:00:48 1996 Doug Evans <dje@charmed.cygnus.com>
* 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 <shebs@andros.cygnus.com>
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;