From: Nordlöw <per.nordlow@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: Multi-Frame/Window Debugging Problem
Date: Tue, 11 Sep 2007 05:00:26 -0700 [thread overview]
Message-ID: <1189512026.119620.123790@o80g2000hse.googlegroups.com> (raw)
In-Reply-To: <mailman.414.1189076872.18990.help-gnu-emacs@gnu.org>
On 6 Sep, 12:09, Nick Roberts <nick...@snap.net.nz> wrote:
> Nordlöw writes:
>
> > When I try to run the new multi-frame/window GDB-interface and issue a
> > command in the gud terminal buffer my Emacs (daily CVS snapshot)
> > version hangs.
>
> Is this from the trunk or the EMACS_22_BASE branch? What is your
> configuration? (M-x report-emacs-bug should provide these details.
>
> > The problem arises for vanilla Emacs, that is when I run "\emacs -q"
> > and then type M-x gdba and give the default argument "gdb --annotate=3
> > <prog>". It feels like it has something to do with gdb's inter-process-
> > communication since I can break it when I press C-g and my CPU-load is
> > zero during lookup. I have seen that the argument should be either
> > Emacs Info Manual says --annotate=3 but vanilla Emacs M-x gdba
> > defaults to gdb -annotate=3 <program>. I have tried both these
> > variants but none helps.
>
> Perhaps it thinks GDB is running. What's the value of gud-running? Are
> the tool-bar icons greyed out? What's it say about status in the square
> brackets of the mode line for the GUD buffer? Do you have anything in a
> .gdbinit file? If yes, what happens if you run
> "gdb -nx --annotate=3 <prog>"?
>
> If things still fail please set gdb-enable-debug to t
> (evaluate (setq gdb-enable-debug t)), do M-x gdb and start GDB then post
> the value of gdb-debug-log to emacs-de...@gnu.org.
>
> --
> Nick http://www.inet.net.nz/~nickrob
Value of gud-running is nil. The tool-bar icons are *not* greyed out.
If I run "gdb -nx --annotate=3 <prog>" it works! Great!
I had previously changed my .gdbinit file to contain
set ann 1
because gdb-valgrind-integration rqeuired that then.
This seems to the source of my gdba-problem (as -nx overrides that).
Many Thanks for the brilliant help,
Nordlöw
next prev parent reply other threads:[~2007-09-11 12:00 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-09-05 14:15 Multi-Frame/Window Debugging Problem Nordlöw
2007-09-06 10:09 ` Nick Roberts
[not found] ` <mailman.414.1189076872.18990.help-gnu-emacs@gnu.org>
2007-09-11 12:00 ` Nordlöw [this message]
2007-09-12 8:05 ` Nick Roberts
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1189512026.119620.123790@o80g2000hse.googlegroups.com \
--to=per.nordlow@gmail.com \
--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.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.