This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug gdb/10736] GDB doesn't reread the syscall xml when the user changes the data-directory.
- From: "pedro at codesourcery dot com" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: 25 Mar 2010 19:59:46 -0000
- Subject: [Bug gdb/10736] GDB doesn't reread the syscall xml when the user changes the data-directory.
- References: <20091006104010.10736.pedro@codesourcery.com>
- Reply-to: sourceware-bugzilla at sourceware dot org
------- Additional Comments From pedro at codesourcery dot com 2010-03-25 18:34 -------
Subject: Re: GDB doesn't reread the syscall xml when the user changes the data-directory.
On Monday 08 March 2010 04:21:37, sergiodj at redhat dot com wrote:
> The attached patch solves the problem for me. Can you please give it a try and
> see if it is good enough for you?
Awesome, thanks. It works for me. Want to run testsuite,
and post it at gdb-patches@, with ChangeLog?
Minor nit:
you can easily make this:
> + if (my_gdb_datadir)
> + if (strcmp (my_gdb_datadir, gdb_datadir) != 0)
a single if, like so:
if (my_gdb_datadir != NULL && strcmp (my_gdb_datadir, gdb_datadir) != 0)
------- Additional Comments From pedro at codesourcery dot com 2010-03-25 19:59 -------
imalittletest
--
http://sourceware.org/bugzilla/show_bug.cgi?id=10736
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.