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: Yao Qi <yao at codesourcery dot com>
- To: <gdb-patches at sourceware dot org>
- Date: Wed, 2 Oct 2013 10:13:31 +0800
- 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>
On 09/16/2013 09:13 PM, Yao Qi wrote:
2013-09-16 Yao Qi<yao@codesourcery.com>
* varobj.c (create_child_with_value): Remove 'const' from the
type of parameter 'name'.
(varobj_add_child): Likewise.
(install_dynamic_child): Remove 'const' from the type of
parameter 'name'.
(varobj_add_child): Likewise.
(create_child_with_value): Likewise. Update comments. Don't
duplicate 'name'.
(update_dynamic_varobj_children): Duplicate 'name'
and pass it to install_dynamic_child.
Ping. https://sourceware.org/ml/gdb-patches/2013-09/msg00442.html
--
Yao (éå)