aboutsummaryrefslogtreecommitdiff
path: root/gdb
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
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')
-rw-r--r--gdb/ChangeLog6
-rw-r--r--gdb/gdbtk.c1
2 files changed, 7 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 11bb2dd..a0944df 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -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.
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;