delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2011/05/23/02:30:27

X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f
From: Jim Michaels <jmichae3 AT yahoo DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: gdb doesn't work on windows
Date: Sun, 22 May 2011 23:13:06 -0700 (PDT)
Organization: http://groups.google.com
Lines: 23
Message-ID: <80783695-b15d-47a5-a028-6a90a2768f49@r33g2000prh.googlegroups.com>
NNTP-Posting-Host: 24.22.56.37
Mime-Version: 1.0
X-Trace: posting.google.com 1306131187 30727 127.0.0.1 (23 May 2011 06:13:07 GMT)
X-Complaints-To: groups-abuse AT google DOT com
NNTP-Posting-Date: Mon, 23 May 2011 06:13:07 +0000 (UTC)
Complaints-To: groups-abuse AT google DOT com
Injection-Info: r33g2000prh.googlegroups.com; posting-host=24.22.56.37; posting-account=05hOMwoAAAB6R8xtiQKzEljSMzgOhVF1
User-Agent: G2/1.0
X-HTTP-UserAgent: Mozilla/5.0 (Windows NT 5.1; rv:2.0.1) Gecko/20100101 Firefox/4.0.1,gzip(gfe)
Bytes: 1928
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

the curses library that gdb is using doesn't work on windows XP's
cmd.exe or windows command.com.
I don't like curses.  ncurses (no curses) works much better, however,
I am not the author.

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).  within
that temporary 50-line mode while the djgpp program runs, with gdb I
get a gdb line at the bottom of the console and the cursor at the
center left.  if I press enter, the gdb line appears where the cursor
was.  once in a while, I get 2 gdb lines during my debugging session,
which essentially consists of:

gdb buildnum.exe
 (press enter to see the prompt in its new place)
r  -bat phone -txt buildnm -cmd laramie
l 10
q

with the l command I don't see any lines of my code, I only see the
gdb command prompt and some hacked-off output.

somebody please fix.

- Raw text -


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