GDB 5.0 is released!

Version 5.0 of GDB, the GNU Debugger, is now available via anonymous FTP. GDB
is a source-level debugger for C, C++, and many other languages. GDB can target
(i.e. debug programs running on) dozens of different processor architectures,
and GDB itself can run on most popular Unix variants, Windows NT, and Windows

You can download GDB from either Project GNU's FTP server, or Red Hat's sources

The previous version, 4.18, was released about a year ago; there have been many
changes and additions since then.  Details below.

The vital stats:

-rw-r--r--   1 ftp      ftp      12299318 May 19 14:01 gdb-5.0.tar.gz

The md5sum checksum:

9511b69b6b5a3b38c62ad207b3c94673  gdb-5.0.tar.gz

There is a web page for GDB at:

That page includes information about GDB mailing lists (an announcement mailing
list, developers discussion lists, etc.), details on how to access GDB's CVS
repository, locations for development snapshots, preformatted documentation,
and links to related information around the net. We will put errata notes and
host-specific tips for this release on-line as any problems come up. All
mailing lists archives are also browsable via the web.

Many people have contributed to this release. Thanks to everybody for the help!

Keep those fixes and improvements coming in! (Send them to [EMAIL PROTECTED])

       Andrew Cagney (Red Hat)
       on behalf of the GDB Team.

*** Changes in GDB 5.0:

* Improved support for debugging FP programs on x86 targets

Unified and much-improved support for debugging floating-point programs on all
x86 targets.  In particular, ``info float'' now displays the FP registers in
the same format on all x86 targets, with greater level of detail.

* Improvements and bugfixes in hardware-assisted watchpoints

It is now possible to watch array elements, struct members, and bitfields with
hardware-assisted watchpoints.  Data-read watchpoints on x86 targets no longer
erroneously trigger when the address is written.

* Improvements in the native DJGPP version of GDB

The distribution now includes all the scripts and auxiliary files necessary to
build the native DJGPP version on MS-DOS/MS-Windows machines ``out of the

The DJGPP version can now debug programs that use signals.  It is possible to
catch signals that happened in the debuggee, deliver signals to it, interrupt
it with Ctrl-C, etc.  (Previously, a signal would kill the program being
debugged.)  Programs that hook hardware interrupts (keyboard, timer, etc.) can
also be debugged.

It is now possible to debug DJGPP programs that redirect their standard handles
or switch them to raw (as opposed to cooked) mode, or even close them.  The
command ``run < foo > bar'' works as expected, and ``info terminal'' reports
useful information about the debuggee's terminal, including raw/cooked mode,
redirection, etc.

The DJGPP version now uses termios functions for console I/O, which enables
debugging graphics programs.  Interrupting GDB with Ctrl-C also works.

DOS-style file names with drive letters are now fully supported by GDB.

It is now possible to debug DJGPP programs that switch their working
directory.  It is also possible to rerun the debuggee any number of times
without restarting GDB; thus, you can use the same setup, breakpoints, etc. for
many debugging sessions.

* New native configurations

ARM GNU/Linux                                   arm*-*-linux*
PowerPC GNU/Linux                               powerpc-*-linux*

* New targets

Motorola MCore                                  mcore-*-*
x86 VxWorks                                     i[3456]86-*-vxworks*
PowerPC VxWorks                                 powerpc-*-vxworks*
TI TMS320C80                                    tic80-*-*

* OBSOLETE configurations

Altos 3068                                      m68*-altos-*
Convex                                          c1-*-*, c2-*-*
Pyramid                                         pyramid-*-*
ARM RISCix                                      arm-*-* (as host)
Tahoe                                           tahoe-*-*

Configurations that have been declared obsolete will be commented out, but the
code will be left in place.  If there is no activity to revive these
configurations before the next release of GDB, the sources will be permanently

* Gould support removed

Support for the Gould PowerNode and NP1 has been removed.

* New features for SVR4

On SVR4 native platforms (such as Solaris), if you attach to a process without
first loading a symbol file, GDB will now attempt to locate and load symbols
from the running process's executable file.

* Many C++ enhancements

C++ support has been greatly improved. Overload resolution now works properly
in almost all cases. RTTI support is on the way.

* Remote targets can connect to a sub-program

A popen(3) style serial-device has been added.  This device starts a
sub-process (such as a stand-alone simulator) and then communicates with that.
The sub-program to run is specified using the syntax ``|<program> <args>'' vis:

        (gdb) set remotedebug 1
        (gdb) target extended-remote |mn10300-elf-sim program-args

* MIPS 64 remote protocol

A long standing bug in the mips64 remote protocol where by GDB expected certain
32 bit registers (ex SR) to be transfered as 32 instead of 64 bits has been

The command ``set remote-mips64-transfers-32bit-regs on'' has been added to
provide backward compatibility with older versions of GDB.

* ``set remotebinarydownload'' replaced by ``set remote X-packet''

The command ``set remotebinarydownload'' command has been replaced by ``set
remote X-packet''.  Other commands in ``set remote'' family include ``set
remote P-packet''.

* Breakpoint commands accept ranges.

The breakpoint commands ``enable'', ``disable'', and ``delete'' now accept a
range of breakpoints, e.g. ``5-7''.  The tracepoint command ``tracepoint
passcount'' also accepts a range of tracepoints.

* ``apropos'' command added.

The ``apropos'' command searches through command names and documentation
strings, printing out matches, making it much easier to try to find a command
that does what you are looking for.

* New MI interface

A new machine oriented interface (MI) has been added to GDB.  This interface is
designed for debug environments running GDB as a separate process.  This is
part of the long term libGDB project.  See the "GDB/MI" chapter of the GDB
manual for further information.  It can be enabled by configuring with:

        .../configure --enable-gdbmi

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to