From: Chris January <chris.january@allinea.com>
To: Joel Brobecker <brobecker@adacore.com>
Cc: Tom Tromey <tromey@redhat.com>, gdb-patches@sourceware.org
Subject: Re: [PATCH 2/2]: Fix clean compile on AIX 5.3
Date: Fri, 16 Mar 2012 11:25:00 -0000 [thread overview]
Message-ID: <1331897138.2787.4.camel@gumtree> (raw)
In-Reply-To: <20120312205214.GP2853@adacore.com>
[-- Attachment #1: Type: text/plain, Size: 321 bytes --]
On Mon, 2012-03-12 at 13:52 -0700, Joel Brobecker wrote:
> > Me neither really, but a little reading convinced me that clear == erase
> > + clearok; so this patch is ok.
>
> Perhaps a quick comment explaining that the two calls should not be
> replaced by a "straightforward" call to "clear"?
Done. New patch attached.
[-- Attachment #2: aix-compile-2.patch --]
[-- Type: text/x-patch, Size: 489 bytes --]
diff --git a/gdb/tui/tui-win.c b/gdb/tui/tui-win.c
index b48bf3e..ea868c6 100644
--- a/gdb/tui/tui-win.c
+++ b/gdb/tui/tui-win.c
@@ -693,7 +693,10 @@ tui_resize_all (void)
cmd_split_diff++;
}
/* Now adjust each window. */
- clear ();
+ /* erase + clearok are used instead of a straightforward clear as
+ AIX 5.3 does not define clear. */
+ erase ();
+ clearok (curscr, TRUE);
refresh ();
switch (cur_layout)
{
next prev parent reply other threads:[~2012-03-16 11:25 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-03-12 12:01 Chris January
2012-03-12 16:02 ` Joel Brobecker
2012-03-12 19:50 ` Tom Tromey
2012-03-12 20:52 ` Joel Brobecker
2012-03-12 21:04 ` Tom Tromey
2012-03-16 11:25 ` Chris January [this message]
2012-03-16 18:22 ` Tom Tromey
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=1331897138.2787.4.camel@gumtree \
--to=chris.january@allinea.com \
--cc=brobecker@adacore.com \
--cc=gdb-patches@sourceware.org \
--cc=tromey@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