[COMMITTED] Move clear_symtab_users, deduce_language_from_filename decls to better place

Message ID CADPb22TZHqqxejvd7CNHHgiOC1BX73BhV3y95kQEtvW4p_7bHw@mail.gmail.com
State Committed
Headers

Commit Message

Doug Evans Feb. 6, 2015, 8:20 p.m. UTC
  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.
  

Patch

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