projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Class-ify ui_out
[deliverable/binutils-gdb.git]
/
gdb
/
i386-linux-tdep.c
diff --git
a/gdb/i386-linux-tdep.c
b/gdb/i386-linux-tdep.c
index eeaf6211ef2f64f38c730dd66ba55bb30b68866d..c2f23e5f38d0e561629e0d39d40a5b305b1d8c7e 100644
(file)
--- a/
gdb/i386-linux-tdep.c
+++ b/
gdb/i386-linux-tdep.c
@@
-429,27
+429,22
@@
i386_linux_handle_segmentation_fault (struct gdbarch *gdbarch,
is_upper = (access > upper_bound ? 1 : 0);
is_upper = (access > upper_bound ? 1 : 0);
- ui
_out_text (uiout,
"\n");
+ ui
out->text (
"\n");
if (is_upper)
if (is_upper)
- ui_out_field_string (uiout, "sigcode-meaning",
- _("Upper bound violation"));
+ uiout->field_string ("sigcode-meaning", _("Upper bound violation"));
else
else
- ui_out_field_string (uiout, "sigcode-meaning",
- _("Lower bound violation"));
+ uiout->field_string ("sigcode-meaning", _("Lower bound violation"));
- ui_out_text (uiout, _(" while accessing address "));
- ui_out_field_fmt (uiout, "bound-access", "%s",
- paddress (gdbarch, access));
+ uiout->text (_(" while accessing address "));
+ uiout->field_fmt ("bound-access", "%s", paddress (gdbarch, access));
- ui_out_text (uiout, _("\nBounds: [lower = "));
- ui_out_field_fmt (uiout, "lower-bound", "%s",
- paddress (gdbarch, lower_bound));
+ uiout->text (_("\nBounds: [lower = "));
+ uiout->field_fmt ("lower-bound", "%s", paddress (gdbarch, lower_bound));
- ui_out_text (uiout, _(", upper = "));
- ui_out_field_fmt (uiout, "upper-bound", "%s",
- paddress (gdbarch, upper_bound));
+ uiout->text (_(", upper = "));
+ uiout->field_fmt ("upper-bound", "%s", paddress (gdbarch, upper_bound));
- ui
_out_text (uiout,
_("]"));
+ ui
out->text (
_("]"));
}
/* Parse the arguments of current system call instruction and record
}
/* Parse the arguments of current system call instruction and record
This page took
0.026591 seconds
and
4
git commands to generate.