This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: New ARI warning Wed Jun 4 01:53:01 UTC 2014


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;


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]