]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
patch 102421885.patch
authorDoug Evans <dje@google.com>
Thu, 10 Dec 2015 20:00:28 +0000 (12:00 -0800)
committerDoug Evans <dje@google.com>
Thu, 10 Dec 2015 20:00:28 +0000 (12:00 -0800)
README.google [new file with mode: 0644]
gdb/Makefile.in
gdb/google.c [new file with mode: 0644]
gdb/google.h [new file with mode: 0644]

diff --git a/README.google b/README.google
new file mode 100644 (file)
index 0000000..a132411
--- /dev/null
@@ -0,0 +1,16 @@
+Remember standard operating procedure: Patches go into the FSF tree
+*first*, when possible.  At the very least non-Google specific patches
+should be submitted to the FSF first.  If you need to timeout on waiting
+for FSF approval that's fine.  When the patch goes in upstream, then
+delete its entry here and copy over the entry from the appropriate
+ChangeLog(s).  The goal here is to minimize unnecessary local patches,
+they are an ongoing maintenance burden.
+
+2015-09-05  Doug Evans  <dje@google.com>
+
+       N.B. No further README.google entries are required for google.[ch].
+       You can still add them if they make sense of course.
+       This one exists because of the change to Makefile.in.
+       * Makefile.in: Add google.c.
+       * google.c: New file.
+       * google.h: New file.
index dfaa8a38d7ced1a244d082e3eb1c1cb768830a71..552850a5f596d874a93f20ff2cd5e5f2eb6d0b2d 100644 (file)
@@ -847,6 +847,7 @@ SFILES = ada-exp.y ada-lang.c ada-typeprint.c ada-valprint.c ada-tasks.c \
        findcmd.c findvar.c frame.c frame-base.c frame-unwind.c \
        gdbarch.c arch-utils.c gdb_bfd.c gdb_obstack.c \
        gdbtypes.c gnu-v2-abi.c gnu-v3-abi.c \
+       google.c \
        go-exp.y go-lang.c go-typeprint.c go-valprint.c \
        inf-loop.c \
        infcall.c \
@@ -912,6 +913,7 @@ i386bsd-nat.h xml-support.h xml-tdesc.h alphabsd-tdep.h gdb_obstack.h \
 ia64-tdep.h ada-lang.h varobj.h varobj-iter.h frv-tdep.h \
 nto-tdep.h serial.h \
 c-lang.h d-lang.h go-lang.h frame.h event-loop.h block.h cli/cli-setshow.h \
+google.h \
 cli/cli-decode.h cli/cli-cmds.h cli/cli-utils.h \
 cli/cli-script.h macrotab.h symtab.h common/version.h \
 compile/compile.h gnulib/import/string.in.h gnulib/import/str-two-way.h \
@@ -1055,6 +1057,7 @@ COMMON_OBS = $(DEPFILES) $(CONFIG_OBS) $(YYOBJ) \
        ada-tasks.o ada-varobj.o c-varobj.o \
        ui-out.o cli-out.o \
        varobj.o vec.o \
+       google.o \
        go-lang.o go-valprint.o go-typeprint.o \
        jv-lang.o jv-valprint.o jv-typeprint.o jv-varobj.o \
        m2-lang.o opencl-lang.o p-lang.o p-typeprint.o p-valprint.o \
diff --git a/gdb/google.c b/gdb/google.c
new file mode 100644 (file)
index 0000000..e0e8737
--- /dev/null
@@ -0,0 +1,28 @@
+/* Misc. GOOGLE LOCAL code.
+
+   Copyright (C) 2015 Free Software Foundation, Inc.
+
+   This file is part of GDB.
+
+   This program is free software; you can redistribute it and/or modify
+   it under the terms of the GNU General Public License as published by
+   the Free Software Foundation; either version 3 of the License, or
+   (at your option) any later version.
+
+   This program is distributed in the hope that it will be useful,
+   but WITHOUT ANY WARRANTY; without even the implied warranty of
+   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+   GNU General Public License for more details.
+
+   You should have received a copy of the GNU General Public License
+   along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
+
+#include "defs.h"
+#include "google.h"
+
+extern initialize_file_ftype _initialize_google;
+
+void
+_initialize_google (void)
+{
+}
diff --git a/gdb/google.h b/gdb/google.h
new file mode 100644 (file)
index 0000000..76299e6
--- /dev/null
@@ -0,0 +1,23 @@
+/* Misc. GOOGLE LOCAL code.
+
+   Copyright (C) 2015 Free Software Foundation, Inc.
+
+   This file is part of GDB.
+
+   This program is free software; you can redistribute it and/or modify
+   it under the terms of the GNU General Public License as published by
+   the Free Software Foundation; either version 3 of the License, or
+   (at your option) any later version.
+
+   This program is distributed in the hope that it will be useful,
+   but WITHOUT ANY WARRANTY; without even the implied warranty of
+   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+   GNU General Public License for more details.
+
+   You should have received a copy of the GNU General Public License
+   along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
+
+#ifndef GOOGLE_H
+#define GOOGLE_H
+
+#endif /* GOOGLE_H */