diff options
author | Andrew Cagney <cagney@redhat.com> | 2002-11-03 00:30:33 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2002-11-03 00:30:33 +0000 |
commit | 7e20f3fbea227e1bc203ccb5d9602a7d3fda4a08 (patch) | |
tree | ddca0a0c15804a4e37399248d8a3bb3115bddb62 | |
parent | f9712b716ccf0b57b00b734a87d47e6a1fd5394a (diff) | |
download | ppe42-binutils-7e20f3fbea227e1bc203ccb5d9602a7d3fda4a08.tar.gz ppe42-binutils-7e20f3fbea227e1bc203ccb5d9602a7d3fda4a08.zip |
2002-11-02 Andrew Cagney <ac131313@redhat.com>
* gdbarch.sh (register_reggroup_p): Allow default value.
* gdbarch.h, gdbarch.c: Regenerate.
-rw-r--r-- | gdb/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/gdbarch.c | 4 | ||||
-rwxr-xr-x | gdb/gdbarch.sh | 2 |
3 files changed, 7 insertions, 4 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 35999484b8..aa2484d0b3 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,10 @@ 2002-11-02 Andrew Cagney <ac131313@redhat.com> + * gdbarch.sh (register_reggroup_p): Allow default value. + * gdbarch.h, gdbarch.c: Regenerate. + +2002-11-02 Andrew Cagney <ac131313@redhat.com> + * regcache.h: Add coment indicating replacements for deprecated functions. diff --git a/gdb/gdbarch.c b/gdb/gdbarch.c index 0e438f377e..eaa7c47b25 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 1dd29f2ccb..4ed80c3572 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 } |