From: Dima Kogan <dima@secretsauce.net>
To: Andreas Schwab <schwab@linux-m68k.org>
Cc: 21777@debbugs.gnu.org
Subject: bug#21777: 25.0.50; gud-gdb uses a pager, which is harmful inside emacs
Date: Wed, 28 Oct 2015 15:57:37 -0700 [thread overview]
Message-ID: <87twpaha8u.fsf@secretsauce.net> (raw)
In-Reply-To: <87fv0uaas1.fsf@igel.home>
Andreas Schwab <schwab@linux-m68k.org> writes:
> Dima Kogan <dima@secretsauce.net> writes:
>
>> Emacs from git says
>>
>> (gdb) show height
>> Number of lines gdb thinks are in a page is 24.
>
> This is something that needs to be fixed in gdb, see init_page_info in
> gdb/utils.c.
Hi. Thanks for replying. Looking at gdb/utils.c, apparently gdb looks at
the EMACS environment variable, which was set previously but is not
anymore:
https://github.com/emacs-mirror/emacs/commit/beaab898968caf8b243a33d24824d430fabc31fc
This patch in emacs is what broke it. Options:
1. revert above patch
2. patch gdb to look at INSIDE_EMACS not EMACS
3. handle this inside emacs, not relying on gdb behavior
I like 3. Emacs should be responsible for things emacs wants, not
external applications, even if they're GNU applications.
Also, it looks like gdb checks EMACS in a few more places, and I haven't
looked at those yet.
Thoughts?
next prev parent reply other threads:[~2015-10-28 22:57 UTC|newest]
Thread overview: 34+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-10-28 19:20 bug#21777: 25.0.50; gud-gdb uses a pager, which is harmful inside emacs Dima Kogan
2015-10-28 22:27 ` Andreas Schwab
2015-10-28 22:57 ` Dima Kogan [this message]
2015-10-29 16:16 ` Eli Zaretskii
2015-10-29 22:58 ` Dima Kogan
2015-10-30 3:43 ` Dima Kogan
2015-10-30 8:17 ` Eli Zaretskii
2015-10-30 9:13 ` Dima Kogan
2015-10-30 9:32 ` Eli Zaretskii
2015-10-30 14:01 ` Eli Zaretskii
2015-10-30 19:05 ` Dima Kogan
2015-10-30 20:34 ` Eli Zaretskii
2020-09-20 21:18 ` Lars Ingebrigtsen
2020-09-21 14:03 ` Eli Zaretskii
2020-09-21 14:07 ` Lars Ingebrigtsen
2020-09-22 15:46 ` Eli Zaretskii
2020-09-22 15:51 ` Lars Ingebrigtsen
2020-09-22 15:57 ` Andreas Schwab
2020-09-22 16:09 ` Eli Zaretskii
2020-09-22 16:19 ` Andreas Schwab
2020-09-22 16:51 ` Eli Zaretskii
2020-09-22 17:18 ` Andreas Schwab
2020-09-22 17:39 ` Eli Zaretskii
2020-09-22 17:46 ` Andreas Schwab
2020-09-23 12:53 ` Lars Ingebrigtsen
2020-09-23 14:41 ` Eli Zaretskii
2020-09-24 14:15 ` Lars Ingebrigtsen
2020-09-24 15:06 ` Eli Zaretskii
2020-09-25 9:55 ` Lars Ingebrigtsen
2020-09-24 14:16 ` Eli Zaretskii
2020-09-24 14:29 ` Lars Ingebrigtsen
2020-09-24 15:08 ` Eli Zaretskii
2015-10-30 7:54 ` Eli Zaretskii
2019-09-29 21:49 ` Stefan Kangas
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87twpaha8u.fsf@secretsauce.net \
--to=dima@secretsauce.net \
--cc=21777@debbugs.gnu.org \
--cc=schwab@linux-m68k.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.