diff options
author | Tom Tromey <tom@tromey.com> | 2018-05-26 23:34:02 -0600 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2018-07-17 13:21:48 -0600 |
commit | c6c6149af440c3032eb7d02c2852907c61aac470 (patch) | |
tree | c2f5e25dc0448ab794d148ccea81afd71fb0d248 /gdb/ChangeLog | |
parent | a1a31cb8dce7d1bfa7878dc08c28af330ef2ed69 (diff) | |
download | gdb-c6c6149af440c3032eb7d02c2852907c61aac470.zip gdb-c6c6149af440c3032eb7d02c2852907c61aac470.tar.gz gdb-c6c6149af440c3032eb7d02c2852907c61aac470.tar.bz2 |
Return unique_xmalloc_ptr from gdbscm_scm_to_string
This changes gdbscm_scm_to_string to return a unique_xmalloc_ptr and
then fixes all the callers. This allows for the removal of some
cleanups.
gdb/ChangeLog
2018-07-17 Tom Tromey <tom@tromey.com>
* guile/scm-param.c (pascm_set_func, pascm_show_func)
(compute_enum_list, pascm_set_param_value_x)
(gdbscm_parameter_value): Update.
* guile/guile-internal.h (gdbscm_scm_to_string): Update.
(gdbscm_scm_to_host_string): Update.
* guile/scm-math.c (vlscm_convert_typed_value_from_scheme):
Update.
* guile/scm-cmd.c (cmdscm_add_completion): Update.
* guile/scm-pretty-print.c (ppscm_print_string_repr): Update.
* guile/scm-string.c (gdbscm_scm_to_string): Return
unique_xmalloc_ptr.
(gdbscm_scm_to_host_string): Likewise.
Diffstat (limited to 'gdb/ChangeLog')
-rw-r--r-- | gdb/ChangeLog | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index a9bee59..7e7f88a 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,20 @@ 2018-07-17 Tom Tromey <tom@tromey.com> + * guile/scm-param.c (pascm_set_func, pascm_show_func) + (compute_enum_list, pascm_set_param_value_x) + (gdbscm_parameter_value): Update. + * guile/guile-internal.h (gdbscm_scm_to_string): Update. + (gdbscm_scm_to_host_string): Update. + * guile/scm-math.c (vlscm_convert_typed_value_from_scheme): + Update. + * guile/scm-cmd.c (cmdscm_add_completion): Update. + * guile/scm-pretty-print.c (ppscm_print_string_repr): Update. + * guile/scm-string.c (gdbscm_scm_to_string): Return + unique_xmalloc_ptr. + (gdbscm_scm_to_host_string): Likewise. + +2018-07-17 Tom Tromey <tom@tromey.com> + * guile/guile.c (gdbscm_eval_from_control_command): Update. * guile/guile-internal.h (gdbscm_safe_eval_string): Update. * guile/scm-objfile.c (gdbscm_execute_objfile_script): Update. |