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 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 Content-type: text/plain; charset=iso-8859-1 Content-transfer-encoding: QUOTED-PRINTABLE X-012-Sender: halo1 AT inter DOT net DOT il References: <80783695-b15d-47a5-a028-6a90a2768f49 AT r33g2000prh DOT googlegroups DOT com> <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 Precedence: bulk > From: Rugxulo > Date: Mon, 23 May 2011 09:12:40 -0700 (PDT) >=20 > On May 23, 2:28=A0am, Eli Zaretskii wrote: > > > From: Jim Michaels > > > 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.