This is the mail archive of the gdb-prs@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug gdb/10736] GDB doesn't reread the syscall xml when the user changes the data-directory.


------- 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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]