This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] Fix FIXME: xstrdup should not be here
- From: Tom Tromey <tromey at redhat dot com>
- To: Yao Qi <yao at codesourcery dot com>
- Cc: Mark Kettenis <mark dot kettenis at xs4all dot nl>, <gdb-patches at sourceware dot org>
- Date: Wed, 02 Oct 2013 14:11:53 -0600
- Subject: Re: [PATCH] Fix FIXME: xstrdup should not be here
- Authentication-results: sourceware.org; auth=none
- References: <1377826046-21218-1-git-send-email-yao at codesourcery dot com> <522E84B9 dot 10502 at codesourcery dot com> <5232B567 dot 9020202 at codesourcery dot com> <201309130752 dot r8D7q1EX023001 at glazunov dot sibelius dot xs4all dot nl> <523703F2 dot 4060100 at codesourcery dot com>
>>>>> "Yao" == Yao Qi <yao@codesourcery.com> writes:
Yao> 2013-09-16 Yao Qi <yao@codesourcery.com>
Yao> * varobj.c (create_child_with_value): Remove 'const' from the
Yao> type of parameter 'name'.
Yao> (varobj_add_child): Likewise.
Yao> (install_dynamic_child): Remove 'const' from the type of
Yao> parameter 'name'.
Yao> (varobj_add_child): Likewise.
Yao> (create_child_with_value): Likewise. Update comments. Don't
Yao> duplicate 'name'.
Yao> (update_dynamic_varobj_children): Duplicate 'name'
Yao> and pass it to install_dynamic_child.
Thanks Yao. This is ok.
Tom