aboutsummaryrefslogtreecommitdiff
path: root/gdb/NEWS
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/NEWS')
-rw-r--r--gdb/NEWS410
1 files changed, 350 insertions, 60 deletions
diff --git a/gdb/NEWS b/gdb/NEWS
index 164e872..3b0a7f7 100644
--- a/gdb/NEWS
+++ b/gdb/NEWS
@@ -1,7 +1,149 @@
What has changed in GDB?
(Organized release by release)
-*** Changes since GDB 16
+*** Changes since GDB 17
+
+* Support for .gdb_index sections with version less than 7 has been
+ removed.
+
+* Support for Guile 2.0 has been removed. Guile 2.2 is now the minimal
+ supported Guile version.
+
+* GDB now accepts --no-escape-args as an alternative to --args on the
+ command line. GDB will not escape special shell characters within
+ arguments after --no-escape-args.
+
+* gdbserver now accepts --no-escape-args as a command line flag. When
+ this flag is used gdbserver will not escape special shell characters
+ within the inferior arguments.
+
+* The add-inferior, clone-inferior, and MI -add-inferior commands will
+ now give a warning, and create the new inferior without a
+ connection, when the current inferior's connection, at the time the
+ command is given, is unshareable. For example, the core-file target
+ cannot be shared between inferiors, nor can the Window native
+ target. These targets could never really be shared. Attempting to
+ share them would usually lead to GDB crashing. GDB now prevents
+ this invalid sharing.
+
+* When connecting to a remote server, if the server supports the new
+ qExecAndArgs packet, then GDB will copy the argument string from the
+ server and update the 'args' setting, as if 'set args ...' had been
+ used. This means that the arguments are visible from GDB using
+ 'show args', and that, if using the extended-remote protocol,
+ subsequent runs of the inferior will use the same arguments as the
+ first run.
+
+* Support for stabs debug information has been removed.
+
+* Support for the binary file format dbx has been removed.
+
+* When connected to an extended-remote target GDB can now
+ automatically set the 'remote exec-file' in some cases. GDB will
+ auto set the remote exec-file only if the remote wasn't started with
+ an executable, and the user hasn't used 'set remote exec-file' to
+ set an executable. GDB will auto set the remote exec-file using the
+ current executable if the current executable has a 'target:' prefix,
+ or if the current executable is within the sysroot.
+
+* GDB now adds all type symbols to the .gdb_index section. The index
+ version number has not increased as a consequence of this change.
+ This fixes an issue where GDB could fail to find a type when relying
+ on the index. Any existing indexes should be regenerated.
+* Support for Floating Point Mode Register (FPMR) in AArch64.
+
+* New targets
+
+GNU/Linux/MicroBlaze (gdbserver) microblazeel-*linux*
+
+* New commands
+
+set local-environment
+show local-environment
+unset local-environment
+ Analogs of the existing "environment" commands that affect GDB's own
+ environment. The local environment is used by "shell", "pipe", and
+ other commands that launch a subprocess other than an inferior.
+
+maintenance test-remote-args ARGS
+ Test splitting and joining of inferior arguments ARGS as they would
+ be split and joined when being passed to a remote target.
+
+* Changed commands
+
+maintenance info program-spaces
+ This command no longer displays the core file name.
+
+info inferiors
+ If an inferior has a core file loaded, then this will be displayed
+ as an additional line under the inferior's table entry in the
+ output.
+
+New command class for help
+ The new command class "essential" has been added, which is a set of
+ commands that we, as developers, believe would be close to a minimal
+ set of commands for a new user of GDB.
+
+* Changed remote packets
+
+single-inf-arg in qSupported
+ The new single-inf-arg feature within the qSupported packet allows
+ GDB to inform the stub that it would like to send the inferior
+ arguments as a single string within the vRun packet. The stub can
+ reply with the single-inf-arg feature to indicate that it is able to
+ accept arguments as a single string.
+
+* New remote packets
+
+qExecAndArgs
+ This packet returns the executable filename and argument string with
+ which the server was started. If no such information was given to
+ the server then this is reflected in the reply.
+
+* Python API
+
+ ** New class gdb.Style for representing styles, a collection of
+ foreground and background gdb.Color objects, and an intensity.
+
+ ** New constants gdb.INTENSITY_NORMAL, gdb.INTENSITY_BOLD, and
+ gdb.INTENSITY_DIM for use with gdb.Style when representing
+ intensities.
+
+ ** New gdb.StyleParameterSet for creating custom style settings.
+ Use gdb.StyleParameterSet(NAME) to create 'set style NAME ...'
+ and 'show style NAME ...' parameters.
+
+ ** The gdb.write() function now takes an additional, optional,
+ 'style' argument, which can be used to style the output.
+
+ ** New gdb.Corefile class which represents a loaded core file. This
+ has an attribute Corefile.filename, the file name of the loaded
+ core file, and a method Corefile.is_valid(), which returns False
+ when a Corefile object becomes invalid (e.g. when the core file
+ is unloaded). There is also Corefile.mapped_files() which
+ returns a list of CorefileMappedFile objects, representing files
+ that were mapped into the core file when it was created.
+
+ ** New gdb.CorefileMappedFile type representing a file that was
+ mapped when the core file was created. Has read-only attributes
+ filename (string), build_id (string), is_main_executable
+ (boolean), and regions (list of CorefileMappedFileRegion objects).
+
+ ** New gdb.CorefileMappedFileRegion type, which represents a mapped
+ region of a file (see gdb.CorefileMappedFile above). Has
+ read-only attributes start, end, and file_offset.
+
+ ** New Inferior.corefile attribute. This read only attribute
+ contains the gdb.Corefile object if a core file is loaded into
+ the inferior, otherwise, this contains None.
+
+*** Changes in GDB 17
+
+* Debugging Linux programs that use x86-64 or x86-64 with 32-bit pointer
+ size (X32) Shadow Stacks are now supported.
+
+* Support for the shadow stack pointer register on x86-64 or x86-64 with
+ 32-bit pointer size (X32) GNU/Linux.
* Debugger Adapter Protocol changes
@@ -35,18 +177,34 @@
a -h or --help option, which prints each options and a brief
description.
-* On systems that support linkage namespaces, the output of the command
+* The gcore script now has a -g option that lets you specify the GDB
+ binary invoked by gcore.
+
+* On systems that support linker namespaces, the output of the command
"info sharedlibraries" may add one more column, NS, which identifies the
namespace into which the library was loaded, if more than one namespace
is active.
-* New built-in convenience variables $_active_linker_namespaces and
- $_current_linker_namespace. These show the number of active linkage
+* New built-in convenience variables $linker_namespace_count and
+ $_linker_namespace. These show the number of active linker
namespaces, and the namespace to which the current location belongs to.
- In systems that don't support linkage namespaces, these always return 1
- and [[0]] respectively.
+ In systems that don't support linker namespaces, or if the inferior hasn't
+ started yet, these always return the integer 0.
+
+* The 'org.gnu.gdb.i386.linux' target description feature can now
+ contain three additional registers which provide access to the TLS
+ related GDT entries on i386 (and x86-64 when compiling with -m32).
+
+* Add record full support for rv64gc architectures
+
+* Debugging Linux programs that use AArch64 Guarded Control Stacks is now
+ supported.
+
+* New "--binary-output" command line option instructs GDB to set the
+ translation mode of its stdout/stderr to binary mode. This disables
+ Line Feed translation. MS-Windows only.
- * Add record full support for rv64gc architectures
+* The "catch syscall" command now works on riscv*-linux* targets.
* New commands
@@ -56,17 +214,38 @@ maintenance check psymtabs
maintenance check symtabs
Renamed from maintenance check-symtabs
+maintenance canonicalize
+ Show the canonical form of a C++ name.
+
set riscv numeric-register-names on|off
show riscv numeric-register-names
Controls whether GDB refers to risc-v registers by their numeric names
(e.g 'x1') or their abi names (e.g. 'ra').
Defaults to 'off', matching the old behaviour (abi names).
+set style emoji on|off|auto
+show style emoji
+ Controls whether GDB can display emoji. The default is "auto",
+ which means emoji will be displayed in some situations when
+ the host charset is UTF-8.
+
+set style warning-prefix STRING
+set style error-prefix STRING
+ These commands control the prefix that is printed before warnings
+ and errors, respectively. This functionality is intended for use
+ with emoji display, and so the prefixes are only displayed if emoji
+ styling is enabled.
+
info linker-namespaces
info linker-namespaces [[N]]
Print information about the given linker namespace (identified as N),
or about all the namespaces if no argument is given.
+set remote multiple-watchpoint-addresses-packet
+show remote multiple-watchpoint-addresses-packet
+ Set/show the support for receiving multiple watchpoint addresses in
+ the 'T' stop reply packet.
+
* Changed commands
info sharedlibrary
@@ -74,8 +253,42 @@ info sharedlibrary
command are now for the full memory range allocated to the shared
library.
+info threads [-gid] [-stopped] [-running] [ID]...
+ If no threads match the given ID(s) or filter options, GDB now prints
+
+ No threads matched.
+
+ without printing the provided arguments. The newly added '-stopped'
+ option makes GDB list the stopped threads only. Similarly,
+ '-running' makes GDB list the running threads only. If both options
+ are given together, both stopped and running threads are listed.
+ These new flags can be useful to get a reduced list when there is a
+ large number of threads.
+
+* GDB-internal Thread Local Storage (TLS) support
+
+ ** Linux targets for the x86_64, aarch64, ppc64, s390x, and riscv
+ architectures now have GDB-internal support for TLS address
+ lookup in addition to that traditionally provided by the
+ libthread_db library. This internal support works for programs
+ linked against either the GLIBC or MUSL C libraries. For
+ programs linked against MUSL, this new internal support provides
+ new debug functionality, allowing access to TLS variables, due to
+ the fact that MUSL does not implement the libthread_db library.
+ Internal TLS support is also useful in cross-debugging
+ situations, debugging statically linked binaries, and debugging
+ programs linked against GLIBC 2.33 and earlier, but which are not
+ linked against libpthread.
+
+ ** The command 'maint set force-internal-tls-address-lookup on' may
+ be used to force the internal TLS lookup mechanisms to be used.
+ Otherwise, TLS lookup via libthread_db will still be preferred,
+ when available.
+
* Python API
+ ** GDB no longer supports Python versions less than 3.4.
+
** New class gdb.Color for dealing with colors.
** New constant gdb.PARAM_COLOR represents color type of a
@@ -92,6 +305,27 @@ info sharedlibrary
when output is going to standard output, and False when output is
going to a string.
+ ** Setting the documentation string (__doc__) of a gdb.Parameter
+ sub-class to the empty string, means GDB will only display the
+ set_doc or show_doc strings in the set/show help output.
+
+ ** New gdb.ParameterPrefix class. This can be used to create 'set'
+ and 'show' gdb.Command prefixes, suitable for use with new
+ gdb.Parameters.
+
+ ** Prefix commands (gdb.Command sub-classes) that don't have an
+ invoke method will now behave like builtin prefix commands when
+ invoked without a sub-command name. This means printing the help
+ text for all sub-commands, unless the prefix command is a 'show'
+ command, in which case the value of all sub-commands is printed.
+
+ ** New gdb.warning() function that takes a string and prints it as a
+ warning, with GDB's standard 'warning' prefix.
+
+ ** New attribute gdb.Value.is_unavailable, this checks for
+ unavailability like gdb.Value.is_optimized_out checks for
+ optimized out values.
+
* Guile API
** New type <gdb:color> for dealing with colors.
@@ -99,6 +333,17 @@ info sharedlibrary
** New constant PARAM_COLOR represents color type of a value
of a <gdb:parameter> object. Parameter's value is <gdb::color> instance.
+ ** Eliding the #:doc string from make-parameter now means that GDB
+ will use a default documentation string. Setting #:doc to the
+ empty string for make-parameter means GDB will only display the
+ #:set_doc or #:show_doc strings in the set/show help output.
+
+ ** Prefix commands (using make-command) that don't have a #:invoke
+ property will now behave like builtin prefix commands when
+ invoked without a sub-command name. This means printing the help
+ text for all sub-commands, unless the prefix command is a 'show'
+ command, in which case the value of all sub-commands is printed.
+
* New remote packets
binary-upload in qSupported reply
@@ -107,6 +352,11 @@ binary-upload in qSupported reply
stub doesn't report this feature supported, then GDB will not use
the 'x' packet.
+vFile:lstat
+ Return information about files on the remote system. Like
+ vFile:stat but if the filename is a symbolic link, return
+ information about the link itself, the file the link refers to.
+
* Changed remote packets
qXfer:threads:read
@@ -115,6 +365,25 @@ qXfer:threads:read
should print as the target ID of the thread, for example in the
"info threads" command or when switching to the thread.
+vFile:stat
+ Previously, gdbserver incorrectly implemented this packet using
+ lstat rather than stat. This has now been corrected. The
+ documentation has also been clarified.
+
+T
+ The signal stop packet can now include multiple 'watch', 'rwatch',
+ and 'awatch' stop reason entries. GDB will select between all of
+ the possible watchpoint addresses that are returned when presenting
+ the stop to the user.
+
+multi-wp-addr in qSupported
+ The qSupported packet allows GDB to inform the stub it supports
+ receiving multiple watchpoint stop reasons in a single 'T' stop
+ reply packet. This improves support for targets with ambiguous
+ hardware watchpoint address reporting (e.g. AArch64). GDB will
+ always accept multiple watchpoint addresses regardless of whether
+ the stub claims to support this feature or not.
+
* MI changes
** The =library-unloaded event now includes the 'ranges' field, which
@@ -130,10 +399,31 @@ qXfer:threads:read
* Support for stabs debugging format and the a.out/dbx object format is
deprecated, and will be removed in GDB 18.
+* Configure changes
+
+--enable-binary-file-formats=[FORMAT,...]
+--enable-binary-file-formats=all
+ A user can now decide to only compile support for certain file formats.
+ The available formats at this point are: dbx, coff, xcoff, elf, mach-o
+ and mips. Some targets require specific file formats to be available,
+ and in such cases, the configure script will warn the user and add
+ support anyway. By default, all formats will be compiled in, to
+ continue the behavior from before adding the switch.
+
* A new configure option was added, allowing support for the compile
subsystem to be disabled at configure time, in the form of
--disable-gdb-compile.
+* A new configure option was added, allowing support for DWARF debug
+ information to be disabled at configure time. The flag is
+ --disable-gdb-dwarf-support.
+
+* A new configure option was added, allowing support for mdebug/ecoff
+ debug information to be disabled at configure time. The flag to do
+ that is --disable-gdb-mdebug-support.
+
+* The Alpha target now supports target descriptions.
+
*** Changes in GDB 16
* Support for Nios II targets has been removed as this architecture
@@ -1226,7 +1516,7 @@ AMDGPU amdgcn-*-*
* New features in the GDB remote stub, GDBserver
** GDBserver is now supported on LoongArch GNU/Linux.
-
+
** GDBserver is now supported on CSKY GNU/Linux.
* LoongArch floating-point support
@@ -1591,7 +1881,7 @@ GNU/Linux/OpenRISC or1k*-*-linux*
the '-force' flag of the CLI's "cond" command.
** '-file-list-exec-source-files [--group-by-objfile]
- [--basename | --dirname]
+ [--basename | --dirname]
[--] [REGEXP]'
The existing -file-list-exec-source-files command now takes an
@@ -2120,7 +2410,7 @@ pipe -d DELIM COMMAND DELIM SHELL_COMMAND
define-prefix COMMAND
Define or mark a command as a user-defined prefix command.
-
+
with SETTING [VALUE] [-- COMMAND]
w SETTING [VALUE] [-- COMMAND]
Temporarily set SETTING, run COMMAND, and restore SETTING.
@@ -3230,7 +3520,7 @@ show disassembler-options
0x40057b <main(int, char**)+25>:
callq 0x400536 <Func1(int, char const*)>
-* Fortran: Support structures with fields of dynamic types and
+* Fortran: Support structures with fields of dynamic types and
arrays of dynamic types.
* The symbol dumping maintenance commands have new syntax.
@@ -3842,7 +4132,7 @@ vforkdone stop reason
an exec or exit, allowing the vfork parent to resume execution.
fork-events and vfork-events features in qSupported
- The qSupported packet allows GDB to request support for fork and
+ The qSupported packet allows GDB to request support for fork and
vfork events using new 'gdbfeatures' fork-events and vfork-events,
and the qSupported response can contain the corresponding
'stubfeatures'. Set and show commands can be used to display
@@ -3911,7 +4201,7 @@ Itanium running HP-UX ia64-*-hpux*
** You can now add attributes to gdb.Objfile and gdb.Progspace objects.
** New function gdb.lookup_objfile.
- New events which are triggered when GDB modifies the state of the
+ New events which are triggered when GDB modifies the state of the
inferior.
** gdb.events.inferior_call_pre: Function call is about to be made.
@@ -4578,7 +4868,7 @@ Tilera TILE-Gx GNU/Linux tilegx*-*-linux
* New commands (for set/show, see "New options" below)
-catch signal
+catch signal
Catch signals. This is similar to "handle", but allows commands and
conditions to be attached.
@@ -4662,14 +4952,14 @@ show debug notification
"=memory-changed".
** The data-disassemble command response will include a "fullname" field
containing the absolute file name when source has been requested.
- ** New optional parameter COUNT added to the "-data-write-memory-bytes"
+ ** New optional parameter COUNT added to the "-data-write-memory-bytes"
command, to allow pattern filling of memory areas.
** New commands "-catch-load"/"-catch-unload" added for intercepting
library load/unload events.
** The response to breakpoint commands and breakpoint async records
includes an "installed" field containing a boolean state about each
non-pending tracepoint location is whether installed on target or not.
- ** Output of the "-trace-status" command includes a "trace-file" field
+ ** Output of the "-trace-status" command includes a "trace-file" field
containing the name of the trace file being examined. This field is
optional, and only present when examining a trace file.
** The "fullname" field is now always present along with the "file" field,
@@ -4726,8 +5016,8 @@ qXfer:btrace:read
in <http://sourceware.org/systemtap/>.
* GDB now supports reversible debugging on ARM, it allows you to
- debug basic ARM and THUMB instructions, and provides
- record/replay support.
+ debug basic ARM and THUMB instructions, and provides
+ record/replay support.
* The option "symbol-reloading" has been deleted as it is no longer used.
@@ -5039,7 +5329,7 @@ QProgramSignals:
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.
@@ -5066,7 +5356,7 @@ QProgramSignals:
** 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.
+ available in the CLI.
** Type objects for struct and union types now allow access to
the fields using standard Python dictionary (mapping) methods.
@@ -5243,7 +5533,7 @@ show trace-stop-notes
* New remote packets
QTEnable
-
+
Dynamically enable a tracepoint in a started trace experiment.
QTDisable
@@ -5330,7 +5620,7 @@ Renesas RL78 rl78-*-elf
** Breakpoints can now be sub-classed in Python, and in particular
you may implement a 'stop' function that is executed each time
- the inferior reaches that breakpoint.
+ the inferior reaches that breakpoint.
** New function gdb.lookup_global_symbol looks up a global symbol.
@@ -5485,8 +5775,8 @@ Analog Devices, Inc. Blackfin Processor bfin-*
arguments even if the namespace has not been imported.
For example:
namespace A
- {
- class B { };
+ {
+ class B { };
void foo (B) { }
}
...
@@ -5886,7 +6176,7 @@ source
* New commands (for set/show, see "New options" below)
record save [<FILENAME>]
- Save a file (in core file format) containing the process record
+ Save a file (in core file format) containing the process record
execution log for replay debugging at a later time.
record restore <FILENAME>
@@ -6158,7 +6448,7 @@ qXfer:siginfo:write
* GDB now supports multiple function calling conventions according to the
DWARF-2 DW_AT_calling_convention function attribute.
-
+
* The SH target utilizes the aforementioned change to distinguish between gcc
and Renesas calling convention. It also adds the new CLI commands
`set/show sh calling-convention'.
@@ -6414,7 +6704,7 @@ show multiple-symbols
The value of this variable can be changed to adjust the debugger behavior
when an expression or a breakpoint location contains an ambiguous symbol
name (an overloaded function name, for instance).
-
+
set breakpoint always-inserted
show breakpoint always-inserted
Keep breakpoints always inserted in the target, as opposed to inserting
@@ -6657,7 +6947,7 @@ vRun
*** Changes in GDB 6.7
-* Resolved 101 resource leaks, null pointer dereferences, etc. in gdb,
+* Resolved 101 resource leaks, null pointer dereferences, etc. in gdb,
bfd, libiberty and opcodes, as revealed by static analysis donated by
Coverity, Inc. (http://scan.coverity.com).
@@ -6669,7 +6959,7 @@ symbol definition in the current shared library if it was built using the
recognize the -tui command-line option and print a message that the TUI
is not supported.
-* The GDB remote stub, gdbserver, now has lower overhead for high
+* The GDB remote stub, gdbserver, now has lower overhead for high
frequency signals (e.g. SIGALRM) via the QPassSignals packet.
* GDB for MIPS targets now autodetects whether a remote target provides
@@ -6707,7 +6997,7 @@ has been rewritten to use the standard GDB remote protocol.
layout. It also supports a TextSeg= and DataSeg= response when only
segment base addresses (rather than offsets) are available.
-* The /i format now outputs any trailing branch delay slot instructions
+* The /i format now outputs any trailing branch delay slot instructions
immediately following the last instruction within the count specified.
* The GDB remote protocol "T" stop reply packet now supports a
@@ -6854,7 +7144,7 @@ target ocd
DWARF 1 support
- A debug information format. The predecessor to DWARF 2 and
+ A debug information format. The predecessor to DWARF 2 and
DWARF 3, which are still supported.
Support for the HP aCC compiler on HP-UX/PA-RISC
@@ -6973,7 +7263,7 @@ The following commands are presently only implemented for native GNU/Linux:
checkpoint Save a snapshot of the program state.
-restart <n> Return the program state to a
+restart <n> Return the program state to a
previously saved state.
info checkpoints List currently saved checkpoints.
@@ -7118,8 +7408,8 @@ continued, we're looking forward to our first translation.
* Ada
-Initial support for debugging programs compiled with the GNAT
-implementation of the Ada programming language has been integrated
+Initial support for debugging programs compiled with the GNAT
+implementation of the Ada programming language has been integrated
into GDB. In this release, support is limited to expression evaluation.
* New native configurations
@@ -7509,7 +7799,7 @@ for DW_OP_piece is still missing).
A number of long standing bugs that caused GDB to die while starting a
Java application have been fixed. GDB's Java support is now
-considered "useable".
+considered "usable".
* GNU/Linux support for fork, vfork, and exec.
@@ -7586,7 +7876,7 @@ Fujitsu SPARClite sparclite-fujitsu-none or sparclite
* REMOVED configurations and files
-V850EA ISA
+V850EA ISA
Motorola Delta 88000 running Sys V m88k-motorola-sysv or delta88
IBM AIX PS/2 i[3456]86-*-aix
i386 running Mach 3.0 i[3456]86-*-mach3*
@@ -7621,7 +7911,7 @@ shared libs like mad''.
* ``gdbserver'' now supports multi-threaded applications on some targets
-Support for debugging multi-threaded applications which use
+Support for debugging multi-threaded applications which use
the GNU/Linux LinuxThreads package has been added for
arm*-*-linux*-gnu*, i[3456]86-*-linux*-gnu*, mips*-*-linux*-gnu*,
powerpc*-*-linux*-gnu*, and sh*-*-linux*-gnu*.
@@ -7736,11 +8026,11 @@ gdb/439: gdb/291: On some ELF object files, gdb was reporting:
dwarf2read.c:1072: gdb-internal-error: sect_index_text not initialize
Fix, by Fred Fish, imported from mainline.
-Dwarf2 .debug_frame & .eh_frame handler improved in many ways.
+Dwarf2 .debug_frame & .eh_frame handler improved in many ways.
Surprisingly enough, it works now.
By Michal Ludvig, imported from mainline.
-i386 hardware watchpoint support:
+i386 hardware watchpoint support:
avoid misses on second run for some targets.
By Pierre Muller, imported from mainline.
@@ -7764,18 +8054,18 @@ hosts. Argument is core file name (defaults to core.<pid>).
* New command line option
-GDB now accepts --pid or -p followed by a process id.
+GDB now accepts --pid or -p followed by a process id.
* Change in command line behavior -- corefiles vs. process ids.
-There is a subtle behavior in the way in which GDB handles
+There is a subtle behavior in the way in which GDB handles
command line arguments. The first non-flag argument is always
a program to debug, but the second non-flag argument may either
be a corefile or a process id. Previously, GDB would attempt to
open the second argument as a corefile, and if that failed, would
issue a superfluous error message and then attempt to attach it as
-a process. Now, if the second argument begins with a non-digit,
-it will be treated as a corefile. If it begins with a digit,
+a process. Now, if the second argument begins with a non-digit,
+it will be treated as a corefile. If it begins with a digit,
GDB will attempt to attach it as a process, and if no such process
is found, will then attempt to open it as a corefile.
@@ -7835,7 +8125,7 @@ for the inferior from gdb's command line.
There is a new `operate-and-get-next' function bound to `C-o'.
-*** Changes in GDB 5.1.1
+*** Changes in GDB 5.1.1
Fix compile problem on DJGPP.
@@ -7867,7 +8157,7 @@ UltraSparc running GNU/Linux sparc64-*-linux*
* OBSOLETE configurations and files
-x86 FreeBSD before 2.2 i[3456]86*-freebsd{1,2.[01]}*,
+x86 FreeBSD before 2.2 i[3456]86*-freebsd{1,2.[01]}*,
Harris/CXUX m88k m88*-harris-cxux*
Most ns32k hosts and targets ns32k-*-mach3* ns32k-umax-*
ns32k-utek-sysv* ns32k-utek-*
@@ -8748,7 +9038,7 @@ There is a new hardware breakpoint for the watch command for sparclite
targets. See gdb/sparclite/hw_breakpoint.note.
Hardware watchpoints are also now supported under GNU/Linux.
-
+
* Annotations
Annotations have been added. These are for use with graphical interfaces,
@@ -8829,7 +9119,7 @@ for details).
* Improvements in C++ mangling/demangling.
-This release has much better g++ debugging, specifically in name
+This release has much better g++ debugging, specifically in name
mangling/demangling, virtual function calls, print virtual table,
call methods, ...etc.
@@ -8891,7 +9181,7 @@ Z8000 simulator z8k-zilog-none or z8ksim
IDT MIPS board over serial line mips-idt-ecoff
Cross-debugging to GO32 targets is supported. It requires a custom
-version of the i386-stub.c module which is integrated with the
+version of the i386-stub.c module which is integrated with the
GO32 memory extender.
* New remote protocols
@@ -9512,7 +9802,7 @@ encapulation, but the details have not been worked out yet.
* Improved configuration
Only one copy of `configure' exists now, and it is not self-modifying.
-Porting BFD is simpler.
+Porting BFD is simpler.
* Stepping improved
@@ -9614,7 +9904,7 @@ stub on the target system.
New CPUs supported include the AMD 29000 and Intel 960.
-GDB now reads object files and symbol tables via a ``binary file''
+GDB now reads object files and symbol tables via a ``binary file''
library, which allows a single copy of GDB to debug programs of multiple
object file types such as a.out and coff.
@@ -9640,27 +9930,27 @@ confirm on/off: Enables warning questions for operations that are
hard to recover from, e.g. rerunning the program while
it is already running. Default is ON.
-editing on/off: Enables EMACS style command line editing
- of input. Previous lines can be recalled with
+editing on/off: Enables EMACS style command line editing
+ of input. Previous lines can be recalled with
control-P, the current line can be edited with control-B,
you can search for commands with control-R, etc.
Default is ON.
-history filename NAME: NAME is where the gdb command history
+history filename NAME: NAME is where the gdb command history
will be stored. The default is .gdb_history,
or the value of the environment variable
GDBHISTFILE.
-history size N: The size, in commands, of the command history. The
+history size N: The size, in commands, of the command history. The
default is 256, or the value of the environment variable
HISTSIZE.
history save on/off: If this value is set to ON, the history file will
- be saved after exiting gdb. If set to OFF, the
+ be saved after exiting gdb. If set to OFF, the
file will not be saved. The default is OFF.
-history expansion on/off: If this value is set to ON, then csh-like
- history expansion will be performed on
+history expansion on/off: If this value is set to ON, then csh-like
+ history expansion will be performed on
command line input. The default is OFF.
radix N: Sets the default radix for input and output. It can be set
@@ -9685,7 +9975,7 @@ print address on/off: Print memory addresses in various command displays,
more ``symbolic'' if you turn this off; it looks more
``machine level'' with it on. Default is ON.
-print array on/off: Prettyprint arrays. New convenient format! Default
+print array on/off: Prettyprint arrays. New convenient format! Default
is OFF.
print demangle on/off: Print C++ symbols in "source" form if on,
@@ -9716,7 +10006,7 @@ from dynamically linked programs), gdb reads the symbols from each
shared library when you type the ``sharedlibrary'' command.
It can be abbreviated ``share''.
-sharedlibrary REGEXP: Load shared object library symbols for files
+sharedlibrary REGEXP: Load shared object library symbols for files
matching a unix regular expression. No argument
indicates to load symbols for all shared libraries.
@@ -9784,7 +10074,7 @@ find your source file in the current directory, type "dir .".
For normal use, type ``./configure host''. See README or gdb.texinfo
for more details.
-GDB now handles cross debugging. If you are remotely debugging between
+GDB now handles cross debugging. If you are remotely debugging between
two different machines, type ``./configure host -target=targ''.
Host is the machine where GDB will run; targ is the machine
where the program that you are debugging will run.