* m68hc11-tdep.c (_initialize_m68hc11_tdep): Don't set tm_print_insn.
(m68hc11_gdbarch_init): But use set_gdbarch_print_insn instead.
This commit is contained in:
parent
022cafefa1
commit
70ed877417
2 changed files with 7 additions and 3 deletions
|
@ -1,3 +1,8 @@
|
|||
2002-03-06 Stephane Carrez <Stephane.Carrez@worldnet.fr>
|
||||
|
||||
* m68hc11-tdep.c (_initialize_m68hc11_tdep): Don't set tm_print_insn.
|
||||
(m68hc11_gdbarch_init): But use set_gdbarch_print_insn instead.
|
||||
|
||||
2002-03-06 Andrew Cagney <ac131313@redhat.com>
|
||||
|
||||
* cli/cli-decode.c (set_cmd_completer): New function.
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/* Target-dependent code for Motorola 68HC11 & 68HC12
|
||||
Copyright 1999, 2000, 2001 Free Software Foundation, Inc.
|
||||
Copyright 1999, 2000, 2001, 2002 Free Software Foundation, Inc.
|
||||
Contributed by Stephane Carrez, stcarrez@worldnet.fr
|
||||
|
||||
This file is part of GDB.
|
||||
|
@ -1155,6 +1155,7 @@ m68hc11_gdbarch_init (struct gdbarch_info info,
|
|||
set_gdbarch_function_start_offset (gdbarch, 0);
|
||||
set_gdbarch_breakpoint_from_pc (gdbarch, m68hc11_breakpoint_from_pc);
|
||||
set_gdbarch_stack_align (gdbarch, m68hc11_stack_align);
|
||||
set_gdbarch_print_insn (gdbarch, gdb_print_insn_m68hc11);
|
||||
|
||||
set_gdbarch_believe_pcc_promotion (gdbarch, 1);
|
||||
|
||||
|
@ -1166,8 +1167,6 @@ _initialize_m68hc11_tdep (void)
|
|||
{
|
||||
register_gdbarch_init (bfd_arch_m68hc11, m68hc11_gdbarch_init);
|
||||
register_gdbarch_init (bfd_arch_m68hc12, m68hc11_gdbarch_init);
|
||||
if (!tm_print_insn) /* Someone may have already set it */
|
||||
tm_print_insn = gdb_print_insn_m68hc11;
|
||||
|
||||
add_com ("regs", class_vars, show_regs, "Print all registers");
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue