do_field_string (fldno, width, align, fldname, string, style);
}
-void
-ui_out::field_string (const char *fldname, const std::string &string,
- const ui_file_style &style)
-{
- field_string (fldname, string.c_str (), style);
-}
-
/* VARARGS */
void
ui_out::field_fmt (const char *fldname, const char *format, ...)
do_text (string);
}
-void
-ui_out::text (const std::string &string)
-{
- text (string.c_str ());
-}
-
void
ui_out::call_do_message (const ui_file_style &style, const char *format,
...)
void field_string (const char *fldname, const char *string,
const ui_file_style &style = ui_file_style ());
void field_string (const char *fldname, const std::string &string,
- const ui_file_style &style = ui_file_style ());
+ const ui_file_style &style = ui_file_style ())
+ {
+ field_string (fldname, string.c_str (), style);
+ }
void field_stream (const char *fldname, string_file &stream,
const ui_file_style &style = ui_file_style ());
void field_skip (const char *fldname);
void spaces (int numspaces);
void text (const char *string);
- void text (const std::string &string);
+ void text (const std::string &string) { text (string.c_str ()); }
/* Output a printf-style formatted string. In addition to the usual
printf format specs, this supports a few GDB-specific