public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug gdb/30420] New: [gdb/emacs] Maint info screen in emacs
@ 2023-05-04 9:26 vries at gcc dot gnu.org
2023-05-22 16:35 ` [Bug gdb/30420] " vries at gcc dot gnu.org
0 siblings, 1 reply; 2+ messages in thread
From: vries at gcc dot gnu.org @ 2023-05-04 9:26 UTC (permalink / raw)
To: gdb-prs
https://sourceware.org/bugzilla/show_bug.cgi?id=30420
Bug ID: 30420
Summary: [gdb/emacs] Maint info screen in emacs
Product: gdb
Version: HEAD
Status: NEW
Severity: minor
Priority: P2
Component: gdb
Assignee: unassigned at sourceware dot org
Reporter: vries at gcc dot gnu.org
Target Milestone: ---
I had the idea to try out "maint info screen" in the gdb mode of emacs.
Firstly, I have a terminal with:
...
$ echo $LINES
28
$ echo $COLUMNS
118
$ echo $TERM
xterm
...
After starting /usr/bin/emacs -nw, and doing M-x gdb, and executing "gdb
-i=mi", I get:
...
(gdb) maint info screen
Number of characters gdb thinks are in a line is 116.
Number of characters readline reports are in a line is 115.
Number of characters curses thinks are in a line is 118.
Number of characters environment thinks are in a line is 117 (COLUMNS).
Number of lines gdb thinks are in a page is 4294967295 (unlimited).
Number of lines readline reports are in a page is 32767 (unlimited).
Number of lines curses thinks are in a page is 25.
Number of lines environment thinks are in a page is 25 (LINES).
(gdb) shell echo $TERM
dumb
(gdb)
...
I was a bit bewildered by the 115/116/117/118. I'm hoping this'll make more
sense once PR30346 is fixed.
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 2+ messages in thread
* [Bug gdb/30420] [gdb/emacs] Maint info screen in emacs
2023-05-04 9:26 [Bug gdb/30420] New: [gdb/emacs] Maint info screen in emacs vries at gcc dot gnu.org
@ 2023-05-22 16:35 ` vries at gcc dot gnu.org
0 siblings, 0 replies; 2+ messages in thread
From: vries at gcc dot gnu.org @ 2023-05-22 16:35 UTC (permalink / raw)
To: gdb-prs
https://sourceware.org/bugzilla/show_bug.cgi?id=30420
--- Comment #1 from Tom de Vries <vries at gcc dot gnu.org> ---
I got now:
...
Number of characters gdb thinks are in a line is 117.
Number of characters readline reports are in a line is 116.
Number of characters curses thinks are in a line is 118.
Number of characters environment thinks are in a line is 117 (COLUMNS).
...
which is less bad, but still doesn't make sense to me.
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-05-22 16:35 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-05-04 9:26 [Bug gdb/30420] New: [gdb/emacs] Maint info screen in emacs vries at gcc dot gnu.org
2023-05-22 16:35 ` [Bug gdb/30420] " vries at gcc dot gnu.org
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).