What has changed in GDB?
(Organized release by release)
-*** Changes since GDB 7.4
+*** Changes since GDB 7.5
+
+*** Changes in GDB 7.5
+
+* GDB now supports x32 ABI. Visit <http://sites.google.com/site/x32abi/>
+ for more x32 ABI info.
* GDB now supports access to MIPS DSP registers on Linux targets.
** New function gdb.find_pc_line which returns the gdb.Symtab_and_line
object associated with a PC value.
+ ** gdb.Symtab_and_line has new attribute 'last' which holds the end
+ of the address range occupied by code for the current source line.
+
* Go language support.
GDB now supports debugging programs written in the Go programming
language.
* The .gdb_index section has been updated to include symbols for
inlined functions. GDB will ignore older .gdb_index sections by
default, which could cause symbol files to be loaded more slowly
- until their .gdb_index sections can be recreated. The new option
- --use-deprecated-index-sections will cause GDB to use any older
- .gdb_index sections it finds. This will restore performance, but
- the ability to set breakpoints on inlined functions will be lost
- in symbol files with older .gdb_index sections.
+ until their .gdb_index sections can be recreated. The new command
+ "set use-deprecated-index-sections on" will cause GDB to use any older
+ .gdb_index sections it finds. This will restore performance, but the
+ ability to set breakpoints on inlined functions will be lost in symbol
+ files with older .gdb_index sections.
+
+ The .gdb_index section has also been updated to record more information
+ about each symbol. This speeds up the "info variables", "info functions"
+ and "info types" commands when used with programs having the .gdb_index
+ section, as well as speeding up debugging with shared libraries using
+ the .gdb_index section.
* Ada support for GDB/MI Variable Objects has been added.
** New command -info-os is the MI equivalent of "info os".
+ ** Output logs ("set logging" and related) now include MI output.
+
* New commands
+ ** "set use-deprecated-index-sections on|off"
+ "show use-deprecated-index-sections on|off"
+ Controls the use of deprecated .gdb_index sections.
+
** "catch load" and "catch unload" can be used to stop when a shared
library is loaded or unloaded, respectively.
corresponding to addresses it prints. This defaults to "on", but
you can set it to "off" to restore GDB's previous behavior.
+* Deprecated commands
+
+ ** For the Renesas Super-H architecture, the "regs" command has been
+ deprecated, and "info all-registers" should be used instead.
+
* New targets
Renesas RL78 rl78-*-elf
show debug auto-load
Control display of debugging info for auto-loading the files above.
-set dprintf-style gdb|call
+set dprintf-style gdb|call|agent
show dprintf-style
- Control the way in which a dynamic printf is performed; "gdb" requests
- a GDB printf command, while "call" causes dprintf to call a function
- in the inferior.
+ Control the way in which a dynamic printf is performed; "gdb"
+ requests a GDB printf command, while "call" causes dprintf to call a
+ function in the inferior. "agent" requests that the target agent
+ (such as GDBserver) do the printing.
set dprintf-function <expr>
show dprintf-function
Set the function and optional first argument to the call when using
the "call" style of dynamic printf.
+set disconnected-dprintf on|off
+show disconnected-dprintf
+ Control whether agent-style dynamic printfs continue to be in effect
+ after GDB disconnects.
+
* New configure options
--with-auto-load-dir
* New options
+set debug dwarf2-read
+show debug dwarf2-read
+ Turns on or off display of debugging messages related to reading
+ DWARF debug info. The default is off.
+
+set debug symtab-create
+show debug symtab-create
+ Turns on or off display of debugging messages related to symbol table
+ creation. The default is off.
+
set extended-prompt
show extended-prompt
Set the GDB prompt, and allow escape sequences to be inserted to