daily update
[deliverable/binutils-gdb.git] / gdb / NEWS
index da99aa59d965f0a2989aec6695eb49855e2ce678..867b51fdc2513c956e53dc7b96c3a78871b825ee 100644 (file)
--- a/gdb/NEWS
+++ b/gdb/NEWS
@@ -61,6 +61,16 @@ Renesas RX                   rx
   tell the target agent whether to continue running a trace if the
   connection is lost unexpectedly.
 
+  ** Trace files
+
+  GDB now has the ability to save the trace buffer into a file, and
+  then use that file as a target, similarly to you can do with
+  corefiles.  You can select trace frames, print data that was
+  collected in them, and use tstatus to display the state of the
+  tracing run at the moment that it was saved.  To create a trace
+  file, use "tsave <filename>", and to use it, do "target tfile
+  <name>".
+  
 * Changed commands
 
 disassemble
@@ -71,6 +81,14 @@ info variables
   The info variables command now displays variable definitions.  Files
   which only declare a variable are not shown.
 
+source
+  The source command is now capable of sourcing Python scripts.
+  This feature is dependent on the debugger being build with Python
+  support.
+
+  Related to this enhancement is also the introduction of a new command
+  "set script-extension" (see below).
+
 * New commands (for set/show, see "New options" below)
 
 record save [<FILENAME>]
@@ -128,6 +146,11 @@ teval EXPR, ...
 ftrace FN / FILE:LINE / *ADDR
   Define a fast tracepoint at the given function, line, or address.
 
+* New expression syntax
+
+  GDB now parses the 0b prefix of binary numbers the same way as GCC does.
+  GDB now parses 0b101010 identically with 42.
+
 * New options
 
 set follow-exec-mode new|same
@@ -148,6 +171,24 @@ show disconnected-tracing
    loses its connection to GDB.  If 0, the target is to stop tracing
    upon disconnection.
 
+set script-extension off|soft|strict
+show script-extension
+   If set to "off", the debugger does not perform any script language
+   recognition, and all sourced files are assumed to be GDB scripts.
+   If set to "soft" (the default), files are sourced according to
+   filename extension, falling back to GDB scripts if the first
+   evaluation failed.
+   If set to "strict", files are sourced according to filename extension.
+
+set ada trust-PAD-over-XVS on|off
+show ada trust-PAD-over-XVS
+   If off, activate a workaround against a bug in the debugging information
+   generated by the compiler for PAD types (see gcc/exp_dbug.ads in
+   the GCC sources for more information about the GNAT encoding and
+   PAD types in particular).  It is always safe to set this option to
+   off, but this introduces a slight performance penalty.  The default
+   is on.
+
 * New remote packets
 
 QTDV
@@ -184,6 +225,11 @@ much more reliable. In particular:
   - GDB is now able to backtrace through the signal handler for
     non-threaded programs.
 
+PIE (Position Independent Executable) programs debugging is now supported.
+This includes debugging execution of PIC (Position Independent Code) shared
+libraries although for that, it should be possible to run such libraries as an
+executable program.
+
 *** Changes in GDB 7.0
 
 * GDB now has an interface for JIT compilation.  Applications that
This page took 0.027533 seconds and 4 git commands to generate.