+2002-11-04 Elena Zannoni <ezannoni@redhat.com>
+
+ * interps.h (gdb_interpreter_is_quiet_p): Rename from
+ gdb_interpreter_is_quiet.
+ * cli/cli-interp.c (cli_interpreter_display_prompt_p): Call
+ gdb_interpreter_is_quiet_p.
+ * interps.c (gdb_interpreter_is_quiet_p): Rename from
+ gdb_interpreter_is_quiet.
+ (gdb_set_interpreter): Call gdb_interpreter_is_quiet_p.
+
2002-11-04 Elena Zannoni <ezannoni@redhat.com>
* event-top.c (display_gdb_prompt): Use
* interps.c (gdb_new_interpreter): Initialize prompt_proc_p
instead of prompt_proc.
(gdb_interpreter_display_prompt_p): Rewrite as a predicate.
+ (gdb_interpreter_is_quiet_p): Rename from gdb_interpreter_is_quiet.
+ (gdb_set_interpreter): Call gdb_interpreter_is_quiet_p.
+
* interps.h (interp_prompt_ftype): Update typedef.
(struct gdb_interpreter_procs): Rename prompt_proc to
prompt_proc_p.
if (!first_time)
{
- if (!gdb_interpreter_is_quiet (interp))
+ if (!gdb_interpreter_is_quiet_p (interp))
{
sprintf (buffer, "Switching to interpreter \"%.24s\".\n",
interp->name);
}
int
-gdb_interpreter_is_quiet (struct gdb_interpreter *interp)
+gdb_interpreter_is_quiet_p (struct gdb_interpreter *interp)
{
if (interp != NULL)
return interp->quiet_p;
extern int gdb_interpreter_display_prompt_p (void);
extern int gdb_interpreter_set_quiet (struct gdb_interpreter *interp,
int quiet);
-extern int gdb_interpreter_is_quiet (struct gdb_interpreter *interp);
+extern int gdb_interpreter_is_quiet_p (struct gdb_interpreter *interp);
extern struct gdb_interpreter_procs *gdb_interpreter_get_procs (struct
gdb_interpreter
*interp);