all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: David Reitter <david.reitter@gmail.com>
Cc: emacs-devel@gnu.org
Subject: Re: Gdb in emacs 24
Date: Thu, 06 Oct 2011 20:07:07 +0200	[thread overview]
Message-ID: <83r52qgfjo.fsf@gnu.org> (raw)
In-Reply-To: <AF8FED51-5FAA-4A5F-8B28-7D1CB32ECBFD@gmail.com>

> From: David Reitter <david.reitter@gmail.com>
> Date: Thu, 6 Oct 2011 09:37:45 -0400
> Cc: emacs-devel@gnu.org
> 
> On Oct 6, 2011, at 7:25 AM, Eli Zaretskii wrote:
> 
> >>> The very first line of the doc string says:
> >>> 
> >>> gdb is an interactive autoloaded Lisp function in `gdb-mi.el'.
> >>>                                                    ^^^^^^^^^
> >> 
> >> So, you're now asking users to infer the interface between GDB and Emacs from file names of the source file?
> > 
> > Huh? did you even read the message to which I was responding?  A user
> > asked why her ELisp function stopped working in Emacs 24.  That
> > function used "--annotate=3" switch to GDB.  I responded that since
> > Emacs 24 switched to using the MI interface to GDB, using --annotate
> > is expected to fail.
> 
> 
> There must be a misunderstanding.  Here's what you said:
> 
> > If you "C-h f gdb RET", you will see that Emacs 24 switched to use the
> > GDB/MI interface, so the --annotate=3 thingy is no longer TRT, and I'm
> > quite sure it will interfere in "interesting" ways.

That was part of an attempt to help a user understand why her Lisp no
longer works in Emacs 24.

> And I pointed out that you couldn't actually infer the switch to the new interface from the doc string of `gdb'.

There's no requirement to infer the switch, because I just told about
the switch myself.

> 1. The user doesn't care about how Emacs GDB and the underlying gdb communicate, and how that changes between Emacs versions - nor should they have to care.

Users who don't care shouldn't override the Emacs defaults with an
explicit GDB command line that is based on intimate details of how GUD
invokes GDB.



  parent reply	other threads:[~2011-10-06 18:07 UTC|newest]

Thread overview: 34+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-03-08  8:07 Gdb in emacs 24 Andrea Crotti
2011-03-08  8:56 ` Eli Zaretskii
2011-10-05 21:55   ` David Reitter
2011-10-06  5:52     ` Eli Zaretskii
2011-10-06 10:45       ` David Reitter
2011-10-06 11:25         ` Eli Zaretskii
2011-10-06 13:37           ` David Reitter
2011-10-06 14:55             ` Chong Yidong
2011-10-06 18:07             ` Eli Zaretskii [this message]
2011-10-06 20:00               ` David Reitter
2011-10-06 20:07               ` Stephen J. Turnbull
2011-10-06 20:45                 ` Eli Zaretskii
2011-10-07  6:08                   ` Stephen J. Turnbull
2011-10-07 12:28                     ` Eli Zaretskii
2011-10-06 12:40     ` Stefan Monnier
2011-10-19  1:48       ` Tom Tromey
2011-10-19 13:10         ` Lluís
2011-10-19 13:38           ` Tom Tromey
2011-10-19 14:14             ` Lluís
2011-10-19 14:35           ` Stefan Monnier
2011-10-19 14:54             ` Tom Tromey
2011-10-19 17:54               ` Stefan Monnier
2011-10-19 18:55                 ` Lluís
2011-10-19 21:22                   ` Stefan Monnier
2011-10-20 16:11                     ` Lluís
2011-10-21 17:20                       ` Stefan Monnier
2011-10-23 19:47                         ` Lluís
2011-10-28  2:25                           ` Stefan Monnier
2011-10-19 15:42             ` Lluís
2011-03-09 22:23 ` Andreas Schwab
  -- strict thread matches above, loose matches on Subject: below --
2011-03-09  0:22 Nick Roberts
2011-03-09 14:20 ` Andrea Crotti
2011-03-10 13:50 Nick Roberts
2011-03-10 14:07 ` Andreas Schwab

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=83r52qgfjo.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=david.reitter@gmail.com \
    --cc=emacs-devel@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.