[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Run gdb-calling scripts with M-x gdb
From: |
Jordi Gutiérrez Hermoso |
Subject: |
Re: Run gdb-calling scripts with M-x gdb |
Date: |
Sun, 26 Dec 2010 15:38:49 -0600 |
2010/12/26 Jordi Gutiérrez Hermoso <address@hidden>:
> GNU Octave provides a run-octave script in its build directory which
> is convenient for running Octave in-place without running make
> install. One of the option that run-octave can take is -g which starts
> Octave inside a gdb script.
>
> I'd like to be able to debug Octave with gud-mode.
To answer my own question, the run-octave script needed to pass the
--annotate=3 option to gdb so it could work with GUD.
I'll see about providing a patch for Octave in order to give this
script said option.
Thanks,
- Jordi G. H.