diff options
author | Markus Metzger <markus.t.metzger@intel.com> | 2014-01-29 12:56:09 +0100 |
---|---|---|
committer | Markus Metzger <markus.t.metzger@intel.com> | 2015-02-09 09:46:49 +0100 |
commit | 7d5c24b3ae60b6cfa41ebf9329b2f7832053b0f6 (patch) | |
tree | 3eb45782a6a59d4d86ebef71ec5716b170754ce1 /intl/localcharset.h | |
parent | 76235df10b96f85815d799b586a6bb32bc89c90f (diff) | |
download | gdb-7d5c24b3ae60b6cfa41ebf9329b2f7832053b0f6.zip gdb-7d5c24b3ae60b6cfa41ebf9329b2f7832053b0f6.tar.gz gdb-7d5c24b3ae60b6cfa41ebf9329b2f7832053b0f6.tar.bz2 |
btrace: extend struct btrace_insn
Add the instruction's size as well as a coarse classification to struct
btrace_insn. Use the information in ftrace_update_function and
ftrace_find_call.
2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
* btrace.h (btrace_insn_class): New.
(btrace_insn) <size, iclass>: New.
* btrace.c (ftrace_find_call): Update parameters. Update users.
Use instruction classification.
(ftrace_new_return): Update parameters. Update users.
(ftrace_update_function): Update parameters. Update users. Use
instruction classification.
(ftrace_update_insns): Update parameters. Update users.
(ftrace_classify_insn): New.
(btrace_compute_ftrace_bts): Fill in new btrace_insn fields. Add
TRY_CATCH around call to gdb_insn_length.
Diffstat (limited to 'intl/localcharset.h')
0 files changed, 0 insertions, 0 deletions