+2013-10-11 Doug Evans <dje@google.com>
+
+ * Makefile.in (GDBFLAGS): New variable.
+ (run): New rule.
+
2013-10-11 Joel Brobecker <brobecker@adacore.com>
* NEWS: Add entry documenting the new "-catch-assert" and
# Did the user give us a --with-gdb-datadir option?
GDB_DATADIR = @GDB_DATADIR@
+# Flags to pass to gdb when invoked with "make run".
+GDBFLAGS =
+
# Helper code from gnulib.
GNULIB_BUILDDIR = build-gnulib
LIBGNU = $(GNULIB_BUILDDIR)/import/libgnu.a
CONFIG_LINKS= \
$(SHELL) config.status
+.PHONY: run
+run: Makefile
+ ./gdb$(EXEEXT) --data-directory=`pwd`/data-directory $(GDBFLAGS)
+
jit-reader.h: $(srcdir)/jit-reader.in
$(SHELL) config.status $@