* alpha-tdep.c (alpha_register_name): Use ARRAY_SIZE.
authorMark Kettenis <kettenis@gnu.org>
Thu, 4 Jan 2007 20:49:28 +0000 (20:49 +0000)
committerMark Kettenis <kettenis@gnu.org>
Thu, 4 Jan 2007 20:49:28 +0000 (20:49 +0000)
commite8d2d628246417f4b25e4fcf1961c9930fca276e
treefc6e330c08cce98ff50fcb198db73d3b097cd63a
parent381bc39bef1c385aedff99db5d9eca044365670f
* alpha-tdep.c (alpha_register_name): Use ARRAY_SIZE.
(alpha_read_insn, alpha_skip_prologue, alpha_heuristic_proc_start)
(alpha_heuristic_frame_unwind_cache, alpha_next_pc)
(alpha_gdbarch_init): Use ALPHA_INSN_SIZE, ALPHA_REGISTER_SIZE and
sizeof, instead of hardcoded constants.
gdb/ChangeLog
gdb/alpha-tdep.c