aboutsummaryrefslogtreecommitdiff
path: root/gdb/ui-out.h
diff options
context:
space:
mode:
authorJeff Johnston <jjohnstn@redhat.com>2002-10-03 22:34:58 +0000
committerJeff Johnston <jjohnstn@redhat.com>2002-10-03 22:34:58 +0000
commit52c6a6ac2dbf7264ce348f9abf1360a2c354aea0 (patch)
treeaf57500c24d7e13dfb7520b565c64a9087229217 /gdb/ui-out.h
parentc18008c5d8ba33c7c417543b3e99650192f5fc37 (diff)
downloadgdb-52c6a6ac2dbf7264ce348f9abf1360a2c354aea0.zip
gdb-52c6a6ac2dbf7264ce348f9abf1360a2c354aea0.tar.gz
gdb-52c6a6ac2dbf7264ce348f9abf1360a2c354aea0.tar.bz2
2002-10-03 Jeff Johnston <jjohnstn@redhat.com>
* ui-out.h (ui_out_field_fmt_int): New prototype. * ui-out.c (ui_out_field_fmt_int): New function allowing specification of field width and alignment. * stack.c (print_frame_info_base): When printing frame level, use ui_out_field_fmt_int with a width of 2 and left alignment. Fix for PR gdb/192
Diffstat (limited to 'gdb/ui-out.h')
-rw-r--r--gdb/ui-out.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/gdb/ui-out.h b/gdb/ui-out.h
index 797c2fe..c8ed9dd 100644
--- a/gdb/ui-out.h
+++ b/gdb/ui-out.h
@@ -119,6 +119,10 @@ extern struct cleanup *make_cleanup_ui_out_tuple_begin_end (struct ui_out *uiout
extern void ui_out_field_int (struct ui_out *uiout, const char *fldname,
int value);
+extern void ui_out_field_fmt_int (struct ui_out *uiout, int width,
+ enum ui_align align, const char *fldname,
+ int value);
+
extern void ui_out_field_core_addr (struct ui_out *uiout, const char *fldname,
CORE_ADDR address);