X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=gdb%2FNEWS;h=b21b2cbb4787103d91c0fb9e7e8e47fd9c9ec9d7;hb=2e62ab400ff96334c92e5acf0a462cb9dc0d19a7;hp=dc9e7b3cb827e661e3a12ca12cb3f976df0835bf;hpb=52093e1b936fa4f3f8bb3868c5a44d0df25c8db4;p=deliverable%2Fbinutils-gdb.git diff --git a/gdb/NEWS b/gdb/NEWS index dc9e7b3cb8..b21b2cbb47 100644 --- a/gdb/NEWS +++ b/gdb/NEWS @@ -16,6 +16,18 @@ * Support for Pointer Authentication on AArch64 Linux. +* Two new convernience functions $_cimag and $_creal that extract the + imaginary and real parts respectively from complex numbers. + +* New commands + +set print max-depth +show print max-depth + Allows deeply nested structures to be simplified when printing by + replacing deeply nested parts (beyond the max-depth) with ellipses. + The default max-depth is 20, but this can be set to unlimited to get + the old behavior back. + * Python API ** The gdb.Value type has a new method 'format_string' which returns a @@ -24,6 +36,17 @@ 'array_indexes', 'symbols', 'unions', 'deref_refs', 'actual_objects', 'static_members', 'max_elements', 'repeat_threshold', and 'format'. +* New commands + +set may-call-functions [on|off] +show may-call-functions + This controls whether GDB will attempt to call functions in + the program, such as with expressions in the print command. It + defaults to on. Calling functions in the program being debugged + can have undesired side effects. It is now possible to forbid + such function calls. If function calls are forbidden, GDB will throw + an error when a command (such as print expression) calls a function + in the program. *** Changes in GDB 8.3