diff options
author | Markus Metzger <markus.t.metzger@intel.com> | 2014-05-15 10:57:36 +0200 |
---|---|---|
committer | Markus Metzger <markus.t.metzger@intel.com> | 2014-05-20 14:18:10 +0200 |
commit | e59fa00fa07f37aa04d38aecaf8098e01aaf253d (patch) | |
tree | 0d8f16048122b342d48c2b03acfb8438c57bfb57 /gdb/xml-tdesc.h | |
parent | 00b32ff21f710a5eed92c9fdf51c32103bcc4176 (diff) | |
download | gdb-e59fa00fa07f37aa04d38aecaf8098e01aaf253d.zip gdb-e59fa00fa07f37aa04d38aecaf8098e01aaf253d.tar.gz gdb-e59fa00fa07f37aa04d38aecaf8098e01aaf253d.tar.bz2 |
btrace: no replay without history
When using a reverse execution command without execution history, GDB
might end up in a state where replaying has been started but remains
at the current instruction. This state is illegal.
Do not step if there is no execution history to avoid this.
2014-05-20 Markus Metzger <markus.t.metzger@intel.com>
* record-btrace.c (record_btrace_step_thread): Check for empty history.
testsuite/
* gdb.btrace/nohist.exp: New.
Diffstat (limited to 'gdb/xml-tdesc.h')
0 files changed, 0 insertions, 0 deletions