Mercurial > hg > octave-avbm
changeset 15335:5187c3ea5a68
run-octave.in: Add -gud2 option to support new versions of gud
author | Max Brister <max@2bass.com> |
---|---|
date | Sat, 08 Sep 2012 18:05:57 -0600 |
parents | 8125773322d4 |
children | 5fff79162342 |
files | run-octave.in |
diffstat | 1 files changed, 5 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/run-octave.in +++ b/run-octave.in @@ -60,6 +60,11 @@ ## Frontends for gdb (e.g. Emacs's GUD mode) need --annotate=3 driver="gdb --annotate=3 --args" shift + elif [ "x$1" = "x-gud2" ]; then + ## The latest version of gud needs -i=mi. There isn't a good way to check + ## this at configure time, so we just add a gdb2 flag + driver="gdb -i=mi --args" + shift elif [ "x$1" = "x-valgrind" ]; then driver="valgrind --tool=memcheck" shift