mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-11-27 03:51:15 +08:00
2003-04-13 Andrew Cagney <cagney@redhat.com>
* reggroups.c (default_register_reggroup_p): Use NUM_REGS instead of gdbarch_num_regs.
This commit is contained in:
parent
80d35d9032
commit
9b5e151c9d
@ -1,3 +1,8 @@
|
||||
2003-04-13 Andrew Cagney <cagney@redhat.com>
|
||||
|
||||
* reggroups.c (default_register_reggroup_p): Use NUM_REGS instead
|
||||
of gdbarch_num_regs.
|
||||
|
||||
2003-04-13 Andrew Cagney <cagney@redhat.com>
|
||||
|
||||
* frame.h: Mention what replaced what in "struct frame_info".
|
||||
|
@ -149,7 +149,9 @@ default_register_reggroup_p (struct gdbarch *gdbarch, int regnum,
|
||||
return 1;
|
||||
vector_p = TYPE_VECTOR (register_type (gdbarch, regnum));
|
||||
float_p = TYPE_CODE (register_type (gdbarch, regnum)) == TYPE_CODE_FLT;
|
||||
raw_p = regnum < gdbarch_num_regs (gdbarch);
|
||||
/* FIXME: cagney/2003-04-13: Can't yet use gdbarch_num_regs
|
||||
(gdbarch), as not all architectures are multi-arch. */
|
||||
raw_p = regnum < NUM_REGS;
|
||||
if (group == float_reggroup)
|
||||
return float_p;
|
||||
if (group == vector_reggroup)
|
||||
|
Loading…
Reference in New Issue
Block a user