all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: help-gnu-emacs@gnu.org
Subject: Re: gdb in Emacs
Date: Sat, 13 Oct 2012 10:49:50 +0200	[thread overview]
Message-ID: <837gqu7o41.fsf@gnu.org> (raw)
In-Reply-To: <CAOm4EMtLX5HHiE7VGXRq+vUP9TN4yjz_4Zne1eZqTunnvtktjQ@mail.gmail.com>

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



  reply	other threads:[~2012-10-13  8:49 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 [this message]
2012-10-13 18:58   ` Shiyuan
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=837gqu7o41.fsf@gnu.org \
    --to=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.