diff options
author | Pedro Alves <palves@redhat.com> | 2019-07-01 19:23:07 +0100 |
---|---|---|
committer | Pedro Alves <palves@redhat.com> | 2019-07-01 20:19:04 +0100 |
commit | c36205f0ccc36ac47b0191c02ceb5c06459ebea3 (patch) | |
tree | 37356286c831499fe81fc73090cf98b64f54de3f /gdb/utils.h | |
parent | 43436142530dc00cee6f3f7379bd1c2694ef2e14 (diff) | |
download | binutils-gdb-users/palves/format_strings.tar.gz |
Document the gdb-specific formattersusers/palves/format_strings
Diffstat (limited to 'gdb/utils.h')
-rw-r--r-- | gdb/utils.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/gdb/utils.h b/gdb/utils.h index 61b7b5e3bb3..d79faf28af3 100644 --- a/gdb/utils.h +++ b/gdb/utils.h @@ -349,7 +349,10 @@ extern struct ui_file *gdb_stdtargin; extern void set_screen_width_and_height (int width, int height); /* More generic printf like operations. Filtered versions may return - non-locally on error. */ + non-locally on error. As an extension over plain printf, these + support some GDB-specific format specifiers. Particularly useful + here are the styling formatters: '%p[', '%p]' and '%ps'. See + ui_out::message for details. */ extern void fputs_filtered (const char *, struct ui_file *); |