This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: Fix for PR 10736
- From: Sergio Durigan Junior <sergiodj at redhat dot com>
- To: Pedro Alves <pedro at codesourcery dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Mon, 5 Apr 2010 12:59:28 -0300
- Subject: Re: Fix for PR 10736
- References: <201003292101.48377.sergiodj@redhat.com> <201003311814.43957.sergiodj@redhat.com> <201004010125.05707.pedro@codesourcery.com>
On Wednesday 31 March 2010 21:25:05, Pedro Alves wrote:
> 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.
Sorry for the delay. Commited now.
Thanks,
--
Sergio Durigan Junior
Debugger Engineer
Red Hat Inc.