You can see all the commands you have already entered by using the history command.
To view the command history:
If you are not already in IDB mode, switch to IDB mode using the following command.
(idb) set variable $cmdset = "idb"
The debugger is now in IDB mode, so you can use the history command.
Enter the following command:
(idb) history
The debugger displays the command history.
If you want to switch to GDB mode, use the following command:
(idb) set $cmdset = "gdb"
GDB Mode:
In GDB mode, the debugger reads the .gdb_history file by default.
To rename the history file:
Set the environment variable GDBHISTFILE to the name of the history file you want to use.
To turn history recording on and off:
Use the set history save command.
To configure the history size:
Use the set history size command or set the environment variable HISTSIZE to the size you want. The default history size is 256.
Copyright © 2001-2011, Intel Corporation. All rights reserved.