[RFA/doco] set varsize-limit: New GDB setting for maximum dynamic object size

Joel Brobecker brobecker@adacore.com
Fri Feb 23 10:21:00 GMT 2018


> > It was before my time (so more than 15 years ago!), but I think that
> > "var" (for variable) is the adjective, rather than the noun.
> 
> Then I suggest to use "variable-size objects" instead of
> "dynamic-sized objects" in the doc string, and probably also in the
> manual.

Yes indeed, good idea! Attached is the updated version with
this suggestion.

gdb/ChangeLog

        * NEWS: Add entry describing new "set|show varsize-limit" command.
        * ada-lang.c (_initialize_ada_language): Add "set/show varsize-limit"
        command.
        * printcmd.c (_initialize_printcmd): Add "set var" alias of
        "set variable".

gdb/doc/ChangeLog:

        * gdb.texinfo (Ada Settings): New subsubsection.

gdb/testsuite/ChangeLog:

        * gdb.ada/varsize_limit: New testcase.

Tested on x86_64-linux.
-- 
Joel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-set-varsize-limit-New-GDB-setting-for-maximum-dynami.patch
Type: text/x-diff
Size: 11195 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/gdb-patches/attachments/20180223/f90f463a/attachment.bin>


More information about the Gdb-patches mailing list