Sample Header Ad - 728x90

Up-arrow does not complete the typed command in gdb, but instead iterates through all the history

1 vote
2 answers
84 views
I am having trouble with gdb. When I start pushing the Up Arrow key, it iterates backwards through the history. However, if I start typing a command, like b, instead of iterating only through history entries beginning with b, gdb still iterates backwards through all the history. The regular terminal (zsh) is fine. How do I make gdb iterate only through the history with the relevant commands?
Asked by havakok (249 rep)
Jan 19, 2025, 12:57 PM
Last activity: Jan 20, 2025, 09:18 AM