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.
This commit is contained in:
Simon Marchi 2018-03-04 20:02:35 -05:00
parent 5e3290e973
commit 3dea1ef72c
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2018-03-04 Simon Marchi <simon.marchi@polymtl.ca>
* record-btrace.c (btrace_print_lines): Change type of flags to
gdb_disassembly_flags.
2018-03-04 John Baldwin <jhb@FreeBSD.org>
* fbsd-nat.c: Include "inf-ptrace.h".

View File

@ -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;