Use readline's 'history_max_entries' instead of the old 'max_input_history'.
authorPedro Alves <palves@redhat.com>
Tue, 26 Mar 2013 16:47:02 +0000 (16:47 +0000)
committerPedro Alves <palves@redhat.com>
Tue, 26 Mar 2013 16:47:02 +0000 (16:47 +0000)
commit1fb2e2b56901690331720448836755a4eee944c7
tree7ffbe22450fe009b99003d40b956e1d0c5a4fb77
parent9b978282144d6bab479c042070c66bdfcdae6b02
Use readline's 'history_max_entries' instead of the old 'max_input_history'.

Ref: http://www.sourceware.org/ml/gdb-patches/2002-08/msg00486.html

We've long since imported a newer readline, no need to use the old
compatibility variable anymore.

Tested on x86_64 Fedora 17.

gdb/
2013-03-26  Pedro Alves  <palves@redhat.com>

* top.c (gdb_rl_operate_and_get_next): Replace max_input_history
use with history_max_entries use.  Remove FIXME note.
gdb/ChangeLog
gdb/top.c