Rename parameter of create_ada_exception_catchpoint

create_ada_exception_catchpoint has a parameter named "disabled", but
both its callers and callees use it to mean "enabled".  This is
confusing, so this patch renames the parameter.
This commit is contained in:
Tom Tromey
2023-02-16 10:27:26 -07:00
parent 16b84b6599
commit 12d67b37cd
2 changed files with 3 additions and 3 deletions

View File

@ -342,7 +342,7 @@ extern const char *ada_main_name ();
extern void create_ada_exception_catchpoint
(struct gdbarch *gdbarch, enum ada_exception_catchpoint_kind ex_kind,
const std::string &excep_string, const std::string &cond_string, int tempflag,
int disabled, int from_tty);
int enabled, int from_tty);
/* Return true if BP is an Ada catchpoint. */