record: upcase record_print_flag enumeration constants
* 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.
This commit is contained in:
parent
cee83bcb49
commit
1e038f67a9
4 changed files with 13 additions and 6 deletions
|
@ -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>
|
2013-09-02 Pierre Muller <muller@sourceware.org>
|
||||||
|
|
||||||
* windows-nat.c (windows_xfer_memory): Handle ERROR_PARTIAL_COPY
|
* windows-nat.c (windows_xfer_memory): Handle ERROR_PARTIAL_COPY
|
||||||
|
|
|
@ -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_field_uint (uiout, "index", idx);
|
||||||
ui_out_text (uiout, "\t");
|
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);
|
btrace_func_history_insn_range (uiout, bfun);
|
||||||
ui_out_text (uiout, "\t");
|
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);
|
btrace_func_history_src_line (uiout, bfun);
|
||||||
ui_out_text (uiout, "\t");
|
ui_out_text (uiout, "\t");
|
||||||
|
|
|
@ -570,10 +570,10 @@ get_call_history_modifiers (char **arg)
|
||||||
switch (*args)
|
switch (*args)
|
||||||
{
|
{
|
||||||
case 'l':
|
case 'l':
|
||||||
modifiers |= record_print_src_line;
|
modifiers |= RECORD_PRINT_SRC_LINE;
|
||||||
break;
|
break;
|
||||||
case 'i':
|
case 'i':
|
||||||
modifiers |= record_print_insn_range;
|
modifiers |= RECORD_PRINT_INSN_RANGE;
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
error (_("Invalid modifier: %c."), *args);
|
error (_("Invalid modifier: %c."), *args);
|
||||||
|
|
|
@ -36,10 +36,10 @@ extern struct cmd_list_element *info_record_cmdlist;
|
||||||
enum record_print_flag
|
enum record_print_flag
|
||||||
{
|
{
|
||||||
/* Print the source file and line (if applicable). */
|
/* 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). */
|
/* 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
|
/* Wrapper for target_read_memory that prints a debug message if
|
||||||
|
|
Loading…
Reference in a new issue