From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: =?ISO-8859-1?Q?S=E9bastien?= G Newsgroups: gmane.emacs.help Subject: Re: gdb repl: source code is printed on an infinite loop Date: Sun, 23 Feb 2020 21:29:05 +0100 Message-ID: <2f8e2caf8eb3e662e3d91bcf09cccd8ff04ce2fa.camel@k-7.ch> References: <87blppth82.fsf@k-7.ch> <8336b1i5q6.fsf@gnu.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg="pgp-sha256"; protocol="application/pgp-signature"; boundary="=-w2m0ajNIe0kSdVMI0Ehn" Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="24921"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Evolution 3.34.4 (3.34.4-1.fc31) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Sun Feb 23 21:29:30 2020 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1j5xsY-0006Q0-CL for geh-help-gnu-emacs@m.gmane-mx.org; Sun, 23 Feb 2020 21:29:30 +0100 Original-Received: from localhost ([::1]:56566 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j5xsX-0003rP-F0 for geh-help-gnu-emacs@m.gmane-mx.org; Sun, 23 Feb 2020 15:29:29 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:53164) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j5xsF-0003rF-RO for help-gnu-emacs@gnu.org; Sun, 23 Feb 2020 15:29:12 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1j5xsE-0004QM-Rh for help-gnu-emacs@gnu.org; Sun, 23 Feb 2020 15:29:11 -0500 Original-Received: from 50-102-31-185.ftth.cust.kwaoo.net ([185.31.102.50]:45026 helo=k-7.ch) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1j5xsE-0004MO-HQ for help-gnu-emacs@gnu.org; Sun, 23 Feb 2020 15:29:10 -0500 Original-Received: from sherazad-lan.lan (Alfred.lan [192.168.1.1]) by k-7.ch (OpenSMTPD) with ESMTPSA id d0a11ca3 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO) for ; Sun, 23 Feb 2020 20:29:05 +0000 (UTC) In-Reply-To: <8336b1i5q6.fsf@gnu.org> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 185.31.102.50 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.io gmane.emacs.help:122459 Archived-At: --=-w2m0ajNIe0kSdVMI0Ehn Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable I use Fedora 31 and GDB 8.3 from the official fedora-updates repository. To be more precise, the installed pkg is 8.3.50.20190824. Le dimanche 23 f=C3=A9vrier 2020 =C3=A0 19:16 +0200, Eli Zaretskii a =C3=A9= crit : > > From: seb@k-7.ch (S=C3=A9bastien Gendre) > > Date: Sun, 23 Feb 2020 17:13:01 +0100 > >=20 > > 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. >=20 > Please tell on what OS is that, and where did you the GDB binary you > are using in this case. >=20 --=-w2m0ajNIe0kSdVMI0Ehn Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEaA9vw9ypVj1kP0tAtYb3x3I54p4FAl5S4JEACgkQtYb3x3I5 4p5Hdg//SLLB9+uK98STpQ6dTMNVnzPuhqXeWMHPuTCUFFkRFoSWMh1bY2T79b22 qSBUXhkyYPXwF2+DGmoz9RsGbZTBvbKCnxCtdkaduJB3dXTqiRK2SXMdCbga7nE9 pIPSpG2w4vitulUN44202D2CVfF9n6+cLJMZ8UeRJbltOEofxhEDIRVhjFHqJoOl 12ycYAd7je7g8ahP1RkzQzs3T51KwR44plXLgG5liVE8153iW3Jk2MSxZDli+CtT p2grUgt4akLIU9DjSQkPIGCzwye0yxaq4ExPP6TYfgWzUK5dGIGAH39C/Lf5WNPA Q0WE9RGt4utxTV0sb9O5MBlwU7m+paVEMbxlUYDZ8Sq5lbvcaQ1aMHoV1CWeaqVg y+O9KIsm5JeTjg90MqtOHpGr0BjLMSbgfRpWTokOBtUJnM+s8Fl06szcZW6v38x5 xVcvcAVOqR0/n1uNnY3Wagq38hSF8mx9IYm2RTQZY1TfkhqFi63X9mSSFrGkHJLZ 1ruwehhv12U8XTqApnmgLcqPnuNgqizwbxIshU8tekVJPCI5Nv1gJYwqAiqeh9pP D/YUVrq8qnyXgzjA/3XGw2anRobeZTF2ZSU5KEyIAy/dCnFsr46EvUXy5QmLi98p /eyfv3O0ujQQgPNhaRQqPK+Ly1+kLXlzu2e+9pTkKeFz9ocCFl4= =c6Jy -----END PGP SIGNATURE----- --=-w2m0ajNIe0kSdVMI0Ehn--