diff options
author | Tom Tromey <tom@tromey.com> | 2017-11-11 11:09:52 -0700 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2018-04-05 07:39:34 -0600 |
commit | a5b5adf529fa64391bc1ef733b3e78f15d94c4b9 (patch) | |
tree | 6e9386611a8e13ccbd25c8675a12dfee4bd82da8 /gdb/utils.h | |
parent | 6a307fc5f59179005e070bd5a5a4cf78a9ecefd4 (diff) | |
download | binutils-a5b5adf529fa64391bc1ef733b3e78f15d94c4b9.zip binutils-a5b5adf529fa64391bc1ef733b3e78f15d94c4b9.tar.gz binutils-a5b5adf529fa64391bc1ef733b3e78f15d94c4b9.tar.bz2 |
Make copy_token_string return unique_xmalloc_ptr
This changes copy_token_string to return a unique_xmalloc_ptr, which
allows the removal of some cleanups.
ChangeLog
2018-04-05 Tom Tromey <tom@tromey.com>
* linespec.c (copy_token_string): Return a unique_xmalloc_ptr.
(unexpected_linespec_error): Update.
(linespec_parse_basic, parse_linespec): Update.
Diffstat (limited to 'gdb/utils.h')
0 files changed, 0 insertions, 0 deletions