From 7de5c5e275a6eedce5a17fa8c6ee619ccf0df951 Mon Sep 17 00:00:00 2001 From: Fred Fish Date: Sun, 14 Aug 1994 20:13:01 +0000 Subject: [PATCH] * Makefile.in (VERSION): Bump to 4.13.1 * NEWS, README: Update to match gdb 4.13 release version. --- gdb/ChangeLog | 5 +++ gdb/Makefile.in | 4 +- gdb/NEWS | 73 +++++++++++++++++++++++++++++++++- gdb/README | 101 +++++++++++++++++++++++++----------------------- 4 files changed, 130 insertions(+), 53 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index c7282d30fa5..9214050a582 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +Sun Aug 14 13:05:26 1994 Fred Fish (fnf@cygnus.com) + + * Makefile.in (VERSION): Bump to 4.13.1 + * NEWS, README: Update to match gdb 4.13 release version. + Sat Aug 13 08:22:50 1994 Fred Fish (fnf@cygnus.com) Harris CX/UX support, from Bob Rusk (rrusk@mail.csd.harris.com). diff --git a/gdb/Makefile.in b/gdb/Makefile.in index 469cbdb701d..3ec86c3dad8 100644 --- a/gdb/Makefile.in +++ b/gdb/Makefile.in @@ -179,7 +179,7 @@ CDEPS = $(XM_CDEPS) $(TM_CDEPS) $(NAT_CDEPS) \ ADD_FILES = $(REGEX) $(XM_ADD_FILES) $(TM_ADD_FILES) $(NAT_ADD_FILES) ADD_DEPS = $(REGEX1) $(XM_ADD_FILES) $(TM_ADD_FILES) $(NAT_ADD_FILES) -VERSION = 4.12.4 +VERSION = 4.13.1 DIST=gdb LINT=/usr/5bin/lint @@ -1161,7 +1161,7 @@ core-svr4.o: core-svr4.c $(command_h) $(defs_h) $(gdbcore_h) \ core.o: core.c $(dis-asm_h) $(defs_h) $(gdbcmd_h) $(gdbcore_h) \ $(inferior_h) target.h language.h -coredep.o: coredep.c $(defs_h) $(gdbcore_h) $(value_h) +coredep.o: coredep.c $(defs_h) $(gdbcore_h) $(value_h) $(inferior_h) corelow.o: corelow.c $(command_h) $(defs_h) $(gdbcore_h) $(inferior_h) \ target.h thread.h diff --git a/gdb/NEWS b/gdb/NEWS index bda3c9b19ec..70f22e0ad33 100644 --- a/gdb/NEWS +++ b/gdb/NEWS @@ -1,13 +1,82 @@ What has changed since GDB-3.5? (Organized release by release) + *** Changes in GDB-4.13: -* New "complete" command for use by emacs. +* New "complete" command + +This lists all the possible completions for the rest of the line, if it +were to be given as a command itself. This is intended for use by emacs. -* "set prompt" no longer adds a space for you after the prompt you set. This +* Trailing space optional in prompt + +"set prompt" no longer adds a space for you after the prompt you set. This allows you to set a prompt which ends in a space or one that does not. +* Breakpoint hit counts + +"info break" now displays a count of the number of times the breakpoint +has been hit. This is especially useful in conjunction with "ignore"; you +can ignore a large number of breakpoint hits, look at the breakpoint info +to see how many times the breakpoint was hit, then run again, ignoring one +less than that number, and this will get you quickly to the last hit of +that breakpoint. + +* Ability to stop printing at NULL character + +"set print null-stop" will cause GDB to stop printing the characters of +an array when the first NULL is encountered. This is useful when large +arrays actually contain only short strings. + +* Shared library breakpoints + +In SunOS 4.x, SVR4, and Alpha OSF/1 configurations, you can now set +breakpoints in shared libraries before the executable is run. + +* Hardware watchpoints + +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 Linux. + +* Annotations + +Annotations have been added. These are for use with graphical interfaces, +and are still experimental. Currently only gdba.el uses these. + +* Improved Irix 5 support + +GDB now works properly with Irix 5.2. + +* Improved HPPA support + +GDB now works properly with the latest GCC and GAS. + +* New native configurations + +Sequent PTX4 i[34]86-sequent-ptx4 +HPPA running OSF/1 hppa*-*-osf* +Atari TT running SVR4 m68*-*-sysv4* +RS/6000 LynxOS rs6000-*-lynxos* + +* New targets + +OS/9000 i[34]86-*-os9k +MIPS R4000 mips64*{,el}-*-{ecoff,elf} +Sparc64 sparc64-*-* + +* Hitachi SH7000 and E7000-PC ICE support + +There is now support for communicating with the Hitachi E7000-PC ICE. +This is available automatically when GDB is configured for the SH. + +* Fixes + +As usual, a variety of small fixes and improvements, both generic +and configuration-specific. See the ChangeLog for more detail. + *** Changes in GDB-4.12: * Irix 5 is now supported diff --git a/gdb/README b/gdb/README index b61a9929e01..b9437c20ef1 100644 --- a/gdb/README +++ b/gdb/README @@ -1,5 +1,5 @@ - README for gdb-4.12 release - Updated 3-Feb-94 by Fred Fish + README for gdb-4.13 release + Updated 8-Aug-94 by Fred Fish This is GDB, the GNU source-level debugger, presently running under un*x. A summary of new features is in the file `NEWS'. @@ -11,7 +11,7 @@ Unpacking and Installation -- quick overview In this release, the GDB debugger sources, the generic GNU include files, the BFD ("binary file description") library, the readline library, and other libraries all have directories of their own -underneath the gdb-4.12 directory. The idea is that a variety of GNU +underneath the gdb-4.13 directory. The idea is that a variety of GNU tools can share a common copy of these things. Be aware of variation over time--for example don't try to build gdb with a copy of bfd from a release other than the gdb release (such as a binutils or gas @@ -20,8 +20,8 @@ Configuration scripts and makefiles exist to cruise up and down this directory tree and automatically build all the pieces in the right order. -When you unpack the gdb-4.12.tar.gz file, you'll find a directory -called `gdb-4.12', which contains: +When you unpack the gdb-4.13.tar.gz file, you'll find a directory +called `gdb-4.13', which contains: Makefile.in config.sub* glob/ opcodes/ README configure* include/ readline/ @@ -31,7 +31,7 @@ called `gdb-4.12', which contains: To build GDB, you can just do: - cd gdb-4.12 + cd gdb-4.13 ./configure make cp gdb/gdb /usr/local/bin/gdb (or wherever you want) @@ -51,9 +51,9 @@ More Documentation ****************** The GDB 4 release includes an already-formatted reference card, -ready for printing with PostScript or GhostScript, in the `gdb' -subdirectory of the main source directory. (In `gdb-4.12/gdb/refcard.ps'.) -If you can use PostScript or GhostScript with your printer, you can +ready for printing with PostScript or Ghostscript, in the `gdb' +subdirectory of the main source directory. (In `gdb-4.13/gdb/refcard.ps'.) +If you can use PostScript or Ghostscript with your printer, you can print the reference card immediately with `refcard.ps'. The release also includes the source for the reference card. You @@ -86,7 +86,7 @@ distribution. Info formatting programs, such as `texinfo-format-buffer' or `makeinfo'. If you have `makeinfo' installed, and are in the top level GDB -source directory (`gdb-4.12', in the case of version 4.12), you can make +source directory (`gdb-4.13', in the case of version 4.13), you can make the Info file by typing: cd gdb @@ -112,7 +112,7 @@ format. On its own, TeX cannot read, much less typeset a Texinfo file. If you have TeX and a DVI printer program installed, you can typeset and print this manual. First switch to the the `gdb' subdirectory of -the main source directory (for example, to `gdb-4.12/gdb') and then type: +the main source directory (for example, to `gdb-4.13/gdb') and then type: make gdb.dvi @@ -128,42 +128,42 @@ preparing GDB for installation; you can then use `make' to build the a single directory, whose name is usually composed by appending the version number to `gdb'. - For example, the GDB version 4.12 distribution is in the `gdb-4.12' + For example, the GDB version 4.13 distribution is in the `gdb-4.13' directory. That directory contains: -`gdb-4.12/configure (and supporting files)' +`gdb-4.13/configure (and supporting files)' script for configuring GDB and all its supporting libraries. -`gdb-4.12/gdb' +`gdb-4.13/gdb' the source specific to GDB itself -`gdb-4.12/bfd' +`gdb-4.13/bfd' source for the Binary File Descriptor library -`gdb-4.12/include' +`gdb-4.13/include' GNU include files -`gdb-4.12/libiberty' +`gdb-4.13/libiberty' source for the `-liberty' free software library -`gdb-4.12/opcodes' +`gdb-4.13/opcodes' source for the library of opcode tables and disassemblers -`gdb-4.12/readline' +`gdb-4.13/readline' source for the GNU command-line interface -`gdb-4.12/glob' +`gdb-4.13/glob' source for the GNU filename pattern-matching subroutine -`gdb-4.12/mmalloc' +`gdb-4.13/mmalloc' source for the GNU memory-mapped malloc package -'gdb-4.12/sim' +'gdb-4.13/sim' source for some simulators (z8000, H8/300, H8/500, etc) The simplest way to configure and build GDB is to run `configure' from the `gdb-VERSION-NUMBER' source directory, which in this example -is the `gdb-4.12' directory. +is the `gdb-4.13' directory. First switch to the `gdb-VERSION-NUMBER' source directory if you are not already in it; then run `configure'. Pass the identifier for the @@ -171,7 +171,7 @@ platform on which GDB will run as an argument. For example: - cd gdb-4.12 + cd gdb-4.13 ./configure HOST make @@ -190,8 +190,8 @@ you may need to run `sh' on it explicitly: sh configure HOST If you run `configure' from a directory that contains source -directories for multiple libraries or programs, such as the `gdb-4.12' -source directory for version 4.12, `configure' creates configuration +directories for multiple libraries or programs, such as the `gdb-4.13' +source directory for version 4.13, `configure' creates configuration files for every directory level underneath (unless you tell it not to, with the `--norecursion' option). @@ -199,10 +199,10 @@ with the `--norecursion' option). directories in the GDB distribution, if you only want to configure that subdirectory; but be sure to specify a path to it. - For example, with version 4.12, type the following to configure only + For example, with version 4.13, type the following to configure only the `bfd' subdirectory: - cd gdb-4.12/bfd + cd gdb-4.13/bfd ../configure HOST You can install `gdb' anywhere; it has no hardwired paths. However, @@ -231,13 +231,13 @@ directory. If the path to `configure' would be the same as the argument to `--srcdir', you can leave out the `--srcdir' option; it will be assumed.) - For example, with version 4.12, you can build GDB in a separate + For example, with version 4.13, you can build GDB in a separate directory for a Sun 4 like this: - cd gdb-4.12 + cd gdb-4.13 mkdir ../gdb-sun4 cd ../gdb-sun4 - ../gdb-4.12/configure sun4 + ../gdb-4.13/configure sun4 make When `configure' builds a configuration using a remote source @@ -258,8 +258,8 @@ called `configure' (or one of its subdirectories). The `Makefile' that `configure' generates in each source directory also runs recursively. If you type `make' in a source directory such -as `gdb-4.12' (or in a separate configured directory configured with -`--srcdir=PATH/gdb-4.12'), you will build all the required libraries, +as `gdb-4.13' (or in a separate configured directory configured with +`--srcdir=PATH/gdb-4.13'), you will build all the required libraries, and then build GDB. When you have multiple hosts or targets configured in separate @@ -302,7 +302,7 @@ you can use it to test your guesses on abbreviations--for example: Invalid configuration `i786v': machine `i786v' not recognized `config.sub' is also distributed in the GDB source directory -(`gdb-4.12', for version 4.12). +(`gdb-4.13', for version 4.13). `configure' options @@ -427,7 +427,7 @@ Reporting Bugs The correct address for reporting bugs found in gdb is "bug-gdb@prep.ai.mit.edu". Please email all bugs, and all requests for help with GDB, to that address. Please include the GDB version number -(e.g. gdb-4.12), and how you configured it (e.g. "sun4" or "mach386 +(e.g. gdb-4.13), and how you configured it (e.g. "sun4" or "mach386 host, i586-intel-synopsys target"). If you include the banner that GDB prints when it starts up, that will give us enough information. @@ -443,10 +443,6 @@ Known bugs: 30). As far as we can tell, this is a kernel problem. Any help with this would be greatly appreciated. - * On the SPARC GDB reports incorrect values of struct arguments to - functions, for the seventh and subsequent arguments. We have been looking - at this but no fix is available yet. - * On DECstations there are warnings about shift counts out of range in various BFD modules. None of them is a cause for alarm, they are actually a result of bugs in the DECstation compiler. @@ -471,8 +467,15 @@ Known bugs: try to relink your executable with the -non_shared option when using cc or with the -static option when using gcc. + * Notes for Solaris 2.x, using the SPARCworks cc compiler: + You have to compile your program with the -xs option of the SPARCworks + compiler to be able to debug your program with gdb. + Under Solaris 2.3 you also need patch 101409-03 (Jumbo linker patch). + Under Solaris 2.2, if you have patch 101052 installed, make sure + that it is at least at revision 101052-06. + * Notes for BSD/386: - To compile gdb-4.12 on BSD/386, you must run the configure script and + To compile gdb-4.13 on BSD/386, you must run the configure script and its subscripts with bash. Here is an easy way to do this: bash -c 'CONFIG_SHELL=/bin/bash ./configure' @@ -525,25 +528,25 @@ GDB Testsuite ============= There is a dejagnu based testsuite available for testing your newly -built gdb, or for regression testing gdb's with local modifications. -The testsuite is distributed separately from the base gdb distribution -for the convenience of people that wish to get either gdb or the testsuite +built GDB, or for regression testing GDBs with local modifications. +The testsuite is distributed separately from the base GDB distribution +for the convenience of people that wish to get either GDB or the testsuite separately. -The name of the testsuite is gdb-4.12-testsuite.tar.gz. You unpack it in the -same directory in which you unpacked the base gdb distribution, and it -will create and populate the directory gdb-4.12/gdb/testsuite. +The name of the testsuite is gdb-4.13-testsuite.tar.gz. You unpack it in the +same directory in which you unpacked the base GDB distribution, and it +will create and populate the directory gdb-4.13/gdb/testsuite. Running the testsuite requires the prior installation of dejagnu, which should be available via ftp. Once dejagnu is installed, you can run the tests in one of two ways: - (1) cd gdb-4.12/gdb (assuming you also unpacked gdb) + (1) cd gdb-4.13/gdb (assuming you also unpacked gdb) make check or - (2) cd gdb-4.12/gdb/testsuite + (2) cd gdb-4.13/gdb/testsuite make (builds the test executables) make site.exp (builds the site specific file) runtest -tool gdb GDB=../gdb (or GDB= as appropriate) @@ -551,7 +554,7 @@ or The second method gives you slightly more control in case of problems with building one or more test executables, in case you wish to remove some test executables before running the tests, or if you are using the testsuite -'standalone', without it being part of the gdb source tree. +'standalone', without it being part of the GDB source tree. See the dejagnu documentation for further details. -- 2.30.2