From: Andrew Cagney Date: Sun, 3 Nov 2002 00:30:33 +0000 (+0000) Subject: 2002-11-02 Andrew Cagney X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=7e20f3fbea227e1bc203ccb5d9602a7d3fda4a08;p=binutils-gdb.git 2002-11-02 Andrew Cagney * gdbarch.sh (register_reggroup_p): Allow default value. * gdbarch.h, gdbarch.c: Regenerate. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 35999484b8d..aa2484d0b3e 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2002-11-02 Andrew Cagney + + * gdbarch.sh (register_reggroup_p): Allow default value. + * gdbarch.h, gdbarch.c: Regenerate. + 2002-11-02 Andrew Cagney * regcache.h: Add coment indicating replacements for deprecated diff --git a/gdb/gdbarch.c b/gdb/gdbarch.c index 0e438f377ed..eaa7c47b25c 100644 --- a/gdb/gdbarch.c +++ b/gdb/gdbarch.c @@ -823,9 +823,7 @@ verify_gdbarch (struct gdbarch *gdbarch) /* Skip verify of address_class_type_flags, has predicate */ /* Skip verify of address_class_type_flags_to_name, has predicate */ /* Skip verify of address_class_name_to_type_flags, has predicate */ - if ((GDB_MULTI_ARCH > GDB_MULTI_ARCH_PARTIAL) - && (gdbarch->register_reggroup_p == default_register_reggroup_p)) - fprintf_unfiltered (log, "\n\tregister_reggroup_p"); + /* Skip verify of register_reggroup_p, invalid_p == 0 */ buf = ui_file_xstrdup (log, &dummy); make_cleanup (xfree, buf); if (strlen (buf) > 0) diff --git a/gdb/gdbarch.sh b/gdb/gdbarch.sh index 1dd29f2ccbf..4ed80c35724 100755 --- a/gdb/gdbarch.sh +++ b/gdb/gdbarch.sh @@ -668,7 +668,7 @@ F:2:ADDRESS_CLASS_TYPE_FLAGS:int:address_class_type_flags:int byte_size, int dwa M:2:ADDRESS_CLASS_TYPE_FLAGS_TO_NAME:char *:address_class_type_flags_to_name:int type_flags:type_flags: M:2:ADDRESS_CLASS_NAME_TO_TYPE_FLAGS:int:address_class_name_to_type_flags:char *name, int *type_flags_ptr:name, type_flags_ptr # Is a register in a group -m:::int:register_reggroup_p:int regnum, struct reggroup *reggroup:regnum, reggroup:::default_register_reggroup_p +m:::int:register_reggroup_p:int regnum, struct reggroup *reggroup:regnum, reggroup:::default_register_reggroup_p::0 EOF }