delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2011/05/23/13:18:55

X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f
X-Recipient: djgpp AT delorie DOT com
Date: Mon, 23 May 2011 20:18:45 +0300
From: Eli Zaretskii <eliz AT gnu DOT org>
Subject: Re: gdb doesn't work on windows
In-reply-to: <61c217fd-76bb-4c78-bb54-40387937aa01@j13g2000pro.googlegroups.com>
To: djgpp AT delorie DOT com
Message-id: <83ei3pe3nu.fsf@gnu.org>
MIME-version: 1.0
X-012-Sender: halo1 AT inter DOT net DOT il
References: <80783695-b15d-47a5-a028-6a90a2768f49 AT r33g2000prh DOT googlegroups DOT com> <E1QOPYW-0000jb-NF AT fencepost DOT gnu DOT org> <61c217fd-76bb-4c78-bb54-40387937aa01 AT j13g2000pro DOT googlegroups DOT com>
Reply-To: djgpp AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

> From: Rugxulo <rugxulo AT gmail DOT com>
> Date: Mon, 23 May 2011 09:12:40 -0700 (PDT)
>=20
> On May 23, 2:28=A0am, Eli Zaretskii <e DOT  DOT  DOT  AT gnu DOT org> wrote:
> > > From: Jim Michaels <jmich DOT  DOT  DOT  AT yahoo DOT com>
> > > Newsgroups: comp.os.msdos.djgpp
> > > Date: Sun, 22 May 2011 23:13:06 -0700 (PDT)
> >
> > > the curses library that gdb is using doesn't work on windows XP=
's
> > > cmd.exe or windows command.com.
> >
> > What version of GDB is that? =A0Are you using gdb.exe or gdbtui.e=
xe?
> >
> > FWIW, I'm using the DJGPP GDB on Windows XP and have no such
> > problems. =A0And AFAIR, building GDB for DJGPP does not require c=
urses
> > at all, except perhaps for the TUI build.
>=20
> Doesn't WinXP resize the console for DOS apps?

It does, if the application uses direct console I/O.  It doesn't as
long as the application uses strictly text I/O via stdio or similar
functions.

> The OP said, "what I essentially get with all djgpp products is a
> temporary 50-line mode (all my consoles have 9999 lines and 80 or
> 132 columns)."

He also said (see above) "the curses library that gdb is using doesn'=
t
work".  If by "doesn't work" he meant "resizes the screen", then
that's indeed normal, has nothing to do with curses, and is not
"doesn't work" in my book.

> What size console do you use, Eli?

80x50, of course.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019