aboutsummaryrefslogtreecommitdiff
path: root/djunpack.bat
diff options
context:
space:
mode:
authorAndrew Burgess <andrew.burgess@embecosm.com>2021-07-30 12:56:34 +0100
committerAndrew Burgess <andrew.burgess@embecosm.com>2021-09-07 10:54:07 +0100
commit540bf37b2539923dc70b96eea7cb870522ffd7ec (patch)
tree8ae12cd4c68badb1f42eee23980e369ef68ed473 /djunpack.bat
parent3f1a2892e1fea343880b276474cb44db3abcaa9a (diff)
downloadgdb-540bf37b2539923dc70b96eea7cb870522ffd7ec.zip
gdb-540bf37b2539923dc70b96eea7cb870522ffd7ec.tar.gz
gdb-540bf37b2539923dc70b96eea7cb870522ffd7ec.tar.bz2
gdb/python: new function to add values into GDB's history
The guile API has (history-append! <value>) to add values into GDB's history list. There is currently no equivalent in the Python API. This commit adds gdb.add_history(<value>) to the Python API, this function takes <value> a gdb.Value (or anything that can be passed to the constructor of gdb.Value), and adds the value it represents to GDB's history list. The index of the newly added value is returned.
Diffstat (limited to 'djunpack.bat')
0 files changed, 0 insertions, 0 deletions