Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Per Bothner <per@bothner.com>
To: David Carlton <carlton@math.stanford.edu>
Cc: Michael Snyder <msnyder@redhat.com>, gdb-patches@sources.redhat.com
Subject: Re: gdb patch to suppress empty lines, re-visited
Date: Fri, 13 Dec 2002 13:36:00 -0000	[thread overview]
Message-ID: <3DFA4D38.50409@bothner.com> (raw)
In-Reply-To: <3DF6CDC2.5050105@bothner.com>

David Carlton wrote:

> I don't know if I like it or not, and I don't think I'll know until
> I've actually tried it.  My first reaction is slightly negative, and
> I'm not at all sure how well it will work with XEmacs's GDB mode: if I
> do a bunch of steps through a function, I get output like this:
>
> (gdb) s
> (gdb)
> (gdb)
> (gdb)
> (gdb)
> (gdb)
> (gdb)
>
> because the mode isn't showing me the source code information in that
> buffer (since it's available in another buffer), and I can't imagine
> your patch doing anything good to that output.

But it doesn't do anything bad either.  My patch just sets a readline
flag, and my understanding is that Emacs gdb mode does not use readline.
(Exception: if you use the unmaintained tgud.el, which uses term.el's
terminal emulator.  I'd be surprised if anybody even knows about it!)

> (I have no idea what
> GNU Emacs's GDB mode looks like: for some reason, XEmacs uses a
> different (older?) one.)  So if your patch would change the output in
> this situation, I'm dubious.  But maybe it wouldn't; I'm not sure if
> the ISATTY (instream) guard would protect against this situation.


It should.
-- 
	--Per Bothner
per@bothner.com   http://www.bothner.com/per/


  reply	other threads:[~2002-12-13 21:29 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-12-10 23:01 Per Bothner
2002-12-11 15:38 ` Michael Snyder
2002-12-11 15:50   ` Per Bothner
2002-12-11 16:01   ` Daniel Jacobowitz
2002-12-13 12:22   ` Per Bothner
2002-12-13 12:38     ` Andrew Cagney
     [not found]       ` <ac131313@redhat.com>
2002-12-13 12:44         ` Kevin Buettner
2002-12-13 13:16       ` Daniel Jacobowitz
2002-12-13 13:49       ` Per Bothner
2002-12-13 12:53     ` David Carlton
2002-12-13 13:36       ` Per Bothner [this message]
2002-12-11 22:17 Michael Elizabeth Chastain

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=3DFA4D38.50409@bothner.com \
    --to=per@bothner.com \
    --cc=carlton@math.stanford.edu \
    --cc=gdb-patches@sources.redhat.com \
    --cc=msnyder@redhat.com \
    /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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox