unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Lars Ingebrigtsen <larsi@gnus.org>
Cc: aprekates@gmail.com, 9441@debbugs.gnu.org
Subject: bug#9441: in GUD, gdb mode, src buffer wont show with gdb's file command
Date: Thu, 03 Oct 2019 20:17:35 +0300	[thread overview]
Message-ID: <83imp57nps.fsf@gnu.org> (raw)
In-Reply-To: <87y2y1hk8l.fsf@gnus.org> (message from Lars Ingebrigtsen on Thu,  03 Oct 2019 18:22:34 +0200)

> From: Lars Ingebrigtsen <larsi@gnus.org>
> Date: Thu, 03 Oct 2019 18:22:34 +0200
> Cc: 9441@debbugs.gnu.org
> 
> Πρεκατές Αλέξανδρος <aprekates@gmail.com> writes:
> 
> > in GUD if i try to open an executable with 'file' commmand from within
> > gdb buffer, then src file wont open. but if put the file as argument
> > to gdb in the start (after M-x gdb) then it'll'show.
> 
> (I'm going through old Emacs bug reports that unfortunately got no
> response at the time.)
> 
> I'm not quite sure what you mean here.  If I say
> 
> `M-x gdb RET gdb -i=mi src/emacs'
> 
> or
> 
> `M-x gdb RET gdb -i=mi'
> 
> and then
> 
> file src/emacs
> 
> in the gud buffer the result look identical to me.

He was using "M-x gud-gdb", which works slightly differently.





  reply	other threads:[~2019-10-03 17:17 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-09-05  8:54 bug#9441: in GUD, gdb mode, src buffer wont show with gdb's file command Πρεκατές Αλέξανδρος
2019-10-03 16:22 ` Lars Ingebrigtsen
2019-10-03 17:17   ` Eli Zaretskii [this message]
2019-10-07  3:35     ` Lars Ingebrigtsen
2019-10-07  5:15       ` Eli Zaretskii
2019-10-07  5:18         ` Lars Ingebrigtsen
2019-10-07  5:39           ` Eli Zaretskii
2019-10-07  5:43             ` Lars Ingebrigtsen

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=83imp57nps.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=9441@debbugs.gnu.org \
    --cc=aprekates@gmail.com \
    --cc=larsi@gnus.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).