diff options
author | Andrew Burgess <andrew.burgess@embecosm.com> | 2021-05-05 21:39:06 +0100 |
---|---|---|
committer | Andrew Burgess <andrew.burgess@embecosm.com> | 2021-05-07 09:53:50 +0100 |
commit | 9589edb8366d9cf670dbfeeea355337c8b32e6d4 (patch) | |
tree | 42e357cfec744611782cd2798e4a558474704305 /gdb/guile/scm-math.c | |
parent | 4896932e620876a1afa1c9e8d2b8a5e49aa53d53 (diff) | |
download | gdb-9589edb8366d9cf670dbfeeea355337c8b32e6d4.zip gdb-9589edb8366d9cf670dbfeeea355337c8b32e6d4.tar.gz gdb-9589edb8366d9cf670dbfeeea355337c8b32e6d4.tar.bz2 |
gdb/guile: Have gdbscm_safe_source_script return a unique_ptr
Change gdbscm_safe_source_script to return a
gdb::unique_xmalloc_ptr<char> instead of a raw char*. Update the
users of this function.
There should be no user visible change after this commit.
gdb/ChangeLog:
* guile/guile-internal.h (gdbscm_safe_source_script): Change
function return type.
* guile/guile.c (gdbscm_source_script): Update to handle change in
gdbscm_safe_source_script.
* guile/scm-objfile.c (gdbscm_source_objfile_script): Likewise.
* guile/scm-safe-call.c (gdbscm_safe_source_script): Change return
type.
Diffstat (limited to 'gdb/guile/scm-math.c')
0 files changed, 0 insertions, 0 deletions