This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [COMMITTED PATCH] Move clear_symtab_users, deduce_language_from_filename decls to better place
- From: Doug Evans <dje at google dot com>
- To: Sergio Durigan Junior <sergiodj at redhat dot com>
- Cc: gdb-patches <gdb-patches at sourceware dot org>
- Date: Fri, 6 Feb 2015 12:20:01 -0800
- Subject: Re: [COMMITTED PATCH] Move clear_symtab_users, deduce_language_from_filename decls to better place
- Authentication-results: sourceware.org; auth=none
- References: <yjt2zj8qj0km dot fsf at ruffy dot mtv dot corp dot google dot com> <87fvai7qic dot fsf at redhat dot com>
On Fri, Feb 6, 2015 at 12:07 PM, Sergio Durigan Junior
<sergiodj@redhat.com> wrote:
>
> On Friday, February 06 2015, Doug Evans wrote:
>
> > Hi.
> >
> > Just some minor cleanup I noticed while hacking on pr 17936.
> >
> > 2015-02-06 Doug Evans <dje@google.com>
> >
> > * symtab.h (clear_symtab_users, deduce_language_from_filename): Move
> > * symfile.h (clear_symtab_users, deduce_language_from_filename): ...
> > to here.
>
> Hey Doug,
>
> Your commit fails to build on Fedora 21:
>
> <http://gdb-build.sergiodj.net/builders/Fedora-x86_64-cc-with-index/builds/172/steps/compile%20gdb/logs/stdio>
>
> Cheers,
Bleah. Fixed, thanks.
Verified builds with --enable-targets=all.
2015-02-06 Doug Evans <dje@google.com>
* remote-m32r-sdi.c: Include symfile.h.
diff --git a/gdb/remote-m32r-sdi.c b/gdb/remote-m32r-sdi.c
index 6052386..c55b75c 100644
--- a/gdb/remote-m32r-sdi.c
+++ b/gdb/remote-m32r-sdi.c
@@ -40,7 +40,7 @@
#include <time.h>
#include "gdb_bfd.h"
#include "cli/cli-utils.h"
-
+#include "symfile.h"
#include "serial.h"
/* Descriptor for I/O to remote machine. */