This is the mail archive of the
systemtap-cvs@sourceware.org
mailing list for the systemtap project.
src ChangeLog NEWS elaborate.cxx elaborate.h s ...
- From: brolley at sourceware dot org
- To: systemtap-cvs at sourceware dot org
- Date: 27 Feb 2008 16:42:35 -0000
- Subject: src ChangeLog NEWS elaborate.cxx elaborate.h s ...
CVSROOT: /cvs/systemtap
Module name: src
Changes by: brolley@sourceware.org 2008-02-27 16:42:35
Modified files:
. : ChangeLog NEWS elaborate.cxx elaborate.h
staptree.cxx staptree.h
Log message:
2008-02-21 Dave Brolley <brolley@redhat.com>
PR5189
* staptree.h (print_format::conv_memory): New enumerator.
(print_format::width_type): New enumeration.
(print_format::precision_type): New enumeration.
(format_component::widthtype): New member.
(format_component::prectype): New member.
(format_component::is_empty): Test widthtype and prectype.
(format_component::clear): Clear widthtype and prectype.
* staptree.cxx (print_format::components_to_string): Handle dynamic width and precision.
Handle conv_memory.
(print_format::string_to_components): Parse dynamic width and precision specifiers.
Set widthtype and prectype. Parse %m format specifier.
* elaborate.h (typeresolution_info::check_arg_type): New method.
* elaborate.cxx (typeresolution_info::visit_print_format): Account for dynamic width
and precision when computing the expected number of arguments. Check the types of
arguments for dynamic width and precision. Use check_arg_type to check the types of
all arguments. Handle print_format::conv_memory.
(typeresolution_info::check_arg_type): New method.
* NEWS: Describe the enhancements above.
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/ChangeLog.diff?cvsroot=systemtap&r1=1.797&r2=1.798
http://sourceware.org/cgi-bin/cvsweb.cgi/src/NEWS.diff?cvsroot=systemtap&r1=1.24&r2=1.25
http://sourceware.org/cgi-bin/cvsweb.cgi/src/elaborate.cxx.diff?cvsroot=systemtap&r1=1.95&r2=1.96
http://sourceware.org/cgi-bin/cvsweb.cgi/src/elaborate.h.diff?cvsroot=systemtap&r1=1.46&r2=1.47
http://sourceware.org/cgi-bin/cvsweb.cgi/src/staptree.cxx.diff?cvsroot=systemtap&r1=1.74&r2=1.75
http://sourceware.org/cgi-bin/cvsweb.cgi/src/staptree.h.diff?cvsroot=systemtap&r1=1.62&r2=1.63