This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: Fix for PR 10736
- From: Pedro Alves <pedro at codesourcery dot com>
- To: Sergio Durigan Junior <sergiodj at redhat dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Thu, 1 Apr 2010 01:25:05 +0100
- Subject: Re: Fix for PR 10736
- References: <201003292101.48377.sergiodj@redhat.com> <201003301144.25720.pedro@codesourcery.com> <201003311814.43957.sergiodj@redhat.com>
On Wednesday 31 March 2010 22:14:42, Sergio Durigan Junior wrote:
> Sorry, I don't know if I understood. If the datadir doesn't change, the call
> to xstrdup will only be made once (i.e., when `have_initialized_sysinfo' is
> zero). After that, it will never be called again unless datadir changes.
Duh on me, sorry. Patch is okay as is then.
--
Pedro Alves