From: Shiyuan <gshy2014@gmail.com>
To: Eli Zaretskii <eliz@gnu.org>
Cc: help-gnu-emacs@gnu.org
Subject: Re: gdb in Emacs
Date: Sat, 13 Oct 2012 13:58:55 -0500 [thread overview]
Message-ID: <CAOm4EMuzJpBvj5LBbyJTZ=2fK7ZVoRKa_fMN895=YBEPbDpB2g@mail.gmail.com> (raw)
In-Reply-To: <837gqu7o41.fsf@gnu.org>
[-- Attachment #1: Type: text/plain, Size: 1658 bytes --]
Hi,
If I want to fix it, can you give me some pointers what places I
should look at? Thanks.
Shiyuan
On Sat, Oct 13, 2012 at 3:49 AM, Eli Zaretskii <eliz@gnu.org> wrote:
> > Date: Fri, 12 Oct 2012 10:27:10 -0500
> > From: Shiyuan <gshy2014@gmail.com>
> >
> > I am using Emacs 23.3(9.0) in Mac OS 10.6. This is the operation
> sequence
> > which causes the problem:
> > 1. start Emacs with -Q, open GDB under Emacs: gdb --annotate=3 program
> > 2. set the breakpoint: b location
> > 3. run the program: r
> > 4. When GDB hits the breakpoint, the window splits horizontally into two
> > windows, one with GDB,
> > another one is the source code, at this time, the focus point is in
> GDB
> > window.
> > 5. while the focus point stil remains in GDB window, open a new frame
> with
> > : Ctrl-x 5 2.
> > Now a new frame is created with one window and another GDB is in it.
> > 6. Switch the focus point to source code window, Run delete other winodw:
> > Ctrl-X 1.
> > Now the source code window occupies the whole frame which was
> > previously splited into two windows.
> > Now Emacs has two frames. One frame has only GDB window, another
> frame
> > has only source code window.
> > Now, If I switch the focus point back to the GDB window, and keep
> > stepping using the GDB command "next", the focus
> > point will switch back to source code window automatically after each
> > GDB command.
>
> I can confirm this behavior in both Emacs 23.3 and the current
> development sources.
>
> Please report this as a bug using "M-x report-emacs-bug RET", so that
> it will get fixed, preferably for the next version 24.3.
>
>
[-- Attachment #2: Type: text/html, Size: 2188 bytes --]
next prev parent reply other threads:[~2012-10-13 18:58 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-10-12 15:27 gdb in Emacs Shiyuan
2012-10-13 8:49 ` Eli Zaretskii
2012-10-13 18:58 ` Shiyuan [this message]
2012-10-13 20:21 ` Eli Zaretskii
-- strict thread matches above, loose matches on Subject: below --
2012-10-12 4:35 Shiyuan
2012-10-12 6:47 ` Eli Zaretskii
2010-03-08 21:37 gdb in emacs belnac
2011-05-03 19:58 ` elbeardmorez
2002-07-02 11:02 piotr.kozaczewski
2002-07-02 11:22 ` Todd Kokoszka
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='CAOm4EMuzJpBvj5LBbyJTZ=2fK7ZVoRKa_fMN895=YBEPbDpB2g@mail.gmail.com' \
--to=gshy2014@gmail.com \
--cc=eliz@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.
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.