This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] Test the interaction between GDBHISTSIZE and .gdbinit
- From: Doug Evans <dje at google dot com>
- To: Patrick Palka <patrick at parcs dot ath dot cx>
- Cc: Pedro Alves <palves at redhat dot com>, "gdb-patches at sourceware dot org" <gdb-patches at sourceware dot org>
- Date: Tue, 23 Jun 2015 11:48:20 -0500
- Subject: Re: [PATCH] Test the interaction between GDBHISTSIZE and .gdbinit
- Authentication-results: sourceware.org; auth=none
- References: <1434572241-16019-1-git-send-email-patrick at parcs dot ath dot cx> <55828A13 dot 8030703 at redhat dot com> <CA+C-WL94mhYR4xtquXuR8U6D8Sia7jWhLE-vq=PCKJAE56xEug at mail dot gmail dot com> <CA+C-WL95kqF-9jy0yKVuPqp+mbvrVzpCkvpka3cr2nS9vbRjqQ at mail dot gmail dot com>
On Thu, Jun 18, 2015 at 9:47 AM, Patrick Palka <patrick@parcs.ath.cx> wrote:
> Here is an implementation of save_vars (bad name I know) which can
> successfully replace the manual saving/restoring of globals done in
> gdbinit-history.exp, gdbhistsize-history.exp and readline.exp. (TCL
> sure is cool.)
Emacs has save-excursion so there is some precedent for the naming choice.
LGTM