Rename gdbarch_update() to gdbarch_update_p()

This commit is contained in:
Andrew Cagney
2000-08-11 01:30:11 +00:00
parent 63872f9d95
commit 16f33e2966
6 changed files with 44 additions and 18 deletions

View File

@@ -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);