This is the mail archive of the gdb-prs@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug gdb/16819] New: Can't navigate in gdb history (<Up>/<Down> does not work)


https://sourceware.org/bugzilla/show_bug.cgi?id=16819

            Bug ID: 16819
           Summary: Can't navigate in gdb history (<Up>/<Down> does not
                    work)
           Product: gdb
           Version: 7.6
            Status: NEW
          Severity: normal
          Priority: P2
         Component: gdb
          Assignee: unassigned at sourceware dot org
          Reporter: mliska at suse dot cz

gdb does not navigate in history with arrows, if I try to swich to TUI mode,
arrows correctly move TUI window.

cat ~/.gdbinit
set history filename ~/.gdb_history
set history save

(gdb) show history filename
The filename in which to record the command history is
"/home/marxin/.gdb_history"

Strange thing is that:
wc -m ~/.gdb_history 
0 /home/marxin/.gdb_history

But even if I remove ~/.gdbinit script, still no history navigation support.

gdb --version
GNU gdb (GDB; openSUSE 13.1) 7.6.50.20130731-cvs

I tried to build gdb from binutils-gdb repository and the same behavior:
./gdb/gdb --version
GNU gdb (GDB) 7.7.50.20140304-cvs

I use gnome-terminal, but it behaves same as e.g. xterm.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]