From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Lars Ingebrigtsen 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 07:18:48 +0200 Message-ID: <875zl1875z.fsf@gnus.org> References: <201109051154.17965.aprekates@gmail.com> <87y2y1hk8l.fsf@gnus.org> <83imp57nps.fsf@gnu.org> <87ftk5b539.fsf@gnus.org> <91D7123B-A521-489F-9C7F-40069259EF0F@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="83102"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) Cc: aprekates@gmail.com, 9441@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Oct 07 07:19:16 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 1iHLQO-000LQm-W7 for geb-bug-gnu-emacs@m.gmane.org; Mon, 07 Oct 2019 07:19:13 +0200 Original-Received: from localhost ([::1]:40698 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iHLQN-0001yI-Kt for geb-bug-gnu-emacs@m.gmane.org; Mon, 07 Oct 2019 01:19:11 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:57793) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iHLQF-0001w1-5Z for bug-gnu-emacs@gnu.org; Mon, 07 Oct 2019 01:19:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iHLQE-0003EL-2s for bug-gnu-emacs@gnu.org; Mon, 07 Oct 2019 01:19:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:38431) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iHLQE-0003EF-03 for bug-gnu-emacs@gnu.org; Mon, 07 Oct 2019 01:19:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iHLQD-0007tl-Rk for bug-gnu-emacs@gnu.org; Mon, 07 Oct 2019 01:19:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 07 Oct 2019 05:19:01 +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.157042553530347 (code B ref 9441); Mon, 07 Oct 2019 05:19:01 +0000 Original-Received: (at 9441) by debbugs.gnu.org; 7 Oct 2019 05:18:55 +0000 Original-Received: from localhost ([127.0.0.1]:47252 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iHLQ7-0007tP-3O for submit@debbugs.gnu.org; Mon, 07 Oct 2019 01:18:55 -0400 Original-Received: from quimby.gnus.org ([80.91.231.51]:57012) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iHLQ4-0007tF-EI for 9441@debbugs.gnu.org; Mon, 07 Oct 2019 01:18:54 -0400 Original-Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=marnie) by quimby.gnus.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1iHLQ1-0006EU-3q; Mon, 07 Oct 2019 07:18:51 +0200 In-Reply-To: <91D7123B-A521-489F-9C7F-40069259EF0F@gnu.org> (Eli Zaretskii's message of "Mon, 07 Oct 2019 08:15:02 +0300") 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:168507 Archived-At: Eli Zaretskii writes: >> I tried with >> >> `M-x gdb --fullname src/emacs RET' >> >> and >> >> `M-x gdb --fullname RET' >> file src/emacs >> >> and... The results aren't identical, but I'm not quite sure what's >> meant by "then src file wont open". I don't get a source file in any >> case anywhere. > > I meant to invoke "M-x gud-gdb" literally. It's a different command, > and the difference is not just in switches passed to GDB. Sorry, I just typed wrong up here -- I tried the `M-x gud-gdb' command in the examples. > If the source file is not displayed immediately, try starting the > program, with the "start" command typed at the GDB prompt. Yes, when I say "start", Emacs pops up the emacs.c buffer. Nice. :-) But this also works when I start without a file name, and then say "file src/emacs" after gdb has started. So I guess this bug has been fixed? -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no