aboutsummaryrefslogtreecommitdiff
path: root/gdb/ui-out.c
diff options
context:
space:
mode:
authorTom Tromey <tromey@adacore.com>2024-05-10 13:13:03 -0600
committerTom Tromey <tromey@adacore.com>2024-05-17 09:23:25 -0600
commit650a81d87bc438c67b077fcf4e529e3e9c772d5d (patch)
treed2ea2bcad3f9c1e2cbc193e80d70bde013d2aa68 /gdb/ui-out.c
parent1f8243f0398689189dfab7a669729a8c447467a8 (diff)
downloadbinutils-650a81d87bc438c67b077fcf4e529e3e9c772d5d.zip
binutils-650a81d87bc438c67b077fcf4e529e3e9c772d5d.tar.gz
binutils-650a81d87bc438c67b077fcf4e529e3e9c772d5d.tar.bz2
Inline some ui_out methods
I noticed a few ui_out methods that are just trivial wrappers. This patch moves these to ui-out.h, as it seems like they should be inlineable. Approved-By: Andrew Burgess <aburgess@redhat.com>
Diffstat (limited to 'gdb/ui-out.c')
-rw-r--r--gdb/ui-out.c43
1 files changed, 0 insertions, 43 deletions
diff --git a/gdb/ui-out.c b/gdb/ui-out.c
index b3a2fb7..d5bc494 100644
--- a/gdb/ui-out.c
+++ b/gdb/ui-out.c
@@ -556,18 +556,6 @@ ui_out::field_fmt (const char *fldname, const ui_file_style &style,
}
void
-ui_out::spaces (int numspaces)
-{
- do_spaces (numspaces);
-}
-
-void
-ui_out::text (const char *string)
-{
- do_text (string);
-}
-
-void
ui_out::call_do_message (const ui_file_style &style, const char *format,
...)
{
@@ -780,37 +768,6 @@ ui_out::message (const char *format, ...)
va_end (args);
}
-void
-ui_out::wrap_hint (int indent)
-{
- do_wrap_hint (indent);
-}
-
-void
-ui_out::flush ()
-{
- do_flush ();
-}
-
-void
-ui_out::redirect (ui_file *outstream)
-{
- do_redirect (outstream);
-}
-
-/* Test the flags against the mask given. */
-ui_out_flags
-ui_out::test_flags (ui_out_flags mask)
-{
- return m_flags & mask;
-}
-
-bool
-ui_out::is_mi_like_p () const
-{
- return do_is_mi_like_p ();
-}
-
/* Verify that the field/tuple/list is correctly positioned. Return
the field number and corresponding alignment (if
available/applicable). */