aboutsummaryrefslogtreecommitdiff
path: root/gdb/gdbarch.h
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2000-08-11 01:30:11 +0000
committerAndrew Cagney <cagney@redhat.com>2000-08-11 01:30:11 +0000
commit16f33e29665bda543991f02b53da05d7e6486f13 (patch)
tree7e64424379d575a729dac47add70b3eb3532dd4b /gdb/gdbarch.h
parent63872f9d95e101df1f08422179d1d676a2f10b9a (diff)
downloadgdb-16f33e29665bda543991f02b53da05d7e6486f13.zip
gdb-16f33e29665bda543991f02b53da05d7e6486f13.tar.gz
gdb-16f33e29665bda543991f02b53da05d7e6486f13.tar.bz2
Rename gdbarch_update() to gdbarch_update_p()
Diffstat (limited to 'gdb/gdbarch.h')
-rw-r--r--gdb/gdbarch.h12
1 files changed, 7 insertions, 5 deletions
diff --git a/gdb/gdbarch.h b/gdb/gdbarch.h
index 7f713c7..819d85c 100644
--- a/gdb/gdbarch.h
+++ b/gdb/gdbarch.h
@@ -1349,13 +1349,15 @@ extern void gdbarch_free (struct gdbarch *);
architecture manipulation commands.
The INFO parameter shall be fully initialized (``memset (&INFO,
- sizeof (info), 0)'' set relevant fields) before gdbarch_update() is
- called. gdbarch_update() shall initialize any ``default'' fields
- using information obtained from the previous architecture or
+ sizeof (info), 0)'' set relevant fields) before gdbarch_update_p()
+ is called. gdbarch_update_p() shall initialize any ``default''
+ fields using information obtained from the previous architecture or
INFO.ABFD (if specified) before calling the corresponding
- architectures INIT function. */
+ architectures INIT function.
-extern int gdbarch_update (struct gdbarch_info info);
+ Returns non-zero if the update succeeds */
+
+extern int gdbarch_update_p (struct gdbarch_info info);