Article View: gnu.gdb.bug
Article #716Highly annoying output behaviour of gdb 3.1
From: jkh
Date: Sat, 11 Mar 1989 17:07
Date: Sat, 11 Mar 1989 17:07
23 lines
1532 bytes
1532 bytes
Actually, it's probably been around since 2.0, but anyway... There are 4 files in gdb (main.c, infcmd.c, infrun.c and symtab.c) that like to put up messages of the form "---- Type Return to see more ----" so that interactive users can catch up to the output. However, this feature is not only useless when you're running gdb as an inferior of some more sophisticated front end, it's a real pain in the ass. In my case, I'm using an X11 based front-end that really doesn't want to see messages like that pop up and gets confused. At first I thought "Oh, there's probably some option to turn those off.." Nope. They're hardwired in. My suggestion is that they all be replaced with one function "break_page()" that prints that message out only if "isatty()" indicates that gdb is being run interactively. This is what I've done in my copy of gdb, but I'd rather see an official fix as my X11 front end is going to depend on things being this way and it won't work when I release it if everyone's gdb is still printing out this garbage.. Jordan Hubbard pyramid!pcsbst!jkh
Technical Details
Message-ID:
<769@pcsbst.UUCP>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!ukma!xanth!uunet!mcvax!unido!pcsbst!jkhShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!ukma!xanth!uunet!mcvax!unido!pcsbst!jkh From: jkh@pcsbst.UUCP (jkh) Newsgroups: gnu.gdb.bug Subject: Highly annoying output behaviour of gdb 3.1 Message-ID: <769@pcsbst.UUCP> Date: 11 Mar 89 17:07:22 GMT Reply-To: pcsbst!jkh@pcsbst.UUCP (Jordan K. Hubbard) Organization: PCS GmbH, Pfaelzer-Wald-Str. 36, 8000 Muenchen; West-Germany Lines: 23