/* Target-dependent code for the S12Z, for the GDB.
- Copyright (C) 2018-2019 Free Software Foundation, Inc.
+ Copyright (C) 2018-2020 Free Software Foundation, Inc.
This file is part of GDB.
return 0;
}
-struct disassemble_info
+static struct disassemble_info
s12z_disassemble_info (struct gdbarch *gdbarch)
{
struct disassemble_info di;
{
struct mem_read_abstraction_base base; /* The parent struct. */
bfd_vma memaddr; /* Where to read from. */
- struct disassemble_info* info; /* The disassember to use for reading. */
+ struct disassemble_info* info; /* The disassembler to use for reading. */
};
/* Advance the reader by one byte. */
set_gdbarch_register_type (gdbarch, s12z_register_type);
frame_unwind_append_unwinder (gdbarch, &s12z_frame_unwind);
- /* Currently, the only known producer for this archtecture, produces buggy
+ /* Currently, the only known producer for this architecture, produces buggy
dwarf CFI. So don't append a dwarf unwinder until the situation is
better understood. */