From caeec767909adec58f8319a5cad93fe8925235ad Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Fri, 26 Jul 1996 18:10:18 +0000 Subject: [PATCH] * printcmd.c (_initialize_printcmd): Initialize tm_print_insn_info.flavour. * gdbtk.c (gdb_disassemble): Initialize di.flavour. --- gdb/ChangeLog | 6 ++++++ gdb/gdbtk.c | 1 + 2 files changed, 7 insertions(+) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 11bb2dd28b1..a0944df167f 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,9 @@ +Fri Jul 26 14:07:37 1996 Ian Lance Taylor + + * printcmd.c (_initialize_printcmd): Initialize + tm_print_insn_info.flavour. + * gdbtk.c (gdb_disassemble): Initialize di.flavour. + Thu Jul 25 19:41:31 1996 Fred Fish * Makefile.in (scm-valprint.o): Depends upon gdbcore_h. diff --git a/gdb/gdbtk.c b/gdb/gdbtk.c index a8193be9b8a..b6a2ea70582 100644 --- a/gdb/gdbtk.c +++ b/gdb/gdbtk.c @@ -930,6 +930,7 @@ gdb_disassemble (clientData, interp, argc, argv) { INIT_DISASSEMBLE_INFO_NO_ARCH (di, gdb_stdout, (fprintf_ftype) fprintf_unfiltered); + di.flavour = bfd_target_unknown_flavour; di.memory_error_func = dis_asm_memory_error; di.print_address_func = dis_asm_print_address; di_initialized = 1; -- 2.30.2