|
From: | Pete Beardmore |
Subject: | bug#7575: gdb command history saving |
Date: | Mon, 6 Dec 2010 16:49:24 +0000 |
User-agent: | Internet Messaging Program (IMP) H3 (4.3.6) |
Hi.When GDB is used through emacs, command history is not saved to my .gdbhist file on gdb 'quit'.
I use a MinGW/msys/bash environment. When gdb is used from the shell prompt, the settings in .gdbinit are sufficient to ensure ~/.gdbhist (or h:/install/MinGW/msys/1.0/home/pbeardm1/.gdbhist ..I've experimented with both) is successfully written to with the GDB command history.
When i use GNU emacs 23.2.1 (i386-mingw-nt5.1.2600) from this shell and start the debugger within, having typed a few arbitrary commands to populate the command history / ring, i quit the debugger and ..
..observe a time stamp change on the correct .gdbhist file ..BUT find its content exactly as it was previously i.e. with nothing appended.
I expect to see my last GDB commands written to the file.Note: through emacs, this file is not read either ..which makes me think that i haven't tweaked 'input ring' settings to use this file as a 'ring source' or something. I enquired on the IRC channel and got tumbleweeds ..hence i call this a 'bug' (quotes) to leave room for the possibility of it being a trivial config issue!
Thanks.
[Prev in Thread] | Current Thread | [Next in Thread] |