* README: Remove note about gcc warnings on alpha, these should be
gone now. * c-exp.y, ch-exp.y, core.c, corelow.c, eval.c, fork-child.c, m2-exp.y, minsyms.c, nlmread.c, parse.c, putenv.c, regex.c remote-utils.c, stabsread.c: Include <string.h>. * regex.c: Include "defs.h", change re_comp argument to const char *. * infptrace.c (fetch_register, store_inferior_registers): Change regaddr to type CORE_ADDR. * config/alpha/alpha-nw.mt, config/alpha/alpha-osf1.mt (MT_CFLAGS): Remove, no longer necessary now that we use bfd_vma for a CORE_ADDR.
This commit is contained in:
parent
7c202d3775
commit
ba47c66add
15 changed files with 98 additions and 72 deletions
|
@ -1,3 +1,20 @@
|
||||||
|
Tue Feb 8 00:32:28 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
|
||||||
|
|
||||||
|
* README: Remove note about gcc warnings on alpha, these should be
|
||||||
|
gone now.
|
||||||
|
* c-exp.y, ch-exp.y, core.c, corelow.c, eval.c, fork-child.c,
|
||||||
|
m2-exp.y, minsyms.c, nlmread.c, parse.c, putenv.c, regex.c
|
||||||
|
remote-utils.c, stabsread.c: Include <string.h>.
|
||||||
|
* regex.c: Include "defs.h", change re_comp argument to const char *.
|
||||||
|
* infptrace.c (fetch_register, store_inferior_registers): Change
|
||||||
|
regaddr to type CORE_ADDR.
|
||||||
|
* config/alpha/alpha-nw.mt, config/alpha/alpha-osf1.mt (MT_CFLAGS):
|
||||||
|
Remove, no longer necessary now that we use bfd_vma for a CORE_ADDR.
|
||||||
|
|
||||||
|
Mon Feb 7 09:21:17 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
|
||||||
|
|
||||||
|
* symtab.h: Always define BYTE_BITFIELD to nothing.
|
||||||
|
|
||||||
Mon Feb 7 08:44:17 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
|
Mon Feb 7 08:44:17 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
|
||||||
|
|
||||||
* config/m68k/{m68k-em.mt,tm-m68k-em.h}: Remove; no longer used.
|
* config/m68k/{m68k-em.mt,tm-m68k-em.h}: Remove; no longer used.
|
||||||
|
|
105
gdb/README
105
gdb/README
|
@ -1,5 +1,5 @@
|
||||||
README for gdb-4.9 release
|
README for gdb-4.12 release
|
||||||
Updated 10-May-93 by Fred Fish
|
Updated 3-Feb-94 by Fred Fish
|
||||||
|
|
||||||
This is GDB, the GNU source-level debugger, presently running under un*x.
|
This is GDB, the GNU source-level debugger, presently running under un*x.
|
||||||
A summary of new features is in the file `NEWS'.
|
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
|
In this release, the GDB debugger sources, the generic GNU include
|
||||||
files, the BFD ("binary file description") library, the readline
|
files, the BFD ("binary file description") library, the readline
|
||||||
library, and other libraries all have directories of their own
|
library, and other libraries all have directories of their own
|
||||||
underneath the gdb-4.9 directory. The idea is that a variety of GNU
|
underneath the gdb-4.12 directory. The idea is that a variety of GNU
|
||||||
tools can share a common copy of these things. Be aware of variation
|
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
|
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
|
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
|
directory tree and automatically build all the pieces in the right
|
||||||
order.
|
order.
|
||||||
|
|
||||||
When you unpack the gdb-4.9.tar.z or gdb-4.9.tar.Z file, you'll find
|
When you unpack the gdb-4.12.tar.gz file, you'll find a directory
|
||||||
a directory called `gdb-4.9', which contains:
|
called `gdb-4.12', which contains:
|
||||||
|
|
||||||
Makefile.in config.sub* glob/ opcodes/
|
Makefile.in config.sub* glob/ opcodes/
|
||||||
README configure* include/ readline/
|
README configure* include/ readline/
|
||||||
|
@ -31,7 +31,7 @@ a directory called `gdb-4.9', which contains:
|
||||||
|
|
||||||
To build GDB, you can just do:
|
To build GDB, you can just do:
|
||||||
|
|
||||||
cd gdb-4.9
|
cd gdb-4.12
|
||||||
./configure
|
./configure
|
||||||
make
|
make
|
||||||
cp gdb/gdb /usr/local/bin/gdb (or wherever you want)
|
cp gdb/gdb /usr/local/bin/gdb (or wherever you want)
|
||||||
|
@ -52,7 +52,7 @@ More Documentation
|
||||||
|
|
||||||
The GDB 4 release includes an already-formatted reference card,
|
The GDB 4 release includes an already-formatted reference card,
|
||||||
ready for printing with PostScript or GhostScript, in the `gdb'
|
ready for printing with PostScript or GhostScript, in the `gdb'
|
||||||
subdirectory of the main source directory. (In `gdb-4.9/gdb/refcard.ps'.)
|
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
|
If you can use PostScript or GhostScript with your printer, you can
|
||||||
print the reference card immediately with `refcard.ps'.
|
print the reference card immediately with `refcard.ps'.
|
||||||
|
|
||||||
|
@ -86,7 +86,7 @@ distribution.
|
||||||
Info formatting programs, such as `texinfo-format-buffer' or `makeinfo'.
|
Info formatting programs, such as `texinfo-format-buffer' or `makeinfo'.
|
||||||
|
|
||||||
If you have `makeinfo' installed, and are in the top level GDB
|
If you have `makeinfo' installed, and are in the top level GDB
|
||||||
source directory (`gdb-4.9', in the case of version 4.9), you can make
|
source directory (`gdb-4.12', in the case of version 4.12), you can make
|
||||||
the Info file by typing:
|
the Info file by typing:
|
||||||
|
|
||||||
cd gdb
|
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
|
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
|
and print this manual. First switch to the the `gdb' subdirectory of
|
||||||
the main source directory (for example, to `gdb-4.9/gdb') and then type:
|
the main source directory (for example, to `gdb-4.12/gdb') and then type:
|
||||||
|
|
||||||
make gdb.dvi
|
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
|
a single directory, whose name is usually composed by appending the
|
||||||
version number to `gdb'.
|
version number to `gdb'.
|
||||||
|
|
||||||
For example, the GDB version 4.9 distribution is in the `gdb-4.9'
|
For example, the GDB version 4.12 distribution is in the `gdb-4.12'
|
||||||
directory. That directory contains:
|
directory. That directory contains:
|
||||||
|
|
||||||
`gdb-4.9/configure (and supporting files)'
|
`gdb-4.12/configure (and supporting files)'
|
||||||
script for configuring GDB and all its supporting libraries.
|
script for configuring GDB and all its supporting libraries.
|
||||||
|
|
||||||
`gdb-4.9/gdb'
|
`gdb-4.12/gdb'
|
||||||
the source specific to GDB itself
|
the source specific to GDB itself
|
||||||
|
|
||||||
`gdb-4.9/bfd'
|
`gdb-4.12/bfd'
|
||||||
source for the Binary File Descriptor library
|
source for the Binary File Descriptor library
|
||||||
|
|
||||||
`gdb-4.9/include'
|
`gdb-4.12/include'
|
||||||
GNU include files
|
GNU include files
|
||||||
|
|
||||||
`gdb-4.9/libiberty'
|
`gdb-4.12/libiberty'
|
||||||
source for the `-liberty' free software library
|
source for the `-liberty' free software library
|
||||||
|
|
||||||
`gdb-4.9/opcodes'
|
`gdb-4.12/opcodes'
|
||||||
source for the library of opcode tables and disassemblers
|
source for the library of opcode tables and disassemblers
|
||||||
|
|
||||||
`gdb-4.9/readline'
|
`gdb-4.12/readline'
|
||||||
source for the GNU command-line interface
|
source for the GNU command-line interface
|
||||||
|
|
||||||
`gdb-4.9/glob'
|
`gdb-4.12/glob'
|
||||||
source for the GNU filename pattern-matching subroutine
|
source for the GNU filename pattern-matching subroutine
|
||||||
|
|
||||||
`gdb-4.9/mmalloc'
|
`gdb-4.12/mmalloc'
|
||||||
source for the GNU memory-mapped malloc package
|
source for the GNU memory-mapped malloc package
|
||||||
|
|
||||||
'gdb-4.9/sim'
|
'gdb-4.12/sim'
|
||||||
source for some simulators (z8000, H8/300, H8/500, etc)
|
source for some simulators (z8000, H8/300, H8/500, etc)
|
||||||
|
|
||||||
The simplest way to configure and build GDB is to run `configure'
|
The simplest way to configure and build GDB is to run `configure'
|
||||||
from the `gdb-VERSION-NUMBER' source directory, which in this example
|
from the `gdb-VERSION-NUMBER' source directory, which in this example
|
||||||
is the `gdb-4.9' directory.
|
is the `gdb-4.12' directory.
|
||||||
|
|
||||||
First switch to the `gdb-VERSION-NUMBER' source directory if you are
|
First switch to the `gdb-VERSION-NUMBER' source directory if you are
|
||||||
not already in it; then run `configure'. Pass the identifier for the
|
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:
|
For example:
|
||||||
|
|
||||||
cd gdb-4.9
|
cd gdb-4.12
|
||||||
./configure HOST
|
./configure HOST
|
||||||
make
|
make
|
||||||
|
|
||||||
|
@ -190,8 +190,8 @@ you may need to run `sh' on it explicitly:
|
||||||
sh configure HOST
|
sh configure HOST
|
||||||
|
|
||||||
If you run `configure' from a directory that contains source
|
If you run `configure' from a directory that contains source
|
||||||
directories for multiple libraries or programs, such as the `gdb-4.9'
|
directories for multiple libraries or programs, such as the `gdb-4.12'
|
||||||
source directory for version 4.9, `configure' creates configuration
|
source directory for version 4.12, `configure' creates configuration
|
||||||
files for every directory level underneath (unless you tell it not to,
|
files for every directory level underneath (unless you tell it not to,
|
||||||
with the `--norecursion' option).
|
with the `--norecursion' option).
|
||||||
|
|
||||||
|
@ -199,10 +199,10 @@ with the `--norecursion' option).
|
||||||
directories in the GDB distribution, if you only want to configure that
|
directories in the GDB distribution, if you only want to configure that
|
||||||
subdirectory; but be sure to specify a path to it.
|
subdirectory; but be sure to specify a path to it.
|
||||||
|
|
||||||
For example, with version 4.9, type the following to configure only
|
For example, with version 4.12, type the following to configure only
|
||||||
the `bfd' subdirectory:
|
the `bfd' subdirectory:
|
||||||
|
|
||||||
cd gdb-4.9/bfd
|
cd gdb-4.12/bfd
|
||||||
../configure HOST
|
../configure HOST
|
||||||
|
|
||||||
You can install `gdb' anywhere; it has no hardwired paths. However,
|
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
|
argument to `--srcdir', you can leave out the `--srcdir' option; it
|
||||||
will be assumed.)
|
will be assumed.)
|
||||||
|
|
||||||
For example, with version 4.9, you can build GDB in a separate
|
For example, with version 4.12, you can build GDB in a separate
|
||||||
directory for a Sun 4 like this:
|
directory for a Sun 4 like this:
|
||||||
|
|
||||||
cd gdb-4.9
|
cd gdb-4.12
|
||||||
mkdir ../gdb-sun4
|
mkdir ../gdb-sun4
|
||||||
cd ../gdb-sun4
|
cd ../gdb-sun4
|
||||||
../gdb-4.9/configure sun4
|
../gdb-4.12/configure sun4
|
||||||
make
|
make
|
||||||
|
|
||||||
When `configure' builds a configuration using a remote source
|
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
|
The `Makefile' that `configure' generates in each source directory
|
||||||
also runs recursively. If you type `make' in a source directory such
|
also runs recursively. If you type `make' in a source directory such
|
||||||
as `gdb-4.9' (or in a separate configured directory configured with
|
as `gdb-4.12' (or in a separate configured directory configured with
|
||||||
`--srcdir=PATH/gdb-4.9'), you will build all the required libraries,
|
`--srcdir=PATH/gdb-4.12'), you will build all the required libraries,
|
||||||
and then build GDB.
|
and then build GDB.
|
||||||
|
|
||||||
When you have multiple hosts or targets configured in separate
|
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
|
Invalid configuration `i786v': machine `i786v' not recognized
|
||||||
|
|
||||||
`config.sub' is also distributed in the GDB source directory
|
`config.sub' is also distributed in the GDB source directory
|
||||||
(`gdb-4.9', for version 4.9).
|
(`gdb-4.12', for version 4.12).
|
||||||
|
|
||||||
|
|
||||||
`configure' options
|
`configure' options
|
||||||
|
@ -370,20 +370,7 @@ GDB or its supporting libraries.
|
||||||
Languages other than C
|
Languages other than C
|
||||||
=======================
|
=======================
|
||||||
|
|
||||||
GDB provides some support for debugging C++ programs, however that support
|
See the GDB manual (doc/gdb.texinfo) for information on this.
|
||||||
only works well with GNU C++, and even then only on systems that use stabs
|
|
||||||
debugging format. In particular, cfront based compilers such as Sun's C++
|
|
||||||
are not fully supported.
|
|
||||||
|
|
||||||
GDB should work with FORTRAN programs. If you have problems, please send a
|
|
||||||
bug report; you may have to refer to some FORTRAN variables with a trailing
|
|
||||||
underscore.
|
|
||||||
|
|
||||||
Pascal programs which use sets, subranges, file variables, or nested functions
|
|
||||||
will not currently work.
|
|
||||||
|
|
||||||
Partial Modula-2 and Chill support is now in GDB.
|
|
||||||
|
|
||||||
|
|
||||||
Kernel debugging
|
Kernel debugging
|
||||||
=================
|
=================
|
||||||
|
@ -440,7 +427,7 @@ Reporting Bugs
|
||||||
The correct address for reporting bugs found in gdb is
|
The correct address for reporting bugs found in gdb is
|
||||||
"bug-gdb@prep.ai.mit.edu". Please email all bugs, and all requests for
|
"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
|
help with GDB, to that address. Please include the GDB version number
|
||||||
(e.g. gdb-4.9), and how you configured it (e.g. "sun4" or "mach386
|
(e.g. gdb-4.12), and how you configured it (e.g. "sun4" or "mach386
|
||||||
host, i586-intel-synopsys target"). If you include the banner that GDB
|
host, i586-intel-synopsys target"). If you include the banner that GDB
|
||||||
prints when it starts up, that will give us enough information.
|
prints when it starts up, that will give us enough information.
|
||||||
|
|
||||||
|
@ -478,8 +465,20 @@ Known bugs:
|
||||||
It has been reported that the Ultrix 4.3A compiler on decstations has the
|
It has been reported that the Ultrix 4.3A compiler on decstations has the
|
||||||
same problems.
|
same problems.
|
||||||
|
|
||||||
If you compile gdb with gcc-2.4.5, you will get many warnings,
|
Under some circumstances OSF/1 shared libraries do get relocated to a
|
||||||
but these can be ignored for now. Again, this problem is Alpha-specific.
|
different address, but gdb cannot handle these relocations yet. If you
|
||||||
|
encounter problems while debugging executables which use shared libraries,
|
||||||
|
try to relink your executable with the -non_shared option when using cc
|
||||||
|
or with the -static option when using gcc.
|
||||||
|
|
||||||
|
* Notes for BSD/386:
|
||||||
|
To compile gdb-4.12 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'
|
||||||
|
|
||||||
|
(configure will report i386-unknown-bsd). Then, compile with the
|
||||||
|
standard "make" command.
|
||||||
|
|
||||||
GDB can produce warnings about symbols that it does not understand. By
|
GDB can produce warnings about symbols that it does not understand. By
|
||||||
default, these warnings are disabled. You can enable them by executing
|
default, these warnings are disabled. You can enable them by executing
|
||||||
|
@ -531,20 +530,20 @@ The testsuite is distributed separately from the base gdb distribution
|
||||||
for the convenience of people that wish to get either gdb or the testsuite
|
for the convenience of people that wish to get either gdb or the testsuite
|
||||||
separately.
|
separately.
|
||||||
|
|
||||||
The name of the testsuite is gdb-4.9-testsuite.tar.z. You unpack it in the
|
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
|
same directory in which you unpacked the base gdb distribution, and it
|
||||||
will create and populate the directory gdb-4.9/gdb/testsuite.
|
will create and populate the directory gdb-4.12/gdb/testsuite.
|
||||||
|
|
||||||
Running the testsuite requires the prior installation of dejagnu, which
|
Running the testsuite requires the prior installation of dejagnu, which
|
||||||
should be available via ftp. Once dejagnu is installed, you can run
|
should be available via ftp. Once dejagnu is installed, you can run
|
||||||
the tests in one of two ways:
|
the tests in one of two ways:
|
||||||
|
|
||||||
(1) cd gdb-4.9/gdb (assuming you also unpacked gdb)
|
(1) cd gdb-4.12/gdb (assuming you also unpacked gdb)
|
||||||
make check
|
make check
|
||||||
|
|
||||||
or
|
or
|
||||||
|
|
||||||
(2) cd gdb-4.9/gdb/testsuite
|
(2) cd gdb-4.12/gdb/testsuite
|
||||||
make (builds the test executables)
|
make (builds the test executables)
|
||||||
make site.exp (builds the site specific file)
|
make site.exp (builds the site specific file)
|
||||||
runtest -tool gdb GDB=../gdb (or GDB=<somepath> as appropriate)
|
runtest -tool gdb GDB=../gdb (or GDB=<somepath> as appropriate)
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
/* YACC parser for C expressions, for GDB.
|
/* YACC parser for C expressions, for GDB.
|
||||||
Copyright (C) 1986, 1989, 1990, 1991 Free Software Foundation, Inc.
|
Copyright (C) 1986, 1989, 1990, 1991, 1993, 1994
|
||||||
|
Free Software Foundation, Inc.
|
||||||
|
|
||||||
This file is part of GDB.
|
This file is part of GDB.
|
||||||
|
|
||||||
|
@ -37,6 +38,7 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
|
||||||
%{
|
%{
|
||||||
|
|
||||||
#include "defs.h"
|
#include "defs.h"
|
||||||
|
#include <string.h>
|
||||||
#include "expression.h"
|
#include "expression.h"
|
||||||
#include "value.h"
|
#include "value.h"
|
||||||
#include "parser-defs.h"
|
#include "parser-defs.h"
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/* YACC grammar for Chill expressions, for GDB.
|
/* YACC grammar for Chill expressions, for GDB.
|
||||||
Copyright 1992, 1993 Free Software Foundation, Inc.
|
Copyright 1992, 1993, 1994 Free Software Foundation, Inc.
|
||||||
|
|
||||||
This file is part of GDB.
|
This file is part of GDB.
|
||||||
|
|
||||||
|
@ -54,6 +54,7 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
|
||||||
%{
|
%{
|
||||||
|
|
||||||
#include "defs.h"
|
#include "defs.h"
|
||||||
|
#include <string.h>
|
||||||
#include <ctype.h>
|
#include <ctype.h>
|
||||||
#include "expression.h"
|
#include "expression.h"
|
||||||
#include "language.h"
|
#include "language.h"
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
/* Core dump and executable file functions above target vector, for GDB.
|
/* Core dump and executable file functions above target vector, for GDB.
|
||||||
Copyright 1986, 1987, 1989, 1991, 1992 Free Software Foundation, Inc.
|
Copyright 1986, 1987, 1989, 1991, 1992, 1993, 1994
|
||||||
|
Free Software Foundation, Inc.
|
||||||
|
|
||||||
This file is part of GDB.
|
This file is part of GDB.
|
||||||
|
|
||||||
|
@ -18,6 +19,7 @@ along with this program; if not, write to the Free Software
|
||||||
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
|
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
|
||||||
|
|
||||||
#include "defs.h"
|
#include "defs.h"
|
||||||
|
#include <string.h>
|
||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
#include <signal.h>
|
#include <signal.h>
|
||||||
#include <fcntl.h>
|
#include <fcntl.h>
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
/* Core dump and executable file functions below target vector, for GDB.
|
/* Core dump and executable file functions below target vector, for GDB.
|
||||||
Copyright 1986, 1987, 1989, 1991, 1992 Free Software Foundation, Inc.
|
Copyright 1986, 1987, 1989, 1991, 1992, 1993, 1994
|
||||||
|
Free Software Foundation, Inc.
|
||||||
|
|
||||||
This file is part of GDB.
|
This file is part of GDB.
|
||||||
|
|
||||||
|
@ -18,6 +19,7 @@ along with this program; if not, write to the Free Software
|
||||||
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
|
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
|
||||||
|
|
||||||
#include "defs.h"
|
#include "defs.h"
|
||||||
|
#include <string.h>
|
||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
#include <signal.h>
|
#include <signal.h>
|
||||||
#include <fcntl.h>
|
#include <fcntl.h>
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/* Fork a Unix child process, and set up to debug it, for GDB.
|
/* Fork a Unix child process, and set up to debug it, for GDB.
|
||||||
Copyright 1990, 1991, 1992 Free Software Foundation, Inc.
|
Copyright 1990, 1991, 1992, 1993, 1994 Free Software Foundation, Inc.
|
||||||
Contributed by Cygnus Support.
|
Contributed by Cygnus Support.
|
||||||
|
|
||||||
This file is part of GDB.
|
This file is part of GDB.
|
||||||
|
@ -19,6 +19,7 @@ along with this program; if not, write to the Free Software
|
||||||
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
|
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
|
||||||
|
|
||||||
#include "defs.h"
|
#include "defs.h"
|
||||||
|
#include <string.h>
|
||||||
#include "frame.h" /* required by inferior.h */
|
#include "frame.h" /* required by inferior.h */
|
||||||
#include "inferior.h"
|
#include "inferior.h"
|
||||||
#include "target.h"
|
#include "target.h"
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
/* YACC grammar for Modula-2 expressions, for GDB.
|
/* YACC grammar for Modula-2 expressions, for GDB.
|
||||||
Copyright (C) 1986, 1989, 1990, 1991 Free Software Foundation, Inc.
|
Copyright (C) 1986, 1989, 1990, 1991, 1993, 1994
|
||||||
|
Free Software Foundation, Inc.
|
||||||
Generated from expread.y (now c-exp.y) and contributed by the Department
|
Generated from expread.y (now c-exp.y) and contributed by the Department
|
||||||
of Computer Science at the State University of New York at Buffalo, 1991.
|
of Computer Science at the State University of New York at Buffalo, 1991.
|
||||||
|
|
||||||
|
@ -39,6 +40,7 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
|
||||||
%{
|
%{
|
||||||
|
|
||||||
#include "defs.h"
|
#include "defs.h"
|
||||||
|
#include <string.h>
|
||||||
#include "expression.h"
|
#include "expression.h"
|
||||||
#include "language.h"
|
#include "language.h"
|
||||||
#include "value.h"
|
#include "value.h"
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/* GDB routines for manipulating the minimal symbol tables.
|
/* GDB routines for manipulating the minimal symbol tables.
|
||||||
Copyright 1992 Free Software Foundation, Inc.
|
Copyright 1992, 1993, 1994 Free Software Foundation, Inc.
|
||||||
Contributed by Cygnus Support, using pieces from other GDB modules.
|
Contributed by Cygnus Support, using pieces from other GDB modules.
|
||||||
|
|
||||||
This file is part of GDB.
|
This file is part of GDB.
|
||||||
|
@ -38,6 +38,7 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
|
||||||
|
|
||||||
|
|
||||||
#include "defs.h"
|
#include "defs.h"
|
||||||
|
#include <string.h>
|
||||||
#include "symtab.h"
|
#include "symtab.h"
|
||||||
#include "bfd.h"
|
#include "bfd.h"
|
||||||
#include "symfile.h"
|
#include "symfile.h"
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/* Read NLM (NetWare Loadable Module) format executable files for GDB.
|
/* Read NLM (NetWare Loadable Module) format executable files for GDB.
|
||||||
Copyright 1993 Free Software Foundation, Inc.
|
Copyright 1993, 1994 Free Software Foundation, Inc.
|
||||||
Written by Fred Fish at Cygnus Support (fnf@cygnus.com).
|
Written by Fred Fish at Cygnus Support (fnf@cygnus.com).
|
||||||
|
|
||||||
This file is part of GDB.
|
This file is part of GDB.
|
||||||
|
@ -19,6 +19,7 @@ along with this program; if not, write to the Free Software
|
||||||
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
|
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
|
||||||
|
|
||||||
#include "defs.h"
|
#include "defs.h"
|
||||||
|
#include <string.h>
|
||||||
#include "bfd.h"
|
#include "bfd.h"
|
||||||
#include "symtab.h"
|
#include "symtab.h"
|
||||||
#include "symfile.h"
|
#include "symfile.h"
|
||||||
|
|
|
@ -29,6 +29,7 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
|
||||||
come first in the result. */
|
come first in the result. */
|
||||||
|
|
||||||
#include "defs.h"
|
#include "defs.h"
|
||||||
|
#include <string.h>
|
||||||
#include "symtab.h"
|
#include "symtab.h"
|
||||||
#include "gdbtypes.h"
|
#include "gdbtypes.h"
|
||||||
#include "frame.h"
|
#include "frame.h"
|
||||||
|
|
|
@ -25,6 +25,7 @@ domain program.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
#include <string.h>
|
||||||
|
|
||||||
#define PSIZE sizeof(char *)
|
#define PSIZE sizeof(char *)
|
||||||
|
|
||||||
|
|
12
gdb/regex.c
12
gdb/regex.c
|
@ -32,14 +32,8 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
|
||||||
|
|
||||||
#else /* not emacs */
|
#else /* not emacs */
|
||||||
|
|
||||||
/* Make alloca work the best possible way. */
|
#include "defs.h"
|
||||||
#ifdef __GNUC__
|
#include <string.h>
|
||||||
#define alloca __builtin_alloca
|
|
||||||
#else
|
|
||||||
#ifdef sparc
|
|
||||||
#include <alloca.h>
|
|
||||||
#endif
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Define the syntax stuff, so we can do the \<...\> things.
|
* Define the syntax stuff, so we can do the \<...\> things.
|
||||||
|
@ -1556,7 +1550,7 @@ static struct re_pattern_buffer re_comp_buf;
|
||||||
|
|
||||||
char *
|
char *
|
||||||
re_comp (s)
|
re_comp (s)
|
||||||
char *s;
|
const char *s;
|
||||||
{
|
{
|
||||||
if (!s)
|
if (!s)
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
/* Generic support for remote debugging interfaces.
|
/* Generic support for remote debugging interfaces.
|
||||||
|
|
||||||
Copyright 1993 Free Software Foundation, Inc.
|
Copyright 1993, 1994 Free Software Foundation, Inc.
|
||||||
|
|
||||||
This file is part of GDB.
|
This file is part of GDB.
|
||||||
|
|
||||||
|
@ -42,6 +42,7 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
|
||||||
#include <ctype.h>
|
#include <ctype.h>
|
||||||
|
|
||||||
#include "defs.h"
|
#include "defs.h"
|
||||||
|
#include <string.h>
|
||||||
#include "gdbcmd.h"
|
#include "gdbcmd.h"
|
||||||
#include "target.h"
|
#include "target.h"
|
||||||
#include "serial.h"
|
#include "serial.h"
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/* Support routines for decoding "stabs" debugging information format.
|
/* Support routines for decoding "stabs" debugging information format.
|
||||||
Copyright 1986, 1987, 1988, 1989, 1990, 1991, 1992, 1993
|
Copyright 1986, 1987, 1988, 1989, 1990, 1991, 1992, 1993, 1994
|
||||||
Free Software Foundation, Inc.
|
Free Software Foundation, Inc.
|
||||||
|
|
||||||
This file is part of GDB.
|
This file is part of GDB.
|
||||||
|
@ -25,6 +25,7 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
|
||||||
Avoid placing any object file format specific code in this file. */
|
Avoid placing any object file format specific code in this file. */
|
||||||
|
|
||||||
#include "defs.h"
|
#include "defs.h"
|
||||||
|
#include <string.h>
|
||||||
#include "bfd.h"
|
#include "bfd.h"
|
||||||
#include "obstack.h"
|
#include "obstack.h"
|
||||||
#include "symtab.h"
|
#include "symtab.h"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue