public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
* [pushed] Propagate gdb_disassembly_flags to btrace_print_lines
@ 2018-03-05  1:05 Simon Marchi
  0 siblings, 0 replies; only message in thread
From: Simon Marchi @ 2018-03-05  1:05 UTC (permalink / raw)
  To: gdb-patches; +Cc: Simon Marchi

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.
---
 gdb/ChangeLog       | 5 +++++
 gdb/record-btrace.c | 2 +-
 2 files changed, 6 insertions(+), 1 deletion(-)

diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 1190e0f2b3..4a44af4c25 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -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".
diff --git a/gdb/record-btrace.c b/gdb/record-btrace.c
index d9a1dc593f..48eda54351 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;
-- 
2.16.1

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2018-03-05  1:05 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-03-05  1:05 [pushed] Propagate gdb_disassembly_flags to btrace_print_lines Simon Marchi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).