freebsd-nq/sys/ddb
Zbigniew Bodek cdf23c193a Add helper to catch single step debug event and distinguish it from bkpt
Some architectures (including ARMv6/v7) do not have separate single step
events and cannot see difference between breakpoint and single step.
Add db_pc_is_singlestep() to avoid skipping instruction we stepped on
to trigger debug event.
This commit does not change the existing functionality but adds possibility
to implement custom db_pc_is_singlestep().

Reviewed by:   imp
Submitted by:  Zbigniew Bodek <zbb@semihalf.com>
Obtained from: Semihalf
Sponsored by:  Juniper Networks Inc.
Differential Revision: https://reviews.freebsd.org/D4036
2015-11-27 19:03:59 +00:00
..
db_access.c
db_access.h
db_break.c
db_break.h
db_capture.c
db_command.c ddb: de-register 2015-05-23 14:59:27 +00:00
db_command.h
db_examine.c Don't return undefined symbols to a DDB symbol lookup. 2015-07-21 23:07:55 +00:00
db_expr.c
db_input.c ddb: de-register 2015-05-23 14:59:27 +00:00
db_lex.c
db_lex.h
db_main.c Don't return undefined symbols to a DDB symbol lookup. 2015-07-21 23:07:55 +00:00
db_output.c
db_output.h
db_print.c Various changes to the registers displayed in DDB for x86. 2015-07-22 01:09:02 +00:00
db_ps.c Make kstack_pages a tunable on arm, x86, and powepc. On i386, the 2015-08-10 17:18:21 +00:00
db_run.c Add helper to catch single step debug event and distinguish it from bkpt 2015-11-27 19:03:59 +00:00
db_script.c
db_sym.c Fix KSTACK_PAGES issue when the default value was changed in KERNCONF 2015-07-16 10:46:52 +00:00
db_sym.h
db_textdump.c
db_thread.c
db_variables.c
db_variables.h
db_watch.c ddb: de-register 2015-05-23 14:59:27 +00:00
db_watch.h
db_write_cmd.c ddb: de-register 2015-05-23 14:59:27 +00:00
ddb.h