This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[PATCH] sim: include sim-options.h for command prototype
- From: Mike Frysinger <vapier at gentoo dot org>
- To: gdb-patches at sourceware dot org
- Cc: toolchain-devel at blackfin dot uclinux dot org
- Date: Mon, 11 Jul 2011 20:51:26 -0400
- Subject: [PATCH] sim: include sim-options.h for command prototype
The sim_args_command prototype is in sim-options.h, so pull it in
directly rather than assuming a common header does it.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2011-07-11 Mike Frysinger <vapier@gentoo.org>
* sim-command.c: Include sim-options.h.
---
sim/common/sim-command.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/sim/common/sim-command.c b/sim/common/sim-command.c
index b6d0a19..a6d6b97 100644
--- a/sim/common/sim-command.c
+++ b/sim/common/sim-command.c
@@ -19,6 +19,7 @@
along with this program. If not, see <http://www.gnu.org/licenses/>. */
#include "sim-main.h"
+#include "sim-options.h"
#include "sim-utils.h"
/* Generic implementation of sim_do_command that works with simulators
--
1.7.6