Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Andrew Cagney <ac131313@cygnus.com>
To: Stephane Carrez <Stephane.Carrez@worldnet.fr>
Cc: gdb-patches@sources.redhat.com
Subject: Re: [RFA]: Fix utils.c and printcmd.c for tui
Date: Thu, 19 Jul 2001 09:22:00 -0000	[thread overview]
Message-ID: <3B570924.6030007@cygnus.com> (raw)
In-Reply-To: <3B5608F0.5F04A0D8@worldnet.fr>

> The following patch simplifies the tui portions in utils.c and printcmd.c
> by calling simple tui functions rather than having some tui specific code.
> I've not found a better solution (yet) to solve these tui dependencies in
> gdb common code.


FYI, while the patches are in David's area, I think there is a strong 
argument for them being ``obvious''.

As for a better way?

For disassembly and registers, say there was a function like:

	libgdb_disassemble_...(ui-out, ....)

that you could call.  It would just return the asembly output you need. 
  Similar for registers.

Regarding the pager, yes, um er.  One theory is that pageable output 
goes to gdb_stdout while non-pageable output is sent to gdb_stderr and 
gdb_stdtarg.

	Andrew


      reply	other threads:[~2001-07-19  9:22 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-07-18 15:04 Stephane Carrez
2001-07-19  9:22 ` Andrew Cagney [this message]

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=3B570924.6030007@cygnus.com \
    --to=ac131313@cygnus.com \
    --cc=Stephane.Carrez@worldnet.fr \
    --cc=gdb-patches@sources.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