* printcmd.c (_initialize_printcmd): Initialize
tm_print_insn_info.flavour. * gdbtk.c (gdb_disassemble): Initialize di.flavour.
This commit is contained in:
parent
d24728a8b8
commit
caeec76790
2 changed files with 7 additions and 0 deletions
|
@ -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.
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue