aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPedro Alves <palves@redhat.com>2017-06-22 10:57:13 +0100
committerPedro Alves <palves@redhat.com>2017-06-22 10:57:13 +0100
commitb45a120833d862aeeba6803b2cc131724ef89dda (patch)
tree08ef862b46d6430961bfc99db28f42041365276b /gdb/common/agent.h
parentFix address violation parsing a corrupt SOM binary. (diff)
downloadbinutils-gdb-b45a120833d862aeeba6803b2cc131724ef89dda.tar.gz
binutils-gdb-b45a120833d862aeeba6803b2cc131724ef89dda.tar.bz2
binutils-gdb-b45a120833d862aeeba6803b2cc131724ef89dda.zip
common/agent.h: Add missing include guards
gdb/ChangeLog: 2017-06-22 Pedro Alves <palves@redhat.com> * common/agent.h: Add include guards.
Diffstat (limited to 'gdb/common/agent.h')
-rw-r--r--gdb/common/agent.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/gdb/common/agent.h b/gdb/common/agent.h
index 171c5914ede..66f57ad4b08 100644
--- a/gdb/common/agent.h
+++ b/gdb/common/agent.h
@@ -17,6 +17,9 @@
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 COMMON_AGENT_H
+#define COMMON_AGENT_H
+
int agent_run_command (int pid, const char *cmd, int len);
int agent_look_up_symbols (void *);
@@ -56,3 +59,5 @@ enum agent_capa
int agent_capability_check (enum agent_capa);
void agent_capability_invalidate (void);
+
+#endif /* COMMON_AGENT_H */