[RFA 09/14] Remove some cleanups from location.c
Simon Marchi
simon.marchi@polymtl.ca
Mon Apr 10 04:43:00 GMT 2017
On 2017-04-08 16:12, Tom Tromey wrote:
> This removes some more cleanups from location.c by using
> unique_xmalloc_ptr.
I was going to ask if you considered using std::string, but when I tried
it I realized the explicit_location class was not ready to receive
std::strings yet. When we get there, I think the
string_to_explicit_location will gain a lot in readability. So given
the circumstances, this patch looks good to me.
Simon
More information about the Gdb-patches
mailing list