diff options
-rw-r--r-- | gdb/ChangeLog | 7 | ||||
-rw-r--r-- | gdb/record-btrace.c | 4 | ||||
-rw-r--r-- | gdb/record.c | 4 | ||||
-rw-r--r-- | gdb/record.h | 4 |
4 files changed, 13 insertions, 6 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index bb17a56..ffd9263 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,10 @@ +2013-09-02 Markus Metzger <markus.t.metzger@intel.com> + + * record.h (record_print_flag) <record_print_src_line, + record_print_insn_range>: Rename into ... + (record_print_flag) <record_print_src_line, + record_print_insn_range>: ... this. Update all users. + 2013-09-02 Pierre Muller <muller@sourceware.org> * windows-nat.c (windows_xfer_memory): Handle ERROR_PARTIAL_COPY diff --git a/gdb/record-btrace.c b/gdb/record-btrace.c index 8fb413e..68f40c8 100644 --- a/gdb/record-btrace.c +++ b/gdb/record-btrace.c @@ -469,13 +469,13 @@ btrace_func_history (struct btrace_thread_info *btinfo, struct ui_out *uiout, ui_out_field_uint (uiout, "index", idx); ui_out_text (uiout, "\t"); - if ((flags & record_print_insn_range) != 0) + if ((flags & RECORD_PRINT_INSN_RANGE) != 0) { btrace_func_history_insn_range (uiout, bfun); ui_out_text (uiout, "\t"); } - if ((flags & record_print_src_line) != 0) + if ((flags & RECORD_PRINT_SRC_LINE) != 0) { btrace_func_history_src_line (uiout, bfun); ui_out_text (uiout, "\t"); diff --git a/gdb/record.c b/gdb/record.c index cbbe365..07b1b97 100644 --- a/gdb/record.c +++ b/gdb/record.c @@ -570,10 +570,10 @@ get_call_history_modifiers (char **arg) switch (*args) { case 'l': - modifiers |= record_print_src_line; + modifiers |= RECORD_PRINT_SRC_LINE; break; case 'i': - modifiers |= record_print_insn_range; + modifiers |= RECORD_PRINT_INSN_RANGE; break; default: error (_("Invalid modifier: %c."), *args); diff --git a/gdb/record.h b/gdb/record.h index 86e6bc6..65d508f 100644 --- a/gdb/record.h +++ b/gdb/record.h @@ -36,10 +36,10 @@ extern struct cmd_list_element *info_record_cmdlist; enum record_print_flag { /* Print the source file and line (if applicable). */ - record_print_src_line = (1 << 0), + RECORD_PRINT_SRC_LINE = (1 << 0), /* Print the instruction number range (if applicable). */ - record_print_insn_range = (1 << 1), + RECORD_PRINT_INSN_RANGE = (1 << 1), }; /* Wrapper for target_read_memory that prints a debug message if |