unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: TatriX <tatrics@gmail.com>
To: Eli Zaretskii <eliz@gnu.org>
Cc: 72667@debbugs.gnu.org
Subject: bug#72667: 31.0.50; gud-print moves the cursor after execution
Date: Sat, 17 Aug 2024 16:59:21 +0200	[thread overview]
Message-ID: <CAG7LdX4wTZjyvRymSXF7N7_jY5xQYxYSRObG8o_pJA7pjYqmaA@mail.gmail.com> (raw)
In-Reply-To: <86ttfj1bj1.fsf@gnu.org>

> I think it happens in gud-refresh.

I thought that too, but at least when I edebug-it, debugger doesn't stop
in it.

It looks like it happens during one of the invocations of gud-filter
after gud-call send the data to the gdb.

Point moves when gud-marker-filter which is set to
gud-gdbmi-marker-filter is called.  Which in turns call gdbmi-bnf-output
and it seems that the point moves in gdbmi-bnf-out-of-band-record.

The callstack is quite deep and there are a lot of loops, so I wasn't
able to pin point a specific piece of code that actually moves the point
yet.





      reply	other threads:[~2024-08-17 14:59 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-08-16 11:38 bug#72667: 31.0.50; gud-print moves the cursor after execution TatriX
2024-08-17 10:34 ` Eli Zaretskii
     [not found]   ` <CAG7LdX7TYQRDag1Q4VPOLVGn5AsP8Y_OOvjp53Fssr19WjB-7g@mail.gmail.com>
2024-08-17 14:14     ` Eli Zaretskii
2024-08-17 14:59       ` TatriX [this message]

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=CAG7LdX4wTZjyvRymSXF7N7_jY5xQYxYSRObG8o_pJA7pjYqmaA@mail.gmail.com \
    --to=tatrics@gmail.com \
    --cc=72667@debbugs.gnu.org \
    --cc=eliz@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).