unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Nick Roberts <nickrob@gnu.org>
Cc: help-gnu-emacs@gnu.org
Subject: Re: gdb-mode hangs in OS X
Date: Thu, 22 Sep 2005 22:32:47 +1200	[thread overview]
Message-ID: <17202.34895.573152.493862@kahikatea.snap.net.nz> (raw)



> The variable wasn't recognized when using M-x set-variable, and so I
> set it manually with a setq.  

gdb-enable-debug-log should be autoloaded so you should see it even if you
haven't loaded the file. Are you really using 22.0.50?  Is it Carbon Emacs
from the CVS repository at savannah or a derived version like Aqua Emacs?

After you typ M-x gdb does Emacs prompt with:

Run gdb (like this): gdb --annotate=3 `yourprog'?

> I couldn't find a gdb-debug-log after
> doing M-x gdb subsequently, though --- am I doing something wrong?
> Sorry for not following instructions and posting to emacs-pretest-bug
> just yet; I wanted to make sure I got the output right first.

Something doesn't add up but there's no harm in posting to emacs-pretest-bug
even if you are doing something wrong.  Its a forum for such matters not
an IQ contest.

> I'm running OS X 10.4.2, and gdb 6.1-20040303 (Apple version gdb-413).

I've had reports for 10.2 and 10.3 where, I think, M-x gdb works now.  Apple
have their own version of GDB so they might have removed the underlying
annotations in 10.4 (Tiger?) that are needed for GDB to work in Emacs. You
could look at the output of "gdb --annotate=3 yourprog" from the command line
ans see if it marks up the output with frames-invalid, pre-prompt, prompt etc.

Without access to OS X 10.4 (or even a Mac!), I can't really help you.
If you want to dig deeper please report any progress you make to
emacs-devel.

Nick

             reply	other threads:[~2005-09-22 10:32 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-09-22 10:32 Nick Roberts [this message]
  -- strict thread matches above, loose matches on Subject: below --
2005-09-22 22:03 gdb-mode hangs in OS X Nick Roberts
     [not found] <mailman.8053.1127399790.20277.help-gnu-emacs@gnu.org>
2005-09-22 21:14 ` Michael Lee
2005-09-22 23:04   ` Edward O'Connor
2005-09-23 21:48     ` Edward O'Connor
     [not found]   ` <mailman.8149.1127430626.20277.help-gnu-emacs@gnu.org>
2005-09-23  6:02     ` Michael Lee
2005-09-24 16:32       ` Stefan Monnier
2005-09-22 14:33 Nick Roberts
     [not found] <mailman.7627.1127192335.20277.help-gnu-emacs@gnu.org>
2005-09-20 23:37 ` Michael Lee
2005-09-20  4:53 Nick Roberts
2005-09-19  2:48 Michael Lee

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=17202.34895.573152.493862@kahikatea.snap.net.nz \
    --to=nickrob@gnu.org \
    --cc=help-gnu-emacs@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.
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).