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]

[commit] guile: Fix parameter printing.


Hi.

fyi, I committed this.

2014-07-27  Doug Evans  <xdje42@gmail.com>

	* guile/scm-param.c (pascm_print_param_smob): Fix output.

diff --git a/gdb/guile/scm-param.c b/gdb/guile/scm-param.c
index 5bfb4ae..683ec7d 100644
--- a/gdb/guile/scm-param.c
+++ b/gdb/guile/scm-param.c
@@ -150,7 +150,7 @@ pascm_print_param_smob (SCM self, SCM port, scm_print_state *pstate)
   if (! pascm_is_valid (p_smob))
     scm_puts (" {invalid}", port);
 
-  gdbscm_printf (port, " %s", pascm_param_type_name (p_smob->type));
+  gdbscm_printf (port, " %s ", pascm_param_type_name (p_smob->type));
 
   value = pascm_param_value (p_smob->type, &p_smob->value,
 			     GDBSCM_ARG_NONE, NULL);


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