X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=gdb%2FNEWS;h=4798b7b4ffe45c99835710468b63c0f4df2054d3;hb=7fda53d583bf5baaa15ccdea78c48bf57b205dad;hp=f13caf85304b70fa61e414dc9dbb9059223c6ab0;hpb=87326c782a97fdacdd003599c8633b28114f8ed9;p=deliverable%2Fbinutils-gdb.git diff --git a/gdb/NEWS b/gdb/NEWS index f13caf8530..4798b7b4ff 100644 --- a/gdb/NEWS +++ b/gdb/NEWS @@ -1,7 +1,51 @@ What has changed in GDB? (Organized release by release) -*** Changes since GDB 7.3.1 +*** Changes since GDB 7.4 + +* Python scripting + + ** The "maint set python print-stack on|off" is now deleted. + + ** A new class, gdb.printing.FlagEnumerationPrinter, can be used to + apply "flag enum"-style pretty-printing to any enum. + +* GDBserver now supports stdio connections. + E.g. (gdb) target remote | ssh myhost gdbserver - hello + +* The binary "gdbtui" can no longer be built or installed. + Use "gdb -tui" instead. + +* GDB will now print "flag" enums specially. A flag enum is one where + all the enumerator values have no bits in common when pairwise + "and"ed. When printing a value whose type is a flag enum, GDB will + show all the constants, e.g., for enum E { ONE = 1, TWO = 2}: + (gdb) print (enum E) 3 + $1 = (ONE | TWO) + +* The filename part of a linespec will now match trailing components + of a source file name. For example, "break gcc/expr.c:1000" will + now set a breakpoint in build/gcc/expr.c, but not + build/libcpp/expr.c. + +* The "info proc" and "generate-core-file" commands will now also + work on remote targets connected to GDBserver on Linux. + +* The command "info catch" has been removed. It has been disabled + since December 2007. + +* New commands + + ** "catch load" and "catch unload" can be used to stop when a shared + library is loaded or unloaded, respectively. + +*** Changes in GDB 7.4 + +* GDB now handles ambiguous linespecs more consistently; the existing + FILE:LINE support has been expanded to other types of linespecs. A + breakpoint will now be set on all matching locations in all + inferiors, and locations will be added or removed according to + inferior changes. * GDB now allows you to skip uninteresting functions and files when stepping with the "skip function" and "skip file" commands. @@ -23,9 +67,11 @@ existing one. ** The "maint set python print-stack on|off" command has been - deprecated, and a new command: "set python print-stack on|off" has - replaced it. Additionally, the default for "print-stack" is now - "off". + deprecated and will be deleted in GDB 7.5. + A new command: "set python print-stack none|full|message" has + replaced it. Additionally, the default for "print-stack" is + now "message", which just prints the error message without + the stack trace. ** A prompt substitution hook (prompt_hook) is now available to the Python API. @@ -51,6 +97,10 @@ ** The "gdb.breakpoint" function has been deprecated in favor of "gdb.breakpoints". + ** A new class "gdb.FinishBreakpoint" is provided to catch the return + of a function. This class is based on the "finish" command + available in the CLI. + ** Type objects for struct and union types now allow access to the fields using standard Python dictionary (mapping) methods. For example, "some_type['myfield']" now works, as does @@ -65,6 +115,16 @@ the standard Python "iteritems" method, it will recursively traverse any anonymous fields. +* MI changes + + ** "*stopped" events can report several new "reason"s, such as + "solib-event". + + ** Breakpoint changes are now notified using new async records, like + "=breakpoint-modified". + + ** New command -ada-task-info. + * libthread-db-search-path now supports two special values: $sdir and $pdir. $sdir specifies the default system locations of shared libraries. $pdir specifies the directory where the libpthread used by the application