aboutsummaryrefslogtreecommitdiff
path: root/gdb/gdbtk.c
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1996-07-26 18:10:18 +0000
committerIan Lance Taylor <ian@airs.com>1996-07-26 18:10:18 +0000
commitcaeec767909adec58f8319a5cad93fe8925235ad (patch)
treeb65efbf80b006f9cf171ade0790794729c30ab06 /gdb/gdbtk.c
parentd24728a8b807e91ecf8c6c956a1907e0c275cd33 (diff)
downloadgdb-caeec767909adec58f8319a5cad93fe8925235ad.zip
gdb-caeec767909adec58f8319a5cad93fe8925235ad.tar.gz
gdb-caeec767909adec58f8319a5cad93fe8925235ad.tar.bz2
* printcmd.c (_initialize_printcmd): Initialize
tm_print_insn_info.flavour. * gdbtk.c (gdb_disassemble): Initialize di.flavour.
Diffstat (limited to 'gdb/gdbtk.c')
-rw-r--r--gdb/gdbtk.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gdb/gdbtk.c b/gdb/gdbtk.c
index a8193be..b6a2ea7 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;