summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDoug Evans <dje@google.com>2015-12-10 12:00:28 -0800
committerDoug Evans <dje@google.com>2015-12-10 12:00:28 -0800
commita8ad967ecc33641ed9df797698bf1d03da7aa864 (patch)
tree24770dfe8f7d2e15c040eec7db6102afdcdf0c46
parent56a0f7539eac6545fddc1e6f0d167ee3416e4270 (diff)
downloadbinutils-gdb-a8ad967ecc33641ed9df797698bf1d03da7aa864.tar.gz
patch 102421885.patch
-rw-r--r--README.google16
-rw-r--r--gdb/Makefile.in3
-rw-r--r--gdb/google.c28
-rw-r--r--gdb/google.h23
4 files changed, 70 insertions, 0 deletions
diff --git a/README.google b/README.google
new file mode 100644
index 00000000000..a13241190aa
--- /dev/null
+++ b/README.google
@@ -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.
diff --git a/gdb/Makefile.in b/gdb/Makefile.in
index dfaa8a38d7c..552850a5f59 100644
--- a/gdb/Makefile.in
+++ b/gdb/Makefile.in
@@ -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
index 00000000000..e0e87375924
--- /dev/null
+++ b/gdb/google.c
@@ -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
index 00000000000..76299e64026
--- /dev/null
+++ b/gdb/google.h
@@ -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 */