Fred Fish [Sun, 15 Mar 1992 02:16:01 +0000 (02:16 +0000)]
New memory malloc malloc library, based on GNU malloc.
Fred Fish [Sun, 15 Mar 1992 01:33:32 +0000 (01:33 +0000)]
Convert calls to bare malloc() to bfd_xmalloc().
Fred Fish [Sun, 15 Mar 1992 01:21:52 +0000 (01:21 +0000)]
Add support for mmalloc library.
Fred Fish [Sun, 15 Mar 1992 01:13:26 +0000 (01:13 +0000)]
These files are replaced by the mmalloc library.
Fred Fish [Sun, 15 Mar 1992 01:10:01 +0000 (01:10 +0000)]
Missed in last checkin.
Fred Fish [Sun, 15 Mar 1992 01:09:14 +0000 (01:09 +0000)]
Globs of changes. See the ChangeLog for details. Most related to
using the new mmalloc package.
Fred Fish [Sat, 14 Mar 1992 19:47:11 +0000 (19:47 +0000)]
Only enable compilation of debugging functions when IBM6000 is defined
as well as DEBUG. Fails to compile otherwise.
Fred Fish [Sat, 14 Mar 1992 19:41:28 +0000 (19:41 +0000)]
Add config directory to list of things to keep.
Mark Eichin [Sat, 14 Mar 1992 09:04:48 +0000 (09:04 +0000)]
missing backslash on first line of all.normal
John Gilmore [Sat, 14 Mar 1992 05:40:34 +0000 (05:40 +0000)]
* mipsread.c (mipscoff_symfile_read): Eliminate a lot of
useless code, including an lseek to an uninitialized variable.
Reported by Jim Williams <jimbo@wrs.com>.
K. Richard Pixley [Sat, 14 Mar 1992 03:47:55 +0000 (03:47 +0000)]
install man page too
K. Richard Pixley [Sat, 14 Mar 1992 03:09:49 +0000 (03:09 +0000)]
fix cvs merge detritus
K. Richard Pixley [Sat, 14 Mar 1992 03:08:29 +0000 (03:08 +0000)]
pass MAKEINFO macro on info
K. Richard Pixley [Sat, 14 Mar 1992 03:07:12 +0000 (03:07 +0000)]
use MAKEINFO macro
K. Richard Pixley [Sat, 14 Mar 1992 02:54:17 +0000 (02:54 +0000)]
pass MAKEINFO on recursion
K. Richard Pixley [Sat, 14 Mar 1992 02:45:00 +0000 (02:45 +0000)]
add stmp dependencies for a few more things
K. Richard Pixley [Sat, 14 Mar 1992 02:30:18 +0000 (02:30 +0000)]
pass MAKEINFO down on info
Roland Pesch [Sat, 14 Mar 1992 00:07:37 +0000 (00:07 +0000)]
(1) GDB 4.5: another Grossman/Gilmore co-production!
(2) Add fnf to GDB credits for SVr4 stuff. (Need to sift ChangeLog again for
more recent credits).
(3) document "mapped", "readnow" keywords (with file or symbol-file commands;
for now no mention of add-symbol-file in this context), -m and -mapped
cmd-line options, and associated explanations.
Roland Pesch [Sat, 14 Mar 1992 00:05:37 +0000 (00:05 +0000)]
Run TeX *three* times to get better index, xrefs.
Roland Pesch [Fri, 13 Mar 1992 22:56:28 +0000 (22:56 +0000)]
(1) Document printmsyms; slight clarifications to description of printsyms,
printpsyms.
(2) Fix errors found by makeinfo.
(3) Initial docn for "info proc" and its subcommands. Should probably
be expanded somewhat after implementation complete.
Roland Pesch [Fri, 13 Mar 1992 20:57:33 +0000 (20:57 +0000)]
Patches from fnf for SVr4
Steve Chamberlain [Fri, 13 Mar 1992 16:47:29 +0000 (16:47 +0000)]
Reflect file name changes
Steve Chamberlain [Fri, 13 Mar 1992 16:25:26 +0000 (16:25 +0000)]
* config/mt-<foo> renamed to <foo>.mt
* config/mh-<foo> renamed to <foo>.mt
* configure.in changed to reflect this
* genscripts.sh now make .xbn files rather than .xN files
Steve Chamberlain [Fri, 13 Mar 1992 16:04:21 +0000 (16:04 +0000)]
Fri Mar 13 08:03:03 1992 Steve Chamberlain (sac@thepub.cygnus.com)
* flonum-const.c: renamed flonum-konst.c to stop dos name
conflict.
Steve Chamberlain [Fri, 13 Mar 1992 15:57:41 +0000 (15:57 +0000)]
Fixed the whitespace
Steve Chamberlain [Fri, 13 Mar 1992 15:56:57 +0000 (15:56 +0000)]
Added PROTO
Steve Chamberlain [Fri, 13 Mar 1992 15:43:32 +0000 (15:43 +0000)]
* config/mt-<foo> now <foo>.mt, config/mh-<foo> now <foo>.mh.
host/h-<foo> now just <foo>.
* configure.in: reflect changes
Per Bothner [Fri, 13 Mar 1992 01:42:25 +0000 (01:42 +0000)]
Mostly merged in changes from IBM (Metin); see ChangeLog.
Roland Pesch [Thu, 12 Mar 1992 21:26:01 +0000 (21:26 +0000)]
Reinstate "gdb-all.texi" as target. (Thanks, Rich, for the reminder).
Roland Pesch [Thu, 12 Mar 1992 21:15:32 +0000 (21:15 +0000)]
.Sanitize: reflect removal of gdb-all.texi from repository
lucid.m4: config for Lucid/NCR (like "all.m4" but also turns on _LUCID__)
none.m4: turn _LUCID__ off by default
gdb.texinfo:
1) Use bold rather than italic for user input in intro, to avoid discord
with meta-variable convention throughout manual (jim@wrs.com suggestion).
2) Some mumbling about using GDB under Energize/Cadillac.
(conditionalized on _LUCID__, not included yet in general-doc config)
3) more remarks about debugging optimized code, incl vanishing unused vars
(rms/gnu/net suggestion).
4) @emph replaces @i in a few spots (emphasis should affect info file as
well as printed manual).
5) "memory tracing", "breakpoint on variable modification" index entries
added, pointing to watchpoints (gnu suggestion).
6) Less passive, more index entries, in breakpoint-number description
7) doc new convenience var $bpnum (due to grossman?)
8) Update "info breakpoints" to describe new Grossman format; note now
synonymous with "info watchpoints".
9) Describe negative (GDB internal) breakpoints and new "info all-breakpoints"
10) Slight change to description of colon-colon GDB expression notation,
describing function::var as well as file::var and noting var is static
(lmb question, gnu suggestion)
11) Doc Per's new &(&foo) for debugging C++
12) Rephrase paragraph in configure appendix to avoid overfull box
(in *large* format!)
13) Additional warning re VPATH feature required for --srcdir= config.
(gnu suggestion)
Per Bothner [Thu, 12 Mar 1992 20:18:54 +0000 (20:18 +0000)]
* solib.h, infrun.c, tm-rs6000.h: Add a PID parameter
to SOLIB_CREATE_INFERIOR_HOOK macro.
Per Bothner [Thu, 12 Mar 1992 19:17:28 +0000 (19:17 +0000)]
* libbfd-in.h (set_tdata): Make change of Feb 27 in the
actual source file, not just the generated libbfd.h.
K. Richard Pixley [Thu, 12 Mar 1992 12:56:53 +0000 (12:56 +0000)]
add libiberty stmp to all and all.cross
K. Richard Pixley [Thu, 12 Mar 1992 12:47:36 +0000 (12:47 +0000)]
* configure.in: vxworks68 gets te-sun3.h.
* expr.c: remove limitation that local_labels_dollar or
local_labels_fb must be < 10.
* symbols.c: remove local_labels_dollar, replace with a function
interface for a sparse array. All users adjusted.
K. Richard Pixley [Thu, 12 Mar 1992 12:44:22 +0000 (12:44 +0000)]
* tc-m68k.h, te-sun3.h: moved LOCAL_LABELS_FB definition from
tc-m68k.h to te-sun3.h.
* te-sun3.h: add LOCAL_LABELS_DOLLAR.
John Gilmore [Thu, 12 Mar 1992 06:08:56 +0000 (06:08 +0000)]
mips-big-* target
Michael Tiemann [Wed, 11 Mar 1992 15:42:34 +0000 (15:42 +0000)]
Add .stmp-gcc to all-gcc target.
K. Richard Pixley [Wed, 11 Mar 1992 10:08:54 +0000 (10:08 +0000)]
remove force from dependencies, add grep to all
K. Richard Pixley [Wed, 11 Mar 1992 06:24:19 +0000 (06:24 +0000)]
added check for conflicting configurations (srcdir vs not)
K. Richard Pixley [Wed, 11 Mar 1992 06:07:29 +0000 (06:07 +0000)]
remove trailing slashes from srcdir so gdb-mode won't get cranky
K. Richard Pixley [Wed, 11 Mar 1992 05:57:50 +0000 (05:57 +0000)]
drop flex. make stamp files work
K. Richard Pixley [Wed, 11 Mar 1992 05:50:05 +0000 (05:50 +0000)]
use relative paths for configure and srcdir when possible
Steve Chamberlain [Wed, 11 Mar 1992 02:01:42 +0000 (02:01 +0000)]
Hooks for configuring newlib
K. Richard Pixley [Tue, 10 Mar 1992 00:57:37 +0000 (00:57 +0000)]
keep ChangeLog and gdb-all.texi
K. Richard Pixley [Tue, 10 Mar 1992 00:50:59 +0000 (00:50 +0000)]
keep ChangeLog and as-all.texinfo
Stu Grossman [Mon, 9 Mar 1992 22:46:53 +0000 (22:46 +0000)]
Interface routines for Lucid's tool protocol.
Fred Fish [Mon, 9 Mar 1992 05:23:45 +0000 (05:23 +0000)]
* symfile.h: Add prototype for iterate_over_msymbols().
* symtab.c (cplus_mangled_symbol): Add function.
* symtab.c (lookup_symbol): Call cplus_mangled_symbol via
iterate_over_msymbols to find demangled C++ symbol.
* xcoffexec.c (relocate_minimal_symbol): Return meaningful
value to iterate_over_msymbols().
* xcoffexec.c (vmap_symtab): Ignore return from iterate_over_
msymbols().
K. Richard Pixley [Sun, 8 Mar 1992 09:11:19 +0000 (09:11 +0000)]
This is the third and final batch of makefile changes this round.
These are Makefiles that do not participate in progressive yet have
still been brought current.
* added exec_prefix
* default bindir now exec_prefix/bin
* default libdir now exec_prefix/lib
* default mandir now prefix/man
* default infodir now prefix/info
* added oldincludedir, default NULL
* remove all traces of the old -subdirs and -namesubdir support,
including code, for loops, and all subdir/unsubdir stuff.
* remove old style staging targets {de-}stage[1234], comparison,
bootstrapN, from all but the bootstrappable tools.
* added check targets.
* removed any "Last Mod" lines.
* forced copyrights to '92 and shifted some from Cygnus to FSF.
* added tooldir and program_prefix where needed.
* updated texinfo and man pages, removed all references to multiple
hosts or targets.
K. Richard Pixley [Sun, 8 Mar 1992 07:47:55 +0000 (07:47 +0000)]
This is the second batch of makefile changes. Libg++ makefiles were
checked in earlier. These are Makefiles relevant to the progressive
release currently in progress.
* added exec_prefix
* default bindir now exec_prefix/bin
* default libdir now exec_prefix/lib
* default mandir now prefix/man
* default infodir now prefix/info
* added oldincludedir, default NULL
* remove all traces of the old -subdirs and -namesubdir support,
including code, for loops, and all subdir/unsubdir stuff.
* remove old style staging targets {de-}stage[1234], comparison,
bootstrapN, from all but the bootstrappable tools.
* added check targets.
* removed any "Last Mod" lines.
* forced copyrights to '92 and shifted some from Cygnus to FSF.
* added tooldir and program_prefix where needed.
* updated texinfo and man pages, removed all references to multiple
hosts or targets.
K. Richard Pixley [Sun, 8 Mar 1992 07:11:56 +0000 (07:11 +0000)]
include ansidecl.h
K. Richard Pixley [Sun, 8 Mar 1992 07:08:58 +0000 (07:08 +0000)]
added menu triggers
Steve Chamberlain [Sat, 7 Mar 1992 18:36:38 +0000 (18:36 +0000)]
* coff-i960.c (icoff_little_vec): add COFF_SWAP_TABLE so we can run gdb on little
endian 960 code.
* archive.c (compute_and_write_armap): indirect symbols should go
into the archive header too.
Steve Chamberlain [Sat, 7 Mar 1992 18:32:27 +0000 (18:32 +0000)]
*** empty log message ***
Steve Chamberlain [Sat, 7 Mar 1992 18:31:24 +0000 (18:31 +0000)]
Lint removal, extra prototypes.
Recopied cplus-dem from gdb, makes more things come out right.
Steve Chamberlain [Sat, 7 Mar 1992 02:54:09 +0000 (02:54 +0000)]
* chew.c: now has -w switch turn on warnings
Roland Pesch [Fri, 6 Mar 1992 20:05:04 +0000 (20:05 +0000)]
Fix punctuation error in node Disabling, spotted by gnu.
Roland Pesch [Fri, 6 Mar 1992 19:58:01 +0000 (19:58 +0000)]
Remove (or comment out) local-formatting commands accidentally checked in.
(Fix for info-making problems spotted by Rich.)
Steve Chamberlain [Fri, 6 Mar 1992 15:00:57 +0000 (15:00 +0000)]
* ldmain.c (Q_enter_file_symbols): now aliases work again
Steve Chamberlain [Fri, 6 Mar 1992 12:14:14 +0000 (12:14 +0000)]
Now use EXFUN rather than PROTO, so that things using ansidecl.h and
not bfd.h can use them
Sean Eric Fagan [Fri, 6 Mar 1992 12:01:13 +0000 (12:01 +0000)]
Routines for currently-unsupported architectures. findcall() just returns
in dummy.c, and dummy.h mostly contains copyright. (These were originally
the hp300 files from the UCBerkeley net2 tape.)
Sean Eric Fagan [Fri, 6 Mar 1992 11:59:10 +0000 (11:59 +0000)]
For currently-unsupported machines. Causes a null-routine to be called
for some of the subroutine tracing stuff.
Sean Eric Fagan [Fri, 6 Mar 1992 11:57:22 +0000 (11:57 +0000)]
Fixed a typo in an if statement -- gcc caught it ('=' vs. '==').
Sean Eric Fagan [Fri, 6 Mar 1992 11:56:31 +0000 (11:56 +0000)]
Fixed bugs (both typos and algorithmic) bugs. It now matches native gprof's
on both the sparc (SunOS) and Mach386 systems, more or less. (The differences
are at least partially due to what I think might be bugs in the native
gprof.)
Sean Eric Fagan [Fri, 6 Mar 1992 11:54:37 +0000 (11:54 +0000)]
Fixed some serious bugs in the configuration of gprof. It now works with
the latest bfd and company.
K. Richard Pixley [Fri, 6 Mar 1992 11:32:42 +0000 (11:32 +0000)]
this file will be needed as long as we use a tool that we do not distribute (m4)
K. Richard Pixley [Fri, 6 Mar 1992 11:30:45 +0000 (11:30 +0000)]
this file will be needed as long as we use a tool that we don't support (m4)
John Gilmore [Fri, 6 Mar 1992 09:27:47 +0000 (09:27 +0000)]
* mips-tdep.c (heuristic_proc_start): Avoid long delays
for remote MIPS by limiting heuristic to 200 byte search.
(heuristic_proc_desc): Byte-swapping.
(mips_print_register): Cope with failure of
read_relative_register_raw_bytes. Byte-swap integers for
printing.
* mips-pinsn.c (print_insn): Byte-swap instruction.
John Gilmore [Fri, 6 Mar 1992 09:16:52 +0000 (09:16 +0000)]
* remote.c (): Add newline to initial +.
(remote_resume): Mention how to cope with signals.
(remote_interrupt): Add debug msg.
(remote-wait): Implement new 'T' reply, which includes
status, PC, and FP all in a single short message.
(putpkt): Add further debugging of packet acks.
* Makefile.in (VERSION): Roll to 4.4.5.
John Gilmore [Fri, 6 Mar 1992 09:12:42 +0000 (09:12 +0000)]
* mipsread.c (fixup_symtab): Also swap RFD's.
(parse_partial_symbols): Avoid bug on unknown symbol types.
John Gilmore [Fri, 6 Mar 1992 08:57:33 +0000 (08:57 +0000)]
Remove sym.h and symconst.h from 'depend'.
John Gilmore [Fri, 6 Mar 1992 08:42:41 +0000 (08:42 +0000)]
Add rule for coff-msym.
John Gilmore [Fri, 6 Mar 1992 08:14:01 +0000 (08:14 +0000)]
* ecoff.c: Move to ../bfd/coff-msym.c.
* config/mt-*mips: Remove ecoff.o from the configuration.
John Gilmore [Fri, 6 Mar 1992 08:11:26 +0000 (08:11 +0000)]
Add relative file descriptors.
John Gilmore [Fri, 6 Mar 1992 08:06:56 +0000 (08:06 +0000)]
Add swapping of RFD's.
John Gilmore [Fri, 6 Mar 1992 08:05:20 +0000 (08:05 +0000)]
* ecoff.c: Move to ../bfd/coff-msym.c.
* config/mt-*mips: Remove ecoff.o from the configuration.
John Gilmore [Fri, 6 Mar 1992 07:53:38 +0000 (07:53 +0000)]
* coff-msym.c: Move this file from gdb/ecoff.c. It
handles byte-swapping for ECOFF (MIPS symbol) files.
John Gilmore [Fri, 6 Mar 1992 07:53:37 +0000 (07:53 +0000)]
Initial revision
Stu Grossman [Fri, 6 Mar 1992 01:08:37 +0000 (01:08 +0000)]
Keep ecoff-ext.h.
Fred Fish [Thu, 5 Mar 1992 22:17:53 +0000 (22:17 +0000)]
Add gdbtest to list of directories to preserve.
Stu Grossman [Thu, 5 Mar 1992 20:35:20 +0000 (20:35 +0000)]
* config.sub configure.in config/.Sanitize config/mh-irix4
gdb/.Sanitize gdb/configure.in gdb/mips-tdep.c gdb/mipsread.c
gdb/procfs.c gdb/signame.h gdb/tm-irix3.h gdb/tm-mips.h
gdb/xm-irix4.h gdb/config/.Sanitize gdb/config/mt-irix3
gdb/config/mh-irix4 texinfo/configure.in: Port to SGI Irix-4.x.
Actually, just pick up a couple of files that I forgot.
Stu Grossman [Thu, 5 Mar 1992 20:20:27 +0000 (20:20 +0000)]
* config.sub configure.in config/.Sanitize config/mh-irix4
gdb/.Sanitize gdb/configure.in gdb/mips-tdep.c gdb/mipsread.c
gdb/procfs.c gdb/signame.h gdb/tm-irix3.h gdb/tm-mips.h
gdb/xm-irix4.h gdb/config/.Sanitize gdb/config/mt-irix3
gdb/config/mh-irix4 texinfo/configure.in: Port to SGI Irix-4.x.
Fred Fish [Wed, 4 Mar 1992 20:50:10 +0000 (20:50 +0000)]
* defs.h, utils.c: xrealloc takes PTR as first arg.
* defs.h: Reword confusing comment about ANSI prototypes.
* defs.h: Some minor whitespace changes.
* infrun.c (wait_for_inferior): Compare int tmp to int 0,
not NULL, which can be (void *).
* tm-amix.h, tm-i386v4.h: Add defines for setjmp/longjmp handling.
* tm-i386v.h (SP_ARG0): Define
* xm-sysv4.h: Back out of change for missing prototypes.
* i386-tdep.c (get_longjmp_target): Add function.
Roland Pesch [Wed, 4 Mar 1992 01:08:47 +0000 (01:08 +0000)]
H8/300 config, startup doc, and related mods.
Michael Tiemann [Tue, 3 Mar 1992 23:26:26 +0000 (23:26 +0000)]
Tue Mar 3 15:11:52 1992 Michael Tiemann (tiemann@cygnus.com)
* All GDB files that #include defs.h: Removed stdio.h.
(defs.h): #include stdio.h.
This has been tested by building GDBs for all targets hosted on Sun4.
None of the build problems were related to stdio.h inclusion. (n.b.
many configurations don't build for other reasons.)
K. Richard Pixley [Tue, 3 Mar 1992 22:25:55 +0000 (22:25 +0000)]
removed gnulib
Steve Chamberlain [Tue, 3 Mar 1992 07:07:26 +0000 (07:07 +0000)]
* printcmd.c (print_address): if ADDR_BITS_REMOVE is defined, use
it before printing out the hex shape of an address.
Steve Chamberlain [Tue, 3 Mar 1992 07:05:23 +0000 (07:05 +0000)]
* gdbtypes.c (lookup_pointer_type): initialize the TYPE_LENGTH of
a ptype to reflect the setting of TARGET_PTR_BIT. Set the
TYPE_FLAGS of a ptype to TYPE_FLAG_UNSIGNED.
* tm-h8300.h, h8300-tdep.c, remote-hms.c: personal checkpoint
* printcmd.c (print_address): if ADDR_BITS_REMOVE is defined, use
it before printing out the hex shape of an address.
Fred Fish [Mon, 2 Mar 1992 23:38:23 +0000 (23:38 +0000)]
Check in ChangeLog entries for the recent massive changes for prototypes,
objfile changes, etc.
Steve Chamberlain [Mon, 2 Mar 1992 22:22:59 +0000 (22:22 +0000)]
Modifed to care about semi colons again, newlines are ignored - sorry
Per.
Per Bothner [Mon, 2 Mar 1992 06:46:32 +0000 (06:46 +0000)]
* rs6000-xdep.c (frame_initial_stack_address): Move
code to set frame->cache_fsr into new separate function
frame_get_cacahe_fsr. This allows fixing a fatal error.
* xcoffexec.c: Turn previously suppressed error
message back on, after cleaning up BFD.
Per Bothner [Mon, 2 Mar 1992 06:39:32 +0000 (06:39 +0000)]
New file: rs6000-core.c.
Per Bothner [Mon, 2 Mar 1992 01:55:31 +0000 (01:55 +0000)]
More changes, mostly from IBM for rs6000. (See ChangeLog.)
Fred Fish [Sun, 1 Mar 1992 21:20:04 +0000 (21:20 +0000)]
xm-sysv4.h: Provide definitions/prototypes for host environment
functions for which no definitions or prototypes are provided in
any currently included gdb or host environment header files.
For SVR4, this currently includes malloc and realloc, which cannot
be portably prototyped in any gdb include file.
Michael Tiemann [Sun, 1 Mar 1992 12:45:17 +0000 (12:45 +0000)]
Make the declarations of fix_new consistent under __STDC__. It might
be better to #define NEED_FX_R_TYPE in TC_A29K and TC_SPARC instead of
having this complicated conditional, but that's not my call.
Per Bothner [Sun, 1 Mar 1992 01:08:35 +0000 (01:08 +0000)]
Forgot these two from previous check-in of rs6000 stuff.
Per Bothner [Sun, 1 Mar 1992 01:04:13 +0000 (01:04 +0000)]
More changes, mostly from IBM, for the rs6000. See ChangeLog.
Michael Tiemann [Sat, 29 Feb 1992 21:59:47 +0000 (21:59 +0000)]
* Makefile.in (strerror.o): Add rule so that broken Sun make can
work in subdirs.
Per Bothner [Sat, 29 Feb 1992 06:03:43 +0000 (06:03 +0000)]
Mostly rs6000 changes from IBM.
Per Bothner [Sat, 29 Feb 1992 04:44:27 +0000 (04:44 +0000)]
* aoutx.h (NAME(aout,print_symbol)): Don't print
symbol addresss for undefined symbols.
* coff-rs6000.c: Various updates (due to target-
independent changes).
* libbfd.h: Ditto (tdata field is now a union).
* hosts/h-sparc.h: Removed prototype for bogus function
'emset' (presumably should have been 'memset' - which is there).
Per Bothner [Fri, 28 Feb 1992 06:07:16 +0000 (06:07 +0000)]
* wait.h (WIFSTOPPED): Add IBM rs6000-specific version.