From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#9441: in GUD, gdb mode, src buffer wont show with gdb's file command Date: Mon, 07 Oct 2019 08:15:02 +0300 Message-ID: <91D7123B-A521-489F-9C7F-40069259EF0F@gnu.org> References: <201109051154.17965.aprekates@gmail.com> <87y2y1hk8l.fsf@gnus.org> <83imp57nps.fsf@gnu.org> <87ftk5b539.fsf@gnus.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="71143"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: K-9 Mail for Android Cc: aprekates@gmail.com, 9441@debbugs.gnu.org To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Oct 07 07:16:15 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1iHLNX-000IO1-98 for geb-bug-gnu-emacs@m.gmane.org; Mon, 07 Oct 2019 07:16:15 +0200 Original-Received: from localhost ([::1]:40686 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iHLNV-000153-Nn for geb-bug-gnu-emacs@m.gmane.org; Mon, 07 Oct 2019 01:16:13 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:57609) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iHLNL-00013y-PQ for bug-gnu-emacs@gnu.org; Mon, 07 Oct 2019 01:16:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iHLNK-0000fO-Mr for bug-gnu-emacs@gnu.org; Mon, 07 Oct 2019 01:16:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:38427) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iHLNK-0000fJ-K5 for bug-gnu-emacs@gnu.org; Mon, 07 Oct 2019 01:16:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iHLNK-0006nE-F3 for bug-gnu-emacs@gnu.org; Mon, 07 Oct 2019 01:16:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 07 Oct 2019 05:16:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 9441 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: moreinfo Original-Received: via spool by 9441-submit@debbugs.gnu.org id=B9441.157042531322754 (code B ref 9441); Mon, 07 Oct 2019 05:16:02 +0000 Original-Received: (at 9441) by debbugs.gnu.org; 7 Oct 2019 05:15:13 +0000 Original-Received: from localhost ([127.0.0.1]:47244 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iHLMW-0005uX-UE for submit@debbugs.gnu.org; Mon, 07 Oct 2019 01:15:13 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:48444) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iHLMV-0005na-7L for 9441@debbugs.gnu.org; Mon, 07 Oct 2019 01:15:11 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:43939) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1iHLMQ-000057-3R; Mon, 07 Oct 2019 01:15:06 -0400 Original-Received: from [176.12.218.44] (port=51537 helo=[10.164.127.211]) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1iHLMP-0008VK-59; Mon, 07 Oct 2019 01:15:05 -0400 In-Reply-To: <87ftk5b539.fsf@gnus.org> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:168505 Archived-At: On October 7, 2019 6:35:22 AM GMT+03:00, Lars Ingebrigtsen wrote: > Eli Zaretskii writes: >=20 > > He was using "M-x gud-gdb", which works slightly differently=2E >=20 > I tried with >=20 > `M-x gdb --fullname src/emacs RET' >=20 > and >=20 > `M-x gdb --fullname RET' > file src/emacs >=20 > and=2E=2E=2E The results aren't identical, but I'm not quite sure what'= s > meant by "then src file wont open"=2E I don't get a source file in any > case anywhere=2E I meant to invoke "M-x gud-gdb" literally=2E It's a different command, an= d the difference is not just in switches passed to GDB=2E If the source file is not displayed immediately, try starting the program,= with the "start" command typed at the GDB prompt=2E