public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug cli/17820] New: set history size unlimited in ~/.gdbinit disables history
@ 2015-01-08 20:21 dje at google dot com
  2015-04-25 22:08 ` [Bug cli/17820] " przemyslaw at pawelczyk dot it
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: dje at google dot com @ 2015-01-08 20:21 UTC (permalink / raw)
  To: gdb-prs

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.


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2015-06-17 13:45 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-01-08 20:21 [Bug cli/17820] New: set history size unlimited in ~/.gdbinit disables history dje at google dot com
2015-04-25 22:08 ` [Bug cli/17820] " przemyslaw at pawelczyk dot it
2015-05-01 15:55 ` dje at google dot com
2015-05-13 13:28 ` cvs-commit at gcc dot gnu.org
2015-06-17 13:45 ` cvs-commit 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).