* printcmd.c (_initialize_printcmd): Initialize
authorIan Lance Taylor <ian@airs.com>
Fri, 26 Jul 1996 18:10:18 +0000 (18:10 +0000)
committerIan Lance Taylor <ian@airs.com>
Fri, 26 Jul 1996 18:10:18 +0000 (18:10 +0000)
tm_print_insn_info.flavour.
* gdbtk.c (gdb_disassemble): Initialize di.flavour.

gdb/ChangeLog
gdb/gdbtk.c

index 11bb2dd28b1e0028b0940a399c229205260a75a2..a0944df167f580c5c0c9af472e874e87add608c6 100644 (file)
@@ -1,3 +1,9 @@
+Fri Jul 26 14:07:37 1996  Ian Lance Taylor  <ian@cygnus.com>
+
+       * 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  <fnf@cygnus.com>
 
        * Makefile.in (scm-valprint.o): Depends upon gdbcore_h.
index a8193be9b8abeb3917dedb77b601f943522938db..b6a2ea70582093273bd03e96b46aaa4b4a6cd707 100644 (file)
@@ -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;