aboutsummaryrefslogtreecommitdiff
path: root/gold
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2018-05-26 23:34:02 -0600
committerTom Tromey <tom@tromey.com>2018-07-17 13:21:48 -0600
commitc6c6149af440c3032eb7d02c2852907c61aac470 (patch)
treec2f5e25dc0448ab794d148ccea81afd71fb0d248 /gold
parenta1a31cb8dce7d1bfa7878dc08c28af330ef2ed69 (diff)
downloadgdb-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 'gold')
0 files changed, 0 insertions, 0 deletions