all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: seb@k-7.ch (Sébastien Gendre)
To: help-gnu-emacs@gnu.org
Subject: gdb repl: source code is printed on an infinite loop
Date: Sun, 23 Feb 2020 17:13:01 +0100	[thread overview]
Message-ID: <87blppth82.fsf@k-7.ch> (raw)

[-- Attachment #1: Type: text/plain, Size: 628 bytes --]

Hello.

I got a broblem when I start gdb from Emacs.
I can start gdb (M-x gdb) on an executable I compiled with the -g flag.
But after I set a breakpoint from the gdb repl, the begining of the source code is printed at the gdb repl again, and again, and again.
Like Emacs is trapped on an infinite loop. After some seconds Emacs freeze.
I use Emacs 26.3 and I've installed Irony-mode. But no special modification on gdb integration.
Have you get the same problem or have any idea?
A search on web didn't help me.
Ho, I got the exact same problem with "emacs -q".
Could it be a bug introduced with 26.3?
Or could it be from GDB?

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]

             reply	other threads:[~2020-02-23 16:13 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-02-23 16:13 Sébastien Gendre [this message]
2020-02-23 17:16 ` gdb repl: source code is printed on an infinite loop Eli Zaretskii
2020-02-23 20:29   ` Sébastien G

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=87blppth82.fsf@k-7.ch \
    --to=seb@k-7.ch \
    --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.