This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[PATCH 05/40] command.h: Include scoped_restore_command.h
- From: Pedro Alves <palves at redhat dot com>
- To: gdb-patches at sourceware dot org
- Date: Fri, 2 Jun 2017 13:22:03 +0100
- Subject: [PATCH 05/40] command.h: Include scoped_restore_command.h
- Authentication-results: sourceware.org; auth=none
- Authentication-results: ext-mx07.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=redhat.com
- Authentication-results: ext-mx07.extmail.prod.ext.phx2.redhat.com; spf=pass smtp.mailfrom=palves at redhat dot com
- Dkim-filter: OpenDKIM Filter v2.11.0 mx1.redhat.com CB42BC049D59
- Dmarc-filter: OpenDMARC Filter v1.3.2 mx1.redhat.com CB42BC049D59
- References: <1496406158-12663-1-git-send-email-palves@redhat.com>
This file depends on scoped_restore:
extern scoped_restore_tmpl<int> prevent_dont_repeat (void);
But doesn't include the corresponding header.
gdb/ChangeLog:
yyyy-mm-dd Pedro Alves <palves@redhat.com>
* command.h: Include "scoped_restore_command.h".
---
gdb/command.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/gdb/command.h b/gdb/command.h
index aa179e9..4a56a51 100644
--- a/gdb/command.h
+++ b/gdb/command.h
@@ -19,6 +19,7 @@
#define COMMAND_H 1
#include "gdb_vecs.h"
+#include "common/scoped_restore.h"
/* This file defines the public interface for any code wanting to
create commands. */
--
2.5.5