What | Removed | Added |
---|---|---|
CC | el@horse64.org, matz@suse.com | |
Assignee | matz@suse.com | tdevries@suse.com |
Flags | needinfo?(el@horse64.org) |
In the cases that stuff works unexpectedly, what does (gdb) show history filename say, and does the file in question there contain the expected things or not? Do note that the default filename for saving history is ".gdb_history" in the _current directory_. So, when you do your gdb session in various directories and don't overwrite the history filename you will be given the history from whatever happened to be the history the last time you were in that very directory. (You may want to do a global search for that filename and see if you indeed have various random incarnations of it) (Also, assigning to gdb maintainer).