[binutils-gdb] Propagate record_print_flags
sergiodj+buildbot@sergiodj.net
sergiodj+buildbot@sergiodj.net
Thu Mar 1 16:07:00 GMT 2018
*** TEST RESULTS FOR COMMIT 0cb7c7b0bb79be910e261f3d30c58ace6b0d06d1 ***
Author: Simon Marchi <simon.marchi@ericsson.com>
Branch: master
Commit: 0cb7c7b0bb79be910e261f3d30c58ace6b0d06d1
Propagate record_print_flags
These flags are returned as an int by get_call_history_modifiers, and
get cast back to record_print_flags in the btrace code. Instead, we can
make the arguments of that type from start to end.
gdb/ChangeLog:
* record.c (get_call_history_modifiers): Return a
record_print_flags.
(cmd_record_call_history): Adjust.
* record-btrace.c (record_btrace_call_history): Adjust.
(record_btrace_call_history_range): Adjust.
(record_btrace_call_history_from): Adjust.
* target-debug.h (target_debug_print_record_print_flags): New.
* target-delegates.c: Re-generate.
* target.c (target_call_history): Change flags type.
(target_call_history_from): Likewise.
(target_call_history_range): Likewise.
* target.h (struct target_ops) <target_call_history>: Likewise.
(target_call_history_from): Likewise.
(target_call_history_range): Likewise.
More information about the Gdb-testers
mailing list