🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

1 total messages Started by jkh Sat, 11 Mar 1989 17:07
Highly annoying output behaviour of gdb 3.1
#716
Author: jkh
Date: Sat, 11 Mar 1989 17:07
23 lines
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
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads