This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug cli/17820] New: set history size unlimited in ~/.gdbinit disables history
- From: "dje at google dot com" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Thu, 08 Jan 2015 20:21:34 +0000
- Subject: [Bug cli/17820] New: set history size unlimited in ~/.gdbinit disables history
- Auto-submitted: auto-generated
https://sourceware.org/bugzilla/show_bug.cgi?id=17820
Bug ID: 17820
Summary: set history size unlimited in ~/.gdbinit disables
history
Product: gdb
Version: HEAD
Status: NEW
Severity: normal
Priority: P2
Component: cli
Assignee: unassigned at sourceware dot org
Reporter: dje at google dot com
I have this in my ~/.gdbinit:
set history size unlimited
but I generally always use emacs so I've never noticed this.
It doesn't work because while set_history_size_command knows how to
map "unlimited" (== UINT_MAX) to DTRT, init_history does not, which passes
UINT_MAX to stifle_history, which takes an int, and boom.
--
You are receiving this mail because:
You are on the CC list for the bug.