Commit d894bafc by Vladislav Ivanishin Committed by Vladislav Ivanishin

gdbinit.in: add reload-gdbhooks (rh) command

gcc/ChangeLog:

2019-07-23  Vladislav Ivanishin <vlad@ispras.ru>

	* gdbinit.in (reload-gdbhooks): New command with an attached doc string.
	(rh): New alias for it.

From-SVN: r273738
parent e41dd068
2019-07-23 Vladislav Ivanishin <vlad@ispras.ru>
* gdbinit.in (reload-gdbhooks): New command with an attached doc string.
(rh): New alias for it.
2019-07-23 Vladislav Ivanishin <vlad@ispras.ru>
* gdbhooks.py: Pass replace=True to
gdb.printing.register_pretty_printer.
......
......@@ -219,6 +219,16 @@ is emitted (as opposed to those warnings that are suppressed by
command-line options).
end
define reload-gdbhooks
python import imp; imp.reload(gdbhooks)
end
document reload-gdbhooks
Load the gdbhooks.py module again in order to pick up any changes made to it.
end
alias rh = reload-gdbhooks
# Define some macros helpful to gdb when it is expanding macros.
macro define __FILE__ "gdb"
macro define __LINE__ 1
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment