unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: "Jordi Gutiérrez Hermoso" <jordigh@gmail.com>
To: Emacs development discussions <emacs-devel@gnu.org>
Subject: Re: Run gdb-calling scripts with M-x gdb
Date: Sun, 26 Dec 2010 15:38:49 -0600	[thread overview]
Message-ID: <AANLkTima1tnw6jfOUr4bO+n6c3owvLb51gQR2UVS-Mrm@mail.gmail.com> (raw)
In-Reply-To: <AANLkTim1MaHb--fjbccujA4MDJwuOmKmTEeUKcSGL6Ve@mail.gmail.com>

2010/12/26 Jordi Gutiérrez Hermoso <jordigh@gmail.com>:
> 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.



  reply	other threads:[~2010-12-26 21:38 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-12-26 20:50 Run gdb-calling scripts with M-x gdb Jordi Gutiérrez Hermoso
2010-12-26 21:38 ` Jordi Gutiérrez Hermoso [this message]
2010-12-27  3:18   ` Stefan Monnier

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=AANLkTima1tnw6jfOUr4bO+n6c3owvLb51gQR2UVS-Mrm@mail.gmail.com \
    --to=jordigh@gmail.com \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).