On Friday, May 02 2014, Pedro Alves wrote: > On 05/01/2014 10:52 PM, Sergio Durigan Junior wrote: >> This commit is actually an update to make the parser in >> gdb/stap-probe.c be aware of all the possible prefixes that a probe >> argument can have. According to the section "Argument Format" in: >> >> >> >> The bitness of the arguments can be 8, 16, 32 or 64 bits, signed or >> unsigned. Currently GDB recognizes only 32 and 64-bit arguments. > > Looks good. Thanks. >> This commit extends this. Since this is a straightforward extension, >> I am not submitting a testcase; I can do that if anybody wants. > > I think it'd be good to have a test -- the code that triggered the other > bug was also supposedly straightforward. :-) Can we do this in C ? > Ideally we'd also test that we don't crash with an invalid bitness > (the complaint path). Hm, OK, here is the testcase then. >> >> gdb/ >> 2014-05-01 Sergio Durigan Junior >> >> stap-probe.c (enum stap_arg_bitness): New enums to represent 8 > > Missing '*'- Writing ChangeLog entries while at "git commit" buffer is tricky... Second mistake in a row! Thanks. >> and 16-bit signed and unsigned arguments. >> (stap_parse_probe_arguments): Extend code to handle such >> arguments. > > -- > Pedro Alves Here is what I will push if there are no other comments. Thanks, -- Sergio