This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: New ARI warning Wed Jun 4 01:53:01 UTC 2014
- From: Doug Evans <xdje42 at gmail dot com>
- To: gdb-patches at sourceware dot org
- Date: Tue, 03 Jun 2014 20:39:32 -0700
- Subject: Re: New ARI warning Wed Jun 4 01:53:01 UTC 2014
- Authentication-results: sourceware.org; auth=none
- References: <20140604015301 dot GA17081 at sourceware dot org>
GDB Administrator <gdbadmin@sourceware.org> writes:
> 260a261,262
>> gdb/guile/scm-param.c:178: regression: var_boolean: Replace var_boolean with add_setshow_boolean_cmd
> gdb/guile/scm-param.c:178: p_smob->type = var_boolean;
>> gdb/guile/scm-param.c:852: regression: var_boolean: Replace var_boolean with add_setshow_boolean_cmd
> gdb/guile/scm-param.c:852: int param_type = var_boolean;
Hi.
I applied this patch.
2014-06-03 Doug Evans <xdje42@gmail.com>
* guile/scm-param.c (pascm_make_param_smob): Add ARI comment.
(gdbscm_make_parameter): Ditto.
diff --git a/gdb/guile/scm-param.c b/gdb/guile/scm-param.c
index ab2efd1..5bfb4ae 100644
--- a/gdb/guile/scm-param.c
+++ b/gdb/guile/scm-param.c
@@ -175,7 +175,7 @@ pascm_make_param_smob (void)
memset (p_smob, 0, sizeof (*p_smob));
p_smob->cmd_class = no_class;
- p_smob->type = var_boolean;
+ p_smob->type = var_boolean; /* ARI: var_boolean */
p_smob->set_func = SCM_BOOL_F;
p_smob->show_func = SCM_BOOL_F;
p_scm = scm_new_smob (parameter_smob_tag, (scm_t_bits) p_smob);
@@ -849,7 +849,7 @@ gdbscm_make_parameter (SCM name_scm, SCM rest)
char *s;
char *name;
int cmd_class = no_class;
- int param_type = var_boolean;
+ int param_type = var_boolean; /* ARI: var_boolean */
SCM enum_list_scm = SCM_BOOL_F;
SCM set_func = SCM_BOOL_F, show_func = SCM_BOOL_F;
char *doc = NULL, *set_doc = NULL, *show_doc = NULL;