diff options
author | Doug Evans <dje@google.com> | 2013-10-11 17:32:30 +0000 |
---|---|---|
committer | Doug Evans <dje@google.com> | 2013-10-11 17:32:30 +0000 |
commit | 9b557b58d3ac365d4cd60dd28fff3fbaf41f5481 (patch) | |
tree | d6361c98527bfe3751744bfebaf4684ad22f90b0 /gdb | |
parent | a2b903b78e4ab22de0a8ddab5a1daf1f0ad4dafa (diff) | |
download | gdb-9b557b58d3ac365d4cd60dd28fff3fbaf41f5481.zip gdb-9b557b58d3ac365d4cd60dd28fff3fbaf41f5481.tar.gz gdb-9b557b58d3ac365d4cd60dd28fff3fbaf41f5481.tar.bz2 |
* Makefile.in (GDBFLAGS): New variable.
(run): New rule.
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/Makefile.in | 7 |
2 files changed, 12 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index a600e15..322decc 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +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 diff --git a/gdb/Makefile.in b/gdb/Makefile.in index 2aa8134..f13e5c6 100644 --- a/gdb/Makefile.in +++ b/gdb/Makefile.in @@ -178,6 +178,9 @@ INTL_CFLAGS = @INCINTL@ # 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 @@ -1341,6 +1344,10 @@ data-directory/Makefile: data-directory/Makefile.in config.status @frags@ 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 $@ |