binutils-gdb.git
32 years ago* xm-i386mach.h: add decl for errno.
Stu Grossman [Wed, 8 Apr 1992 01:14:17 +0000 (01:14 +0000)]
* xm-i386mach.h:  add decl for errno.

32 years agokeep ChangeLog
K. Richard Pixley [Wed, 8 Apr 1992 00:23:29 +0000 (00:23 +0000)]
keep ChangeLog

32 years ago * config.sub: Don't canonicalize os value
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.)

32 years ago * breakpoint.c (breakpoint_1): Add (int) casts for enums
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).

32 years agokeep mmalloc.texi
Roland Pesch [Tue, 7 Apr 1992 23:36:19 +0000 (23:36 +0000)]
keep mmalloc.texi

32 years agoConverted from Fred's original README; no changes in substance.
Roland Pesch [Tue, 7 Apr 1992 23:35:43 +0000 (23:35 +0000)]
Converted from Fred's original README; no changes in substance.

32 years ago* m68k-tdep.c, tm-sun3.h: #ifdef around get_longjmp_target().
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.

32 years agomh-a68bsd is the Apollo Series 400 host file, to be used when running
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).

32 years agoThe Apollo compiler doesn't like assigning variables to enum's. So,
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.

32 years agoChangeLog entries describing my changes.
Sean Eric Fagan [Tue, 7 Apr 1992 22:18:44 +0000 (22:18 +0000)]
ChangeLog entries describing my changes.

32 years agoChange a series of #if/#elif to #if/#else/#if.../#endif. The apollo
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.

32 years agoThe apollo make does not like lines which end in a backslash, but do not have
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).

32 years agoSupport for Apollo Series 400 machines, under the BSD environment.
Sean Eric Fagan [Tue, 7 Apr 1992 22:11:30 +0000 (22:11 +0000)]
Support for Apollo Series 400 machines, under the BSD environment.

32 years agoAdd rs6k.h
Stu Grossman [Tue, 7 Apr 1992 20:53:43 +0000 (20:53 +0000)]
Add rs6k.h

32 years ago* Makefile.in (HFILES): Add xcoffsolib.h.
Stu Grossman [Tue, 7 Apr 1992 20:48:19 +0000 (20:48 +0000)]
* Makefile.in (HFILES):  Add xcoffsolib.h.

32 years agors6000-pinsn.c!!! Not .h!!!
Stu Grossman [Tue, 7 Apr 1992 20:46:02 +0000 (20:46 +0000)]
rs6000-pinsn.c!!!  Not .h!!!

32 years ago* rs6000-pinsn.c: #include "opcode/rs6k.h"
Stu Grossman [Tue, 7 Apr 1992 20:45:16 +0000 (20:45 +0000)]
* rs6000-pinsn.c:  #include "opcode/rs6k.h"

32 years ago* rs6k.h: Move from ../../gdb/rs6k-opcode.h.
Stu Grossman [Tue, 7 Apr 1992 20:39:31 +0000 (20:39 +0000)]
* rs6k.h:  Move from ../../gdb/rs6k-opcode.h.

32 years ago* rs6k-opcode.h: Move to ../include/opcode/rs6k.h.
Stu Grossman [Tue, 7 Apr 1992 20:38:30 +0000 (20:38 +0000)]
* rs6k-opcode.h:  Move to ../include/opcode/rs6k.h.

32 years ago* mipsread.c (read_mips_symtab, read_the_mips_symtab,
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.

32 years ago* symfile.c: #include <ctype.h> to get proper def if isspace().
Stu Grossman [Tue, 7 Apr 1992 16:47:48 +0000 (16:47 +0000)]
* symfile.c:  #include <ctype.h> to get proper def if isspace().

32 years ago* i386-tdep.c (get_longjmp_target): #ifdef GET_LONGJMP_TARGET.
Stu Grossman [Tue, 7 Apr 1992 15:50:00 +0000 (15:50 +0000)]
* i386-tdep.c (get_longjmp_target):  #ifdef GET_LONGJMP_TARGET.

32 years agoAdded the file.
Sean Eric Fagan [Tue, 7 Apr 1992 10:04:26 +0000 (10:04 +0000)]
Added the file.

32 years agoversion->4.4.87
Stu Grossman [Tue, 7 Apr 1992 06:25:46 +0000 (06:25 +0000)]
version->4.4.87

32 years ago* mipsread.c: Create a .gdbinfo pseudo-symbol for each
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.

32 years ago* configure.in: sco is an os, not a vendor!
Stu Grossman [Tue, 7 Apr 1992 05:57:36 +0000 (05:57 +0000)]
* configure.in:  sco is an os, not a vendor!

32 years agoGet rid of the other half of the ugly kludge as well...
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...

32 years agoGet rid of include of <stdlib.h>, which is not guaranteed to be present
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.

32 years ago * mipsread.c: Create a .gdbinfo pseudo-symbol for each
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.

32 years ago* mipsread.c: Fix many invocations of complain. Use enum
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.

32 years ago* mipsread.c: Fix many invocations of complain.
Stu Grossman [Mon, 6 Apr 1992 23:43:04 +0000 (23:43 +0000)]
* mipsread.c:  Fix many invocations of complain.

32 years agoUpdates to text on "info proc".
Roland Pesch [Mon, 6 Apr 1992 23:40:23 +0000 (23:40 +0000)]
Updates to text on "info proc".

32 years ago* xm-vaxult.h: Add decl for strdup().
Stu Grossman [Mon, 6 Apr 1992 23:37:23 +0000 (23:37 +0000)]
* xm-vaxult.h:  Add decl for strdup().

32 years ago* detach.c (mmalloc_detach): Arg should be PTR, not void *.
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.

32 years ago0) Update descriptions of symbol-file, file, add-symbol-file cmds for use
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.

32 years ago* Makefile.in: Add dependancies for xm-vaxbsd.h and xm-vaxult.h
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.

32 years ago* configure: Quote $( better. Keep various shells happy.
Stu Grossman [Mon, 6 Apr 1992 21:35:22 +0000 (21:35 +0000)]
* configure:  Quote $( better.  Keep various shells happy.

32 years ago*** empty log message ***
Stu Grossman [Mon, 6 Apr 1992 18:40:40 +0000 (18:40 +0000)]
*** empty log message ***

32 years agoNew lexer.
Steve Chamberlain [Sun, 5 Apr 1992 01:47:16 +0000 (01:47 +0000)]
New lexer.

New targets for h8/300 simulator and DOS

32 years ago* buildsym.h, dbxread.c, mipsread.c: Add objfile arg to
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.

32 years ago * munch: Must pre-pend "_" to "initialize" for SYSV style nm.
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.

32 years agoCast macro args to unsigned to avoid complaints from compiler and lint
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.

32 years agoFix bug with gdb resending SIGSTOP to an attached process that was forcibly
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.

32 years agoversion = 4.4.86
Stu Grossman [Fri, 3 Apr 1992 18:48:33 +0000 (18:48 +0000)]
version = 4.4.86

32 years ago* Makefile.in (SFILES_MAINDIR): add mipsread.c
Stu Grossman [Fri, 3 Apr 1992 09:39:11 +0000 (09:39 +0000)]
* Makefile.in (SFILES_MAINDIR):  add mipsread.c

32 years agoAdd sun4os5 (Solaris) config files.
John Gilmore [Fri, 3 Apr 1992 04:47:16 +0000 (04:47 +0000)]
Add sun4os5 (Solaris) config files.

32 years agoSort the names, since the file renaming.
John Gilmore [Fri, 3 Apr 1992 04:46:38 +0000 (04:46 +0000)]
Sort the names, since the file renaming.

32 years agoNew sym files
John Gilmore [Fri, 3 Apr 1992 04:32:41 +0000 (04:32 +0000)]
New sym files

32 years ago* Makefile.in (OBS): Compile mipsread.c for all targets now.
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.

32 years agoDon'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.

32 years agoDate: Thu, 2 Apr 92 15:48:13 -0800
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.

32 years ago* mipsread.c (fixup_sigtramp): Also look for _sigtramp as a real
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.

32 years ago* Makefile.in: Now that we have sym.h and symconst.h, compile
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.

32 years agoFix bug in values.c unpacking signed characters on hosts where the default
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.

32 years ago* buildsym.c (read_struct_type): Avoid coredump when C++
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.

32 years agoLint.
John Gilmore [Thu, 2 Apr 1992 10:35:19 +0000 (10:35 +0000)]
Lint.
* symfile.c (add_symbol_file_command):  Initialize mapped/readnow.

32 years ago* archive.c, bfd.c, bout.c, coffcode.h, init.c, reloc.c,
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.

32 years agoAdd kludge to work around broken <stdlib.h> in gcc installation on Suns.
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.

32 years agoMany changes to procfs.c, mostly to expand the "info proc" command and to
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.

32 years agoChanges in procfs.c to fix bug with inferior's siginfo struct getting
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.

32 years ago* mipsread.c (parse_procedure): PDR.isym should get pointer to
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.

32 years agoKeep sun4os5 config files now that Sun says it's OK.
John Gilmore [Wed, 1 Apr 1992 01:08:06 +0000 (01:08 +0000)]
Keep sun4os5 config files now that Sun says it's OK.

32 years ago(breakpoint_1): Fix prototype, this time for sure!
John Gilmore [Wed, 1 Apr 1992 01:07:16 +0000 (01:07 +0000)]
(breakpoint_1):  Fix prototype, this time for sure!

32 years ago* Makefile.in: version->4.4.8
Stu Grossman [Tue, 31 Mar 1992 20:00:06 +0000 (20:00 +0000)]
* Makefile.in: version->4.4.8

32 years ago* procfs.c (open_proc_file): Disable inherit-on-fork flag so that
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.

32 years ago* elfread.c (elf_symtab_read): Use xmalloc, not bfd_xmalloc.
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.

32 years agoadd send_pr. remove "force" from .stmp-gprof rule. Supress echoing of all the "if...
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.

32 years agogdb.tar.Z: all-texinfo target is now .stmp-texinfo.
Stu Grossman [Tue, 31 Mar 1992 06:31:05 +0000 (06:31 +0000)]
gdb.tar.Z: all-texinfo target is now .stmp-texinfo.

32 years ago* Makefile.in (alldeps.mak): Config files are now *.m[ht] as
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]-*!

32 years agoAdd mh-aix
Stu Grossman [Tue, 31 Mar 1992 04:51:02 +0000 (04:51 +0000)]
Add mh-aix

32 years agoAdd sysv4.h
Stu Grossman [Tue, 31 Mar 1992 04:49:27 +0000 (04:49 +0000)]
Add sysv4.h

32 years agoAdd irix4.h
Stu Grossman [Tue, 31 Mar 1992 04:46:53 +0000 (04:46 +0000)]
Add irix4.h

32 years agoKeep PORTING
Stu Grossman [Tue, 31 Mar 1992 04:44:32 +0000 (04:44 +0000)]
Keep PORTING

32 years ago* config/irix4.mh: Don't use coredep.o. It doesn't work with procfs.
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.

32 years ago* mipsread.c (parse_symbol, parse_procedure): Re-do the way that
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.

32 years agoc-exp.y: Add missing return type to yyparse() prototype.
Per Bothner [Mon, 30 Mar 1992 22:19:14 +0000 (22:19 +0000)]
c-exp.y:  Add missing return type to yyparse() prototype.

32 years agoLint
John Gilmore [Sun, 29 Mar 1992 23:26:47 +0000 (23:26 +0000)]
Lint

32 years agoNew host and target.
John Gilmore [Sun, 29 Mar 1992 23:22:35 +0000 (23:22 +0000)]
New host and target.

32 years ago* Makefile.in (VERSION): Roll to 4.4.7.
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.

32 years agoCreate and use macros for iterating on symtabs, psymtabs, msymbols.
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.

32 years ago* target.c (nomemory): Now that higher levels examine errno, give EIO.
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.

32 years agoMerged in latest RS6000 diffs from Metin G. Ozisik.
Per Bothner [Sun, 29 Mar 1992 22:33:35 +0000 (22:33 +0000)]
Merged in latest RS6000 diffs from Metin G. Ozisik.

32 years ago* config/sparc-elf.mt, hosts/sysv4.h: New config files.
John Gilmore [Sun, 29 Mar 1992 18:46:10 +0000 (18:46 +0000)]
* config/sparc-elf.mt, hosts/sysv4.h:  New config files.

32 years ago* bout.c, coff-a29k.c, coff-i960.c: Lint.
John Gilmore [Sun, 29 Mar 1992 18:45:43 +0000 (18:45 +0000)]
* bout.c, coff-a29k.c, coff-i960.c:  Lint.
* configure.in:  Add new host and target configs.
* elf.c (bfd_prstatus, bfd_fpregset):  Avoid typename of register
structs, which vary; just use member name.
(elf_object_p, elf_core_file_p):  Lint, fix comments.
* config/sparc-elf.mt, hosts/sysv4.h:  New config files.

32 years agoFix to use a single disposable copy of section header table and program
Fred Fish [Sat, 28 Mar 1992 21:10:05 +0000 (21:10 +0000)]
Fix to use a single disposable copy of section header table and program
header table entries.

32 years agoAdd OBJF_SYMS flag and use it to decide whether or not we have already
Fred Fish [Sat, 28 Mar 1992 21:06:23 +0000 (21:06 +0000)]
Add OBJF_SYMS flag and use it to decide whether or not we have already
tried to read symbols from a file, for mapped objfiles.  This fixes a
memory leak (actually a constant memory growth) due to reading symbol
files with no debug info and thus generating no psymtabs or symtabs.
Most typically happened with shared libraries.

32 years agoMisc cleanups from code review.
John Gilmore [Fri, 27 Mar 1992 23:56:15 +0000 (23:56 +0000)]
Misc cleanups from code review.

32 years agoMore cleanups for gprof, especially with the '386 target.
Sean Eric Fagan [Fri, 27 Mar 1992 22:11:14 +0000 (22:11 +0000)]
More cleanups for gprof, especially with the '386 target.

32 years agoAdded support for building on/for an embedded 386 using encapsulated coff.
Sean Eric Fagan [Fri, 27 Mar 1992 22:10:04 +0000 (22:10 +0000)]
Added support for building on/for an embedded 386 using encapsulated coff.

32 years agoPut in stuff necessary for gprof to be built, cleaned up, etc.
Sean Eric Fagan [Fri, 27 Mar 1992 22:08:47 +0000 (22:08 +0000)]
Put in stuff necessary for gprof to be built, cleaned up, etc.

32 years agoDocument requirements for calling mmcheck to install corruption checking
Fred Fish [Fri, 27 Mar 1992 01:11:08 +0000 (01:11 +0000)]
Document requirements for calling mmcheck to install corruption checking
hooks and set up to enforce the requirements.  However, we still allow
unconditional installation until some complications are resolved.

32 years agoMostly changes to dbxread.c to preserve stringtab's on a per-objfile
Fred Fish [Fri, 27 Mar 1992 01:04:14 +0000 (01:04 +0000)]
Mostly changes to dbxread.c to preserve stringtab's on a per-objfile
basis, for use in expanding psymtabs to full symtabs.  See ChangeLog
for other details.

32 years agoSet MINIMIZE to 0 for a real release.
John Gilmore [Fri, 27 Mar 1992 01:00:58 +0000 (01:00 +0000)]
Set MINIMIZE to 0 for a real release.

32 years ago * rs6000-pinsn.c: Make dis-assembly output more like
Per Bothner [Thu, 26 Mar 1992 21:22:50 +0000 (21:22 +0000)]
* rs6000-pinsn.c:  Make dis-assembly output more like
other targets:  Don't print instruction in hex before
the assembly;  use print_address to print out jump
destinations.

32 years ago * c-exp.y, gdbtypes.h: Add builtin_type_signed_char.
Per Bothner [Thu, 26 Mar 1992 08:33:43 +0000 (08:33 +0000)]
* c-exp.y, gdbtypes.h:  Add builtin_type_signed_char.
* cplus-dem.c:  Support "Sc" meaning "signed char".

32 years ago* configure.in: fix iris/iris3.
Stu Grossman [Wed, 25 Mar 1992 23:22:47 +0000 (23:22 +0000)]
* configure.in:  fix iris/iris3.

32 years ago * command.c, main.c (various places): Use ctype.h macros
Per Bothner [Wed, 25 Mar 1992 23:07:16 +0000 (23:07 +0000)]
* command.c, main.c (various places):  Use ctype.h macros
(such as isupper(x)),  instead of hard-wiring in ASCII-isms
(such as (x >= 'A' && x <= 'Z')).
(There are still more of these in other files.)
* main.c (defined_command):  Lower-case the user's
new command before entering it.  Needed because
command lookup is case-insensitive (and also lower-cases).
(Based on Metin's earlier patch.)

32 years ago* history.c (stifle_history): Negative arg treated as zero.
John Gilmore [Wed, 25 Mar 1992 18:47:09 +0000 (18:47 +0000)]
* history.c (stifle_history):  Negative arg treated as zero.

32 years agore-add -rm
K. Richard Pixley [Wed, 25 Mar 1992 18:34:46 +0000 (18:34 +0000)]
re-add -rm

32 years agoaix and irix4 support.
K. Richard Pixley [Wed, 25 Mar 1992 07:52:24 +0000 (07:52 +0000)]
aix and irix4 support.