This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFC] varobj deletion after the binary has changed
I haven't looked at the patch yet, just Nick's comments, which I
generally agree with :-)
On Fri, Jan 26, 2007 at 11:31:35AM +1300, Nick Roberts wrote:
> Is xstrdup just a simpler version of savestring? i.e.
>
> tmp_var->obj_name = xstrdup (*varp)->obj_name);
Yes - savestring is handy for saving only part of a string but xstrdup
is clearer.
--
Daniel Jacobowitz
CodeSourcery