From: Simon Marchi Date: Mon, 5 Mar 2018 01:02:35 +0000 (-0500) Subject: Propagate gdb_disassembly_flags to btrace_print_lines X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=3dea1ef72c646d808e5b287e98253f3b8670c450;p=binutils-gdb.git Propagate gdb_disassembly_flags to btrace_print_lines This function can take the flags as the gdb_disassembly_flags type instead of int. gdb/ChangeLog: * record-btrace.c (btrace_print_lines): Change type of flags to gdb_disassembly_flags. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 1190e0f2b36..4a44af4c259 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2018-03-04 Simon Marchi + + * record-btrace.c (btrace_print_lines): Change type of flags to + gdb_disassembly_flags. + 2018-03-04 John Baldwin * fbsd-nat.c: Include "inf-ptrace.h". diff --git a/gdb/record-btrace.c b/gdb/record-btrace.c index d9a1dc593f4..48eda543515 100644 --- a/gdb/record-btrace.c +++ b/gdb/record-btrace.c @@ -601,7 +601,7 @@ btrace_find_line_range (CORE_ADDR pc) static void btrace_print_lines (struct btrace_line_range lines, struct ui_out *uiout, - struct cleanup **ui_item_chain, int flags) + struct cleanup **ui_item_chain, gdb_disassembly_flags flags) { print_source_lines_flags psl_flags; int line;