This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [RFA] Use gdb::unique_xmalloc_ptr when calling tilde_expand


On 2017-08-04 19:13, Tom Tromey wrote:
Simon> There is still a cleanup in reload_shared_libraries_1, so I don't
Simon> think the do_cleanups should be removed.

Ugh, sorry about that.

That code is duplicating the bfd's file name.  But I can't see why
that's important.  I think just removing the xstrdup and the
make_cleanup is the right thing to do here.  What do you think?

Tom

I don't see any reason either.

Simon


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]