external/binutils.git
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.

32 years agoadd stamp-rcs to all
K. Richard Pixley [Wed, 25 Mar 1992 07:51:57 +0000 (07:51 +0000)]
add stamp-rcs to all

32 years agoremove gas from rs6000 build, use aix host fragment
K. Richard Pixley [Wed, 25 Mar 1992 07:51:05 +0000 (07:51 +0000)]
remove gas from rs6000 build, use aix host fragment

32 years agopass site_option to recursions
K. Richard Pixley [Wed, 25 Mar 1992 07:49:53 +0000 (07:49 +0000)]
pass site_option to recursions

32 years agoINSTALL_PROG -> INSTALL
K. Richard Pixley [Wed, 25 Mar 1992 07:46:51 +0000 (07:46 +0000)]
INSTALL_PROG -> INSTALL

32 years agoadded standard targets, fixed install directories
K. Richard Pixley [Wed, 25 Mar 1992 07:41:41 +0000 (07:41 +0000)]
added standard targets, fixed install directories

32 years agostuff from latest install
K. Richard Pixley [Wed, 25 Mar 1992 07:30:51 +0000 (07:30 +0000)]
stuff from latest install

32 years agoremove srcdir from gdb.info rule
K. Richard Pixley [Wed, 25 Mar 1992 07:29:45 +0000 (07:29 +0000)]
remove srcdir from gdb.info rule

32 years agoirix4 support
K. Richard Pixley [Wed, 25 Mar 1992 07:27:36 +0000 (07:27 +0000)]
irix4 support

32 years ago* infcmd.c (step_1): Call disable_longjmp_breakpoint at the right
Stu Grossman [Wed, 25 Mar 1992 05:50:53 +0000 (05:50 +0000)]
* infcmd.c (step_1):  Call disable_longjmp_breakpoint at the right
time.

32 years ago* xm-mips.h: declare strdup for ultrix.
Stu Grossman [Wed, 25 Mar 1992 01:57:29 +0000 (01:57 +0000)]
* xm-mips.h:  declare strdup for ultrix.

32 years agoInstall some bug fixes from Brian Fox.
John Gilmore [Wed, 25 Mar 1992 01:07:32 +0000 (01:07 +0000)]
Install some bug fixes from Brian Fox.

32 years ago* mipsread.c (fixup_sigtramp): Make sure that current_objfile is setup
Stu Grossman [Wed, 25 Mar 1992 00:22:14 +0000 (00:22 +0000)]
* mipsread.c (fixup_sigtramp):  Make sure that current_objfile is setup
when calling new_symbol.
* mips-tdep.c (mips_frame_chain):  Use symfile_objfile instead of
current_objfile.

32 years agoadd support for irix4
K. Richard Pixley [Tue, 24 Mar 1992 23:58:58 +0000 (23:58 +0000)]
add support for irix4

32 years ago * config/rs6000.mh: Update (for Fred's new mmalloc)
Per Bothner [Tue, 24 Mar 1992 22:54:21 +0000 (22:54 +0000)]
* config/rs6000.mh:  Update (for Fred's new mmalloc)
flags to disable use of GNU malloc/mmalloc.
* munch:  Change SYSV rule to allow .text before the label,
as well as after, to work for AIX.
* gdbtypes.h:  Minor clarifiction.

32 years agoFixed a place where dbx symbol name continuation was appearing in an
Michael Tiemann [Tue, 24 Mar 1992 15:28:40 +0000 (15:28 +0000)]
Fixed a place where dbx symbol name continuation was appearing in an
unexpected place, causing the `Trace' type in gperf/main.o to be
mis-parsed.

32 years ago* mips-tdep.c: include symfile.h and objfiles.h to fix
Stu Grossman [Tue, 24 Mar 1992 07:02:52 +0000 (07:02 +0000)]
* mips-tdep.c:  include symfile.h and objfiles.h to fix
compilation errors.

32 years ago* coff-msym.c (ecoff_swap_rfd_in): remove & for array ref.
Stu Grossman [Tue, 24 Mar 1992 06:39:01 +0000 (06:39 +0000)]
* coff-msym.c (ecoff_swap_rfd_in):  remove & for array ref.

32 years ago * valops.c (value_struct_elt_for_reference): Added 'offset'
Per Bothner [Mon, 23 Mar 1992 23:52:45 +0000 (23:52 +0000)]
* valops.c (value_struct_elt_for_reference):  Added 'offset'
parameter to handle multiple inheritance.
* eval.c, value.h:  Update accordingly.

32 years agoMany changes, most related to creating entry point information on a per-objfile
Fred Fish [Sat, 21 Mar 1992 01:56:01 +0000 (01:56 +0000)]
Many changes, most related to creating entry point information on a per-objfile
basis.  See comments in objfiles.h and details in ChangeLog.  Also remove
redundant definitions of FRAME_CHAIN_VALID from most of the tm-* files and
use a default definition in frame.h.

32 years agochanged prms to send_pr
Heinz G. Seidl [Fri, 20 Mar 1992 23:58:25 +0000 (23:58 +0000)]
changed prms to send_pr

32 years agoMore C++ improvements (pointers to members, qualified names). See ChangeLog.
Per Bothner [Fri, 20 Mar 1992 21:57:17 +0000 (21:57 +0000)]
More C++ improvements (pointers to members, qualified names).  See ChangeLog.

32 years agoAdd .stmp-readline to all.cross...
Stu Grossman [Fri, 20 Mar 1992 00:53:45 +0000 (00:53 +0000)]
Add .stmp-readline to all.cross...

32 years ago* Makefile.in (all.cross): Add .stmp-bfd.
Stu Grossman [Fri, 20 Mar 1992 00:51:23 +0000 (00:51 +0000)]
* Makefile.in (all.cross):  Add .stmp-bfd.

32 years ago * coffread.c, mipsread.c, xcoffread.c, coffread.c, dbxread.c,
Fred Fish [Thu, 19 Mar 1992 21:57:15 +0000 (21:57 +0000)]
* coffread.c, mipsread.c, xcoffread.c, coffread.c, dbxread.c,
elfread.c (coff_symfile_finish):  Add function, prototype, and
add to the xxxx_sym_fns struct for each file type.  Also reformat
the xxxx_sym_fns vector to a standard format and add comments.
* coffread.c, mipsread.c, xcoffread.c, coffread.c, dbxread.c,
elfread.c (xxx_symfile_new_init, xxx_symfile_init, xxx_symfile_read):
Pass pointer to struct objfile rather than pointer to sym_fns.
Change references inside each function accordingly.  Allocate any
symbol file specific info in the per-objfile memory region.
* dbxread.c (free_and_init_header_files):  Break function into
free_header_files(), called from dbx_symfile_finish(), and
init_header_files(), called from dbx_new_init().
* dbxread.c (dbx_new_init):  Move deallocation things to new
dbx_symfile_finish function.
* elfread.c (elf_new_init):  Call buildsym_new_init().
* objfiles.c (free_objfile): Call the appropriate symfile_finish()
routine for the objfile before deallocating other stuff.
* sparc-tdep.c (get_longjmp_target):  Cast target_read_memory arg.
* symfile.h:  Move struct sym_fns to before struct objfile def.
Add sym_finish function pointer and change prototypes of other
function pointers to reflect passing struct objfile pointer rather
than struct sym_fns pointer.
* symfile.c:  Remove now obsolete symtab_fns pointer.
* symfile.c (symfile_init):  Renamed to find_sym_fns, and now only
locates the correct sym_fns struct for the given objfile.
* symfile.c (syms_from_objfile, symbol_file_add):  Restructured
for better support of mapped symbol tables.
* symfile.c (symbol_file_command):  Remove obsolete code using
symfile_fns.
* symfile.h:  Remove duplicate declarations for symfile_objfile,
entry_point, and object_files.
* target.c (target_info):  Compare symfile_objfile to NULL.
* xcoffread.c (aixcoff_new_init):  Move deallocation stuff to
aixcoff_symfile_finish().

32 years agoAdd and use definition for IN_SOLIB_TRAMPOLINE which allows wait_for_inferior
Fred Fish [Thu, 19 Mar 1992 02:26:25 +0000 (02:26 +0000)]
Add and use definition for IN_SOLIB_TRAMPOLINE which allows wait_for_inferior
to test whether or not it has stepped into the glue that binds an
application to a shared library routine.

32 years ago Some improvements to g++ debugging.
Per Bothner [Thu, 19 Mar 1992 00:05:35 +0000 (00:05 +0000)]
Some improvements to g++ debugging.
* symtab.c (list_symbols): demangle before pattern matching.
* symtab.c:  Other fixes to improve handing of operators.
* valprint.c (type_print_base):  Fix test for constructor.
* values.c (value_static_field):  Allow evaluation of
CLASS::METHOD, returning a function pointer.