[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: Stefan Monnier
Subject: Re: Run gdb-calling scripts with M-x gdb
Date: Sun, 26 Dec 2010 22:18:33 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux)

>> 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.

Indeed, --annotate=3 is needed for M-x gdb.  For M-x gud-gdb, --fullname
is needed instead.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]