Stu Grossman [Fri, 10 Apr 1992 22:04:09 +0000 (22:04 +0000)]
One more time...
Stu Grossman [Fri, 10 Apr 1992 21:50:32 +0000 (21:50 +0000)]
* depend: Generate new depend file for this release.
Stu Grossman [Fri, 10 Apr 1992 15:33:31 +0000 (15:33 +0000)]
* Makefile.in (depend): Fix dependancy generation so that it does
not include gcc 'fixincluded' files, which are usually in a system
specific location.
Per Bothner [Thu, 9 Apr 1992 20:36:20 +0000 (20:36 +0000)]
buildsym.c: Fix parameter mis-match.
Check in ChangeLog (forgotten last night).
Stu Grossman [Thu, 9 Apr 1992 19:11:18 +0000 (19:11 +0000)]
* Makefile.in: version=4.4.88, add xm-vax.h to HFILES.
Ken Raeburn [Thu, 9 Apr 1992 09:54:52 +0000 (09:54 +0000)]
Install second copy as $(tooldir)/bin/ld, since that's what gcc wants.
Ken Raeburn [Thu, 9 Apr 1992 09:48:46 +0000 (09:48 +0000)]
Install second copy in $(tooldir)/bin, since that's where gcc looks.
John Gilmore [Thu, 9 Apr 1992 09:30:45 +0000 (09:30 +0000)]
Minor changes for Solaris.
Per Bothner [Thu, 9 Apr 1992 07:57:10 +0000 (07:57 +0000)]
Changes from metin@ibmpa.awdpa.ibm.com (Metin G. Ozisik).
* buildsym.c (#ifdef RS6000_TARGET): Don't create unnecessary
symbols for nameless types. And, handle `R' (register parameter
type) for AIX. (an extension to existing stabstring grammar).
* rs6000-xdep.c: Fix typo (= should have been ==).
Per Bothner [Thu, 9 Apr 1992 07:47:06 +0000 (07:47 +0000)]
* rs6k.h: Fix incorrect extended opcode for instructions `fm'
and `fd'. (From metin@ibmpa.awdpa.ibm.com (Metin G. Ozisik).)
John Gilmore [Thu, 9 Apr 1992 07:26:14 +0000 (07:26 +0000)]
apollo68v.h => apollov68.h (must be for DOS 8.3 names or something)
John Gilmore [Thu, 9 Apr 1992 07:06:54 +0000 (07:06 +0000)]
Remove $Log stuff.
K. Richard Pixley [Thu, 9 Apr 1992 06:08:50 +0000 (06:08 +0000)]
remove references to gdbm
Fred Fish [Wed, 8 Apr 1992 21:38:15 +0000 (21:38 +0000)]
Remove obsolete README file, and update mmalloc.texi to closer reflect
reality. Minor fix to comment in mmalloc.c. Remove README from .Sanitize
Fred Fish [Wed, 8 Apr 1992 16:37:44 +0000 (16:37 +0000)]
Fix prototype for pointer to function to get more core.
Stu Grossman [Wed, 8 Apr 1992 05:37:32 +0000 (05:37 +0000)]
* xm-i386mach.h: add decls for errno and strdup().
Fred Fish [Wed, 8 Apr 1992 05:17:56 +0000 (05:17 +0000)]
Only redefine size_t and CHAR_BIT if they are not already defined.
Stu Grossman [Wed, 8 Apr 1992 01:14:17 +0000 (01:14 +0000)]
* xm-i386mach.h: add decl for errno.
K. Richard Pixley [Wed, 8 Apr 1992 00:23:29 +0000 (00:23 +0000)]
keep ChangeLog
Per Bothner [Tue, 7 Apr 1992 23:52:37 +0000 (23:52 +0000)]
* config.sub: Don't canonicalize os value
newsos* to bsd (readline needs to check for newsos).
(This fix was earlier made Jan 31, but got re-broken.)
Per Bothner [Tue, 7 Apr 1992 23:37:16 +0000 (23:37 +0000)]
* breakpoint.c (breakpoint_1): Add (int) casts for enums
used in array index context (otherwise, some compilers barf).
Roland Pesch [Tue, 7 Apr 1992 23:36:19 +0000 (23:36 +0000)]
keep mmalloc.texi
Roland Pesch [Tue, 7 Apr 1992 23:35:43 +0000 (23:35 +0000)]
Converted from Fred's original README; no changes in substance.
Stu Grossman [Tue, 7 Apr 1992 23:09:50 +0000 (23:09 +0000)]
* m68k-tdep.c, tm-sun3.h: #ifdef around get_longjmp_target().
Change def of SAVED_PC_AFTER_CALL to call routine to see if we are
in a system call, and provide better backtrace if so.
Sean Eric Fagan [Tue, 7 Apr 1992 22:24:46 +0000 (22:24 +0000)]
mh-a68bsd is the Apollo Series 400 host file, to be used when running
under the BSD emulation environment ($SYSTYPE=bsd4.3).
Sean Eric Fagan [Tue, 7 Apr 1992 22:20:00 +0000 (22:20 +0000)]
The Apollo compiler doesn't like assigning variables to enum's. So,
add a new enum to the class, with a value of 0.
Sean Eric Fagan [Tue, 7 Apr 1992 22:18:44 +0000 (22:18 +0000)]
ChangeLog entries describing my changes.
Sean Eric Fagan [Tue, 7 Apr 1992 22:18:18 +0000 (22:18 +0000)]
Change a series of #if/#elif to #if/#else/#if.../#endif. The apollo
compiler lies about being ANSI conformant.
Sean Eric Fagan [Tue, 7 Apr 1992 22:16:41 +0000 (22:16 +0000)]
The apollo make does not like lines which end in a backslash, but do not have
anything following (it tries to interpret the next line as a command; for
this file, the next line was merely more rules).
Sean Eric Fagan [Tue, 7 Apr 1992 22:11:30 +0000 (22:11 +0000)]
Support for Apollo Series 400 machines, under the BSD environment.
Stu Grossman [Tue, 7 Apr 1992 20:53:43 +0000 (20:53 +0000)]
Add rs6k.h
Stu Grossman [Tue, 7 Apr 1992 20:48:19 +0000 (20:48 +0000)]
* Makefile.in (HFILES): Add xcoffsolib.h.
Stu Grossman [Tue, 7 Apr 1992 20:46:02 +0000 (20:46 +0000)]
rs6000-pinsn.c!!! Not .h!!!
Stu Grossman [Tue, 7 Apr 1992 20:45:16 +0000 (20:45 +0000)]
* rs6000-pinsn.c: #include "opcode/rs6k.h"
Stu Grossman [Tue, 7 Apr 1992 20:39:31 +0000 (20:39 +0000)]
* rs6k.h: Move from ../../gdb/rs6k-opcode.h.
Stu Grossman [Tue, 7 Apr 1992 20:38:30 +0000 (20:38 +0000)]
* rs6k-opcode.h: Move to ../include/opcode/rs6k.h.
Stu Grossman [Tue, 7 Apr 1992 17:23:36 +0000 (17:23 +0000)]
* mipsread.c (read_mips_symtab, read_the_mips_symtab,
mipscoff_symfile_read): Convert to BFD to do file I/O.
Stu Grossman [Tue, 7 Apr 1992 16:47:48 +0000 (16:47 +0000)]
* symfile.c: #include <ctype.h> to get proper def if isspace().
Stu Grossman [Tue, 7 Apr 1992 15:50:00 +0000 (15:50 +0000)]
* i386-tdep.c (get_longjmp_target): #ifdef GET_LONGJMP_TARGET.
Sean Eric Fagan [Tue, 7 Apr 1992 10:04:26 +0000 (10:04 +0000)]
Added the file.
Stu Grossman [Tue, 7 Apr 1992 06:25:46 +0000 (06:25 +0000)]
version->4.4.87
Stu Grossman [Tue, 7 Apr 1992 06:21:33 +0000 (06:21 +0000)]
* mipsread.c: Create a .gdbinfo pseudo-symbol for each
function also when parsing embedded stabs.
Stu Grossman [Tue, 7 Apr 1992 05:57:36 +0000 (05:57 +0000)]
* configure.in: sco is an os, not a vendor!
Fred Fish [Tue, 7 Apr 1992 03:54:54 +0000 (03:54 +0000)]
Get rid of the other half of the ugly kludge as well...
Fred Fish [Tue, 7 Apr 1992 03:53:12 +0000 (03:53 +0000)]
Get rid of include of <stdlib.h>, which is not guaranteed to be present
even when __STDC__ is defined. This also causes the ugly malloc/realloc/etc
kludge to go away.
Per Bothner [Tue, 7 Apr 1992 00:29:36 +0000 (00:29 +0000)]
* mipsread.c: Create a .gdbinfo pseudo-symbol for each
function also when parsing embedded stabs.
Stu Grossman [Tue, 7 Apr 1992 00:17:33 +0000 (00:17 +0000)]
* mipsread.c: Fix many invocations of complain. Use enum
type_code where appropriate.
Stu Grossman [Mon, 6 Apr 1992 23:43:04 +0000 (23:43 +0000)]
* mipsread.c: Fix many invocations of complain.
Roland Pesch [Mon, 6 Apr 1992 23:40:23 +0000 (23:40 +0000)]
Updates to text on "info proc".
Stu Grossman [Mon, 6 Apr 1992 23:37:23 +0000 (23:37 +0000)]
* xm-vaxult.h: Add decl for strdup().
Stu Grossman [Mon, 6 Apr 1992 23:35:26 +0000 (23:35 +0000)]
* detach.c (mmalloc_detach): Arg should be PTR, not void *.
Fixes complaints from non __STDC__ systems.
Roland Pesch [Mon, 6 Apr 1992 23:29:36 +0000 (23:29 +0000)]
0) Update descriptions of symbol-file, file, add-symbol-file cmds for use
of *options* "-readnow" and "-mapped".
1) Change title/subtitle to come closer to text used by FSF when they
printed this thing (but still avoid silliness of having word "manual" in
the title).
2) First few minor corrections from most recent Chassell pass.
Stu Grossman [Mon, 6 Apr 1992 22:26:30 +0000 (22:26 +0000)]
* Makefile.in: Add dependancies for xm-vaxbsd.h and xm-vaxult.h
for xm-vax.h.
Stu Grossman [Mon, 6 Apr 1992 21:35:22 +0000 (21:35 +0000)]
* configure: Quote $( better. Keep various shells happy.
Stu Grossman [Mon, 6 Apr 1992 18:40:40 +0000 (18:40 +0000)]
*** empty log message ***
Steve Chamberlain [Sun, 5 Apr 1992 01:47:16 +0000 (01:47 +0000)]
New lexer.
New targets for h8/300 simulator and DOS
Stu Grossman [Sat, 4 Apr 1992 01:43:01 +0000 (01:43 +0000)]
* buildsym.h, dbxread.c, mipsread.c: Add objfile arg to
process_one_symbol.
Per Bothner [Fri, 3 Apr 1992 20:25:57 +0000 (20:25 +0000)]
* munch: Must pre-pend "_" to "initialize" for SYSV style nm.
* tm-rs6000.h, xcoffexec.c, xcoffread.c, xm-rs6000.h:
Merge in more patches for rs6000 from Metin Ozisik.
* utils.c: Fix typo in comment.
Fred Fish [Fri, 3 Apr 1992 19:33:14 +0000 (19:33 +0000)]
Cast macro args to unsigned to avoid complaints from compiler and lint
about integer overflow during left shift of 16 bits.
Fred Fish [Fri, 3 Apr 1992 19:29:29 +0000 (19:29 +0000)]
Fix bug with gdb resending SIGSTOP to an attached process that was forcibly
stopped during attach, thus stopping it again.
Stu Grossman [Fri, 3 Apr 1992 18:48:33 +0000 (18:48 +0000)]
version = 4.4.86
Stu Grossman [Fri, 3 Apr 1992 09:39:11 +0000 (09:39 +0000)]
* Makefile.in (SFILES_MAINDIR): add mipsread.c
John Gilmore [Fri, 3 Apr 1992 04:47:16 +0000 (04:47 +0000)]
Add sun4os5 (Solaris) config files.
John Gilmore [Fri, 3 Apr 1992 04:46:38 +0000 (04:46 +0000)]
Sort the names, since the file renaming.
John Gilmore [Fri, 3 Apr 1992 04:32:41 +0000 (04:32 +0000)]
New sym files
John Gilmore [Fri, 3 Apr 1992 04:30:55 +0000 (04:30 +0000)]
* Makefile.in (OBS): Compile mipsread.c for all targets now.
(VERSION): Bump to 4.4.85.
* mipsread.c: Update for new include files. Lint.
* tm-irix3.h, tm-mips.h: Use new include files for ECOFF symtab.
* config/{bigmips.mt, littlemips.mt, irix3.mt, decstation.mt}:
Don't need to bring in mipsread.o specially any more.
John Gilmore [Fri, 3 Apr 1992 04:27:03 +0000 (04:27 +0000)]
Don't need to bring in mipsread.o specially any more.
John Gilmore [Fri, 3 Apr 1992 04:01:35 +0000 (04:01 +0000)]
Date: Thu, 2 Apr 92 15:48:13 -0800
From: wu@mips.com (Alex Wu)
Message-Id: <
9204022348.
AA20058@goofy.mips.com>
To: gnu@cygnus.com
Subject: sym.h & symconst.h
John,
I finally get our lawyer's approval. Here is the symconst.h and
the sym.h. Please let me know if there is anything else I can help.
Stu Grossman [Fri, 3 Apr 1992 03:55:42 +0000 (03:55 +0000)]
* mipsread.c (fixup_sigtramp): Also look for _sigtramp as a real
routine (for Irix-4.x). Make many funcs static and void.
* mips-tdep.c (mips-frame-chain): Clean up, simplify.
* (init_extra_frame_info): Don't trash cached value of frame
pointer register. This fixes backtracing through routines that use
alloca(). Generally clean up declarations of functions, and use
typedefs and macros to reference data structures as appropriate.
* tm-irix3.h, tm-mips.h (EXTRA_FRAME_INFO): use proper type for
proc_desc element.
John Gilmore [Fri, 3 Apr 1992 01:47:27 +0000 (01:47 +0000)]
* Makefile.in: Now that we have sym.h and symconst.h, compile
coff-msym.c on all systems.
* coff-msym.c: Update include files and comments; add weakext bit.
Fred Fish [Thu, 2 Apr 1992 18:00:10 +0000 (18:00 +0000)]
Fix bug in values.c unpacking signed characters on hosts where the default
character type is unsigned. Add some cases to the tables in procfs.c
for constants defined in newer SVR4 systems and reorder the tests for
ioctl support of resetting the inherit-on-fork flag to favor the latest
method using PIOCRESET.
John Gilmore [Thu, 2 Apr 1992 11:56:14 +0000 (11:56 +0000)]
* buildsym.c (read_struct_type): Avoid coredump when C++
abbreviated type name is messed up. Reported by Joe Buck.
FIXME, we need to determine whether GDB or GCC needs to be
smarter to correctly locate this type name. p*927 circumvention,
needs real fix when Tiemann's back.
John Gilmore [Thu, 2 Apr 1992 10:35:19 +0000 (10:35 +0000)]
Lint.
* symfile.c (add_symbol_file_command): Initialize mapped/readnow.
John Gilmore [Thu, 2 Apr 1992 07:26:31 +0000 (07:26 +0000)]
* archive.c, bfd.c, bout.c, coffcode.h, init.c, reloc.c,
section.c, srec.c, syms.c, coff-h8300.c: Lint.
Fred Fish [Wed, 1 Apr 1992 19:49:00 +0000 (19:49 +0000)]
Add kludge to work around broken <stdlib.h> in gcc installation on Suns.
Fixup some comments in mcalloc, mfree, mmalloc, and mrealloc.
Fred Fish [Wed, 1 Apr 1992 19:46:14 +0000 (19:46 +0000)]
Many changes to procfs.c, mostly to expand the "info proc" command and to
fix a couple of small bugs. Changes to other files mostly to fix minor
things pointed out by the SGI compiler. See ChangeLog for complete details.
Fred Fish [Wed, 1 Apr 1992 03:09:02 +0000 (03:09 +0000)]
Changes in procfs.c to fix bug with inferior's siginfo struct getting
needlessly stomped. Changes in elfread.c and solib.c to fix DWARF
processing, broken by other recent changes.
Stu Grossman [Wed, 1 Apr 1992 01:50:30 +0000 (01:50 +0000)]
* mipsread.c (parse_procedure): PDR.isym should get pointer to
function name, not .gdbinfo. symbol.
John Gilmore [Wed, 1 Apr 1992 01:08:06 +0000 (01:08 +0000)]
Keep sun4os5 config files now that Sun says it's OK.
John Gilmore [Wed, 1 Apr 1992 01:07:16 +0000 (01:07 +0000)]
(breakpoint_1): Fix prototype, this time for sure!
Stu Grossman [Tue, 31 Mar 1992 20:00:06 +0000 (20:00 +0000)]
* Makefile.in: version->4.4.8
Stu Grossman [Tue, 31 Mar 1992 19:03:28 +0000 (19:03 +0000)]
* procfs.c (open_proc_file): Disable inherit-on-fork flag so that
commands in .cshrc/.profile won't get traced.
John Gilmore [Tue, 31 Mar 1992 16:16:41 +0000 (16:16 +0000)]
* elfread.c (elf_symtab_read): Use xmalloc, not bfd_xmalloc.
* exec.c (build_section_table): Don't abort if no sections.
* sparc-tdep.c (single_step): Lint.
* utils.c (mrealloc): Handle realloc (0, size) case here.
K. Richard Pixley [Tue, 31 Mar 1992 06:35:16 +0000 (06:35 +0000)]
add send_pr. remove "force" from .stmp-gprof rule. Supress echoing of all the "if [ -d ... $(MAKE)" lines.
Stu Grossman [Tue, 31 Mar 1992 06:31:05 +0000 (06:31 +0000)]
gdb.tar.Z: all-texinfo target is now .stmp-texinfo.
Stu Grossman [Tue, 31 Mar 1992 05:23:15 +0000 (05:23 +0000)]
* Makefile.in (alldeps.mak): Config files are now *.m[ht] as
opposed to m[ht]-*!
Stu Grossman [Tue, 31 Mar 1992 04:51:02 +0000 (04:51 +0000)]
Add mh-aix
Stu Grossman [Tue, 31 Mar 1992 04:49:27 +0000 (04:49 +0000)]
Add sysv4.h
Stu Grossman [Tue, 31 Mar 1992 04:46:53 +0000 (04:46 +0000)]
Add irix4.h
Stu Grossman [Tue, 31 Mar 1992 04:44:32 +0000 (04:44 +0000)]
Keep PORTING
Stu Grossman [Tue, 31 Mar 1992 02:36:24 +0000 (02:36 +0000)]
* config/irix4.mh: Don't use coredep.o. It doesn't work with procfs.
Stu Grossman [Tue, 31 Mar 1992 01:21:01 +0000 (01:21 +0000)]
* mipsread.c (parse_symbol, parse_procedure): Re-do the way that
.gdbinfo. symbols are created. Move creation from parse_procedure
to parse_symbol, where it is fairly easy to grow the symtab. This
also fixes a symtab trashing bug on all mips-based systems.
* (got_numargs, lookup_numargs, free_numargs): Delete. Not
needed anymore.
* tm-mips.h, tm-iris3.h, mips-tdep.c, mipsread.c: Re-do struct
mips_extra_func_info, and all the PROC_xxx macros that look at it.
Per Bothner [Mon, 30 Mar 1992 22:19:14 +0000 (22:19 +0000)]
c-exp.y: Add missing return type to yyparse() prototype.
John Gilmore [Sun, 29 Mar 1992 23:26:47 +0000 (23:26 +0000)]
Lint
John Gilmore [Sun, 29 Mar 1992 23:22:35 +0000 (23:22 +0000)]
New host and target.
John Gilmore [Sun, 29 Mar 1992 23:18:31 +0000 (23:18 +0000)]
* Makefile.in (VERSION): Roll to 4.4.7.
(HFILES): Add call-cmds.h.
* call-cmds.h: New header for command fns called by other files.
* breakpoint.c (watchpoints_info): Remove, same as breakpoints_info.
(breakpoint_1): Remove unused type arg. Change callers.
John Gilmore [Sun, 29 Mar 1992 23:17:36 +0000 (23:17 +0000)]
Create and use macros for iterating on symtabs, psymtabs, msymbols.
* minsyms.c (iterate_over_msymbols): Remove; clunky and slow.
* symfile.h, symtab.h (iterate_over_msymbols): Remove prototype
* coffread.c (coff_symfile_read): iterate_over_symtabs => ALL_SYMTABS.
(patch_opaque_types): Avoid dummy args and result.
* objfiles.c (have_partial_symbols, have_full_symbols,
have_minimal_symbols): explicit iteration => ALL_OBJFILES; simplify.
(iterate_over_objfiles, iterate_over_symtabs,
iterate_over_psymtabs): Remove, clunky and slow.
* objfiles.h: Replace iterate_over_* prototypes with ALL_SYMTABS,
ALL_PSYMTABS, and ALL_MSYMBOLS macros.
* symmisc.c (dump_symtab, dump_psymtab, dump_msymbols,
dump_objfile): Remove dummy args and results. Move filename
comparisons to callers.
(printsyms_command, printpsyms_command, printmsyms_command,
printobjfiles_command): iterate_over_* => ALL_*. Compare filenames.
* symtab.c (lookup_symtab_1, lookup_symtab, lookup_partial_symtab,
lookup_symbol, find_main_psymtab, find_pc_symtab, sources_info,
list_symbols, make_symbol_completion_list): Replace explicit
iteration with ALL_SYMTABS, ALL_PSYMTABS, or ALL_MSYMBOLS.
Eliminate Dijkstra flag crap, break out of loops with gotos.
(lookup_symtab_1): Protect '/' tests from short filenames.
(cplus_mangled_symbol): Move inline into lookup_symbol.
* xcoffexec.c (relocate_objfile_msymbols): Remove poor hack.
(relocate_minimal_symbol): Move inline to vmap_symtab.
(vmap_symtab): Replace iteration with ALL_OBJFILES,
iterate_over_msymbols with ALL_MSYMBOLS.
Misc cleanup prior to release.
* dwarfread.c (dwarf_build_psymtabs): Remove mainline test.
* mipsread.c (compare_symtabs, compare_psymtabs): Remove, unused.
* mipsread.c: Add prototypes for all static functions.
* symmisc.c (dump_symtab_lines, dump_symtabs, dump_last_symtab,
dump_blockvector, dump_block, dump_addrchass, dump_namespace,
dump_symbol, dump_type, dump_linetable, dump_strtbl): Remove, unused.
* xcoffread.c (dump_symtab_lines, dump_symtabs, dump_last_symtab,
dump_blockvector, dump_block, dump_addrchass, dump_namespace,
dump_symbol, dump_type, dump_linetable, dump_strtbl): Remove 2nd
unused copy!
* buildsym.c (define_symbol): Handle global register variables
(from Pierre Willard). Complain if register numbers are too large.
John Gilmore [Sun, 29 Mar 1992 23:14:34 +0000 (23:14 +0000)]
* target.c (nomemory): Now that higher levels examine errno, give EIO.
* tm-sparc.h: Don't #include <sun4/reg.h>.
* sparc-tdep.c (sparc_frame_chain, frame_saved_pc): Remove
dependency on <sun4/reg.h>. Start to handle cross-byte-order.
* language.h: Avoid forward enum declaration.
* configure.in, tm-sun4os5.h, xm-sun4os5.h, config/sun4os5.mh,
config/sun4os5.mt: New host and target.
* defs.h (errno): #include <errno.h> rather than assuming int.
From Pierre Willard.
Per Bothner [Sun, 29 Mar 1992 22:33:35 +0000 (22:33 +0000)]
Merged in latest RS6000 diffs from Metin G. Ozisik.
John Gilmore [Sun, 29 Mar 1992 18:46:10 +0000 (18:46 +0000)]
* config/sparc-elf.mt, hosts/sysv4.h: New config files.