external/binutils.git
31 years agoMake targ-cpu.o depend on config.h so gas will build from scratch.
Jim Wilson [Sat, 20 Mar 1993 05:03:31 +0000 (05:03 +0000)]
Make targ-cpu.o depend on config.h so gas will build from scratch.

31 years agobetter support for configuration with gcc
David D. Zuhn [Sat, 20 Mar 1993 04:51:42 +0000 (04:51 +0000)]
better support for configuration with gcc

31 years agoNew file
Steve Chamberlain [Fri, 19 Mar 1993 23:26:13 +0000 (23:26 +0000)]
New file

31 years agoCheckpoint for Stu
Steve Chamberlain [Fri, 19 Mar 1993 23:05:34 +0000 (23:05 +0000)]
Checkpoint for Stu

31 years agoadd h8500
Steve Chamberlain [Fri, 19 Mar 1993 22:41:15 +0000 (22:41 +0000)]
add h8500

31 years agoNew file
Steve Chamberlain [Fri, 19 Mar 1993 22:39:35 +0000 (22:39 +0000)]
New file

31 years agoOpcode file for the h8/500
Steve Chamberlain [Fri, 19 Mar 1993 22:20:43 +0000 (22:20 +0000)]
Opcode file for the h8/500

31 years ago * xm-sun4os4.h: Return type of free() should be void, not int.
Stu Grossman [Fri, 19 Mar 1993 22:13:38 +0000 (22:13 +0000)]
* xm-sun4os4.h:  Return type of free() should be void, not int.

31 years agoYes John, I haven't heard from Mark Fox yet.
Stu Grossman [Fri, 19 Mar 1993 21:03:05 +0000 (21:03 +0000)]
Yes John, I haven't heard from Mark Fox yet.
* vx-share/vxWorks.h:  Remove #def of NULL.

31 years agonuke no-op STAB_REG_TO_REGNUM
Jim Kingdon [Fri, 19 Mar 1993 19:35:39 +0000 (19:35 +0000)]
nuke no-op STAB_REG_TO_REGNUM

31 years agomention long options in usage message
Jim Kingdon [Fri, 19 Mar 1993 18:58:10 +0000 (18:58 +0000)]
mention long options in usage message

31 years agofixes re arrays and continuations
Jim Kingdon [Fri, 19 Mar 1993 18:48:45 +0000 (18:48 +0000)]
fixes re arrays and continuations

31 years agoadd XCOFF node
Jim Kingdon [Fri, 19 Mar 1993 18:25:16 +0000 (18:25 +0000)]
add XCOFF node

31 years ago(print_insn): Include the new dis-asm header file.
Steve Chamberlain [Fri, 19 Mar 1993 15:41:31 +0000 (15:41 +0000)]
(print_insn): Include the new dis-asm header file.

31 years ago * nm.c: Modify behavior of -o flag for archives to match
Per Bothner [Fri, 19 Mar 1993 01:56:10 +0000 (01:56 +0000)]
* nm.c:  Modify behavior of -o flag for archives to match
BSD4.4 and Sunos 4:  Prefix archive name before each line.

31 years ago * ieee-float.c: Moved to ../libiberty.
Per Bothner [Fri, 19 Mar 1993 00:18:55 +0000 (00:18 +0000)]
* ieee-float.c: Moved to ../libiberty.
* ieee-float.h: Moved to ../include.
* Makefile.in:  Update accordingly.
* i386-pinsn.c (print_insn), m68k-pinsn.c (print_insn):
Convert to stubs that call disassemblers in ../opcodes/*-dis.c.
* m68k-tdep.c:  Removed definition of ext_format ext_format_68881;
it is now in ../opcodes/m68881-ext.c.
* mips-tdep.c (mips_skip_prologue):  Try to skip more of the
prologue (some callers _do_ care).
* mips-pinsn.c (print_insn), z8k-tdep.c (print_insn):  Convert to
new interface of ../opcodes/*-dis.c.
* ch-exp.y:  Add #include <ctype.h>.

31 years ago * m68k-pinsn.c: Removed. Subsumed by ../opcodes/m68k-dis.c.
Per Bothner [Fri, 19 Mar 1993 00:12:50 +0000 (00:12 +0000)]
* m68k-pinsn.c:  Removed.  Subsumed by ../opcodes/m68k-dis.c.
* i386-pinsn.c:  Removed.  Subsumed by ../opcodes/i386-dis.c.
* Makefile.in:  Adjust accordingly.
* objdump.c:  Support new-style disassemblers (ones that use
the interface of ../include/dis-asm.h).

31 years ago * mips-dis.c, z8k-dis.c: Converted to use interface defined in
Per Bothner [Fri, 19 Mar 1993 00:11:02 +0000 (00:11 +0000)]
* mips-dis.c, z8k-dis.c:  Converted to use interface defined in
../include/dis-asm.h.
* m68k-dis.c:  New file (merge of ../binutils/m68k-pinsn.c
and ../gdb/m68k-pinsn.c).
* i386-dis.c:  New file (merge of ../binutils/i386-pinsn.c
and ../gdb/i386-pinsn.c).
* m68881-ext.c:  New file.  Moved definition of
ext_format ext_format_68881 from ../gdb/m68k-tdep.c.
* Makefile.in:  Adjust for new files.
* i386-dis.c:  Patches from John Hassey (hassey@dg-rtp.dg.com).
* m68k-dis.c:  Recognize '9' placement code, so (say) pflush
can be dis-assembled.

31 years ago * ieee-float.h: Moved from ../gdb.
Per Bothner [Thu, 18 Mar 1993 22:00:09 +0000 (22:00 +0000)]
* ieee-float.h:  Moved from ../gdb.
* dis-asm.h:  New file.  Interface to dis-assembler.

31 years ago * Makefile.in: Change deja-gnu to dejagnu.
Ian Lance Taylor [Thu, 18 Mar 1993 20:32:16 +0000 (20:32 +0000)]
* Makefile.in: Change deja-gnu to dejagnu.

31 years ago * xcoffexec.c (exec_close): Don't close exec_bfd twice.
Jim Kingdon [Thu, 18 Mar 1993 20:12:08 +0000 (20:12 +0000)]
* xcoffexec.c (exec_close): Don't close exec_bfd twice.

31 years ago * xcoffread.c (enter_line_range): endaddr is exclusive, not inclusive.
Jim Kingdon [Thu, 18 Mar 1993 20:02:10 +0000 (20:02 +0000)]
* xcoffread.c (enter_line_range): endaddr is exclusive, not inclusive.

31 years agoA new ARG_MAX hack: explicitly unexport some CHILL variables to keep
Ian Lance Taylor [Thu, 18 Mar 1993 01:15:43 +0000 (01:15 +0000)]
A new ARG_MAX hack: explicitly unexport some CHILL variables to keep
them out of the environment.

31 years agoA new ARG_MAX hack. Use unexport to keep GNU make from dumping the
Ian Lance Taylor [Thu, 18 Mar 1993 01:08:58 +0000 (01:08 +0000)]
A new ARG_MAX hack.  Use unexport to keep GNU make from dumping the
CHILL variables in the environment, with a : variable to keep older
makes happy.

31 years ago * app.c (do_scrub_next_char): Added new state, 9, to avoid
Ian Lance Taylor [Thu, 18 Mar 1993 00:52:37 +0000 (00:52 +0000)]
* app.c (do_scrub_next_char): Added new state, 9, to avoid
dropping a space immediately following an identifier.
* expr.c, write.c: Rewrote assert expressions to not use multiple
lines; I don't think that can be done portably.
* config/tc-mips.c (macro): Use $AT if target register is zero in
load instruction, which it can be for a floating point load.

Also a bunch more changes to config/obj-ecoff.c, still in flux.

31 years agoRemove test checkin.
Stu Grossman [Thu, 18 Mar 1993 00:43:10 +0000 (00:43 +0000)]
Remove test checkin.

31 years agoJust testing checkins.
Stu Grossman [Thu, 18 Mar 1993 00:42:26 +0000 (00:42 +0000)]
Just testing checkins.

31 years ago * xcoffread.c (arrange_linetable): Use x{m,re}alloc not {m,re}alloc.
Jim Kingdon [Wed, 17 Mar 1993 20:38:38 +0000 (20:38 +0000)]
* xcoffread.c (arrange_linetable): Use x{m,re}alloc not {m,re}alloc.

31 years ago(show_user): Avoid fprintf_filtered botch (AGAIN!).
John Gilmore [Wed, 17 Mar 1993 20:21:55 +0000 (20:21 +0000)]
(show_user):  Avoid fprintf_filtered botch (AGAIN!).

31 years agoForgot to include changes to Makefile.in and configure.in.
Fred Fish [Wed, 17 Mar 1993 19:35:18 +0000 (19:35 +0000)]
Forgot to include changes to Makefile.in and configure.in.

31 years ago * gdb.t17/{Makefile.in, callfuncs.exp, gdbme.c}: New test
Fred Fish [Wed, 17 Mar 1993 19:33:19 +0000 (19:33 +0000)]
* gdb.t17/{Makefile.in, callfuncs.exp, gdbme.c}:  New test
files to test gdb's calling of functions in the inferior with
the correct arguments and gdb's ability to retrieve any
result returned.

31 years agoNew functions from macros in tm-z8k.h.
Steve Chamberlain [Wed, 17 Mar 1993 19:32:42 +0000 (19:32 +0000)]
New functions from macros in tm-z8k.h.

31 years ago * valops.c (value_arg_coerce): Apply temporary patch to
Fred Fish [Wed, 17 Mar 1993 19:28:59 +0000 (19:28 +0000)]
* valops.c (value_arg_coerce):  Apply temporary patch to
fix problem with coercion of array and function types when
passed as arguments to C functions, pending a more complete
review of when and how coercion should be done, depending
upon context and language.

31 years ago * xcoffread.c (MIN_TBTABSIZ): Change to 12.
Jim Kingdon [Wed, 17 Mar 1993 19:17:47 +0000 (19:17 +0000)]
* xcoffread.c (MIN_TBTABSIZ): Change to 12.

31 years ago * xcoffread.c (xcoff_symfile_read): Only read stringtab and
Jim Kingdon [Wed, 17 Mar 1993 19:06:32 +0000 (19:06 +0000)]
* xcoffread.c (xcoff_symfile_read): Only read stringtab and
debugsec if there are a non-zero number of symbols.

31 years ago * ecoff-ext.h (AUX_PUT_ANY): Don't use void values in branches of
Ian Lance Taylor [Wed, 17 Mar 1993 17:46:58 +0000 (17:46 +0000)]
* ecoff-ext.h (AUX_PUT_ANY): Don't use void values in branches of
conditional expression.

31 years agoMake check target depend on all target.
Rob Savoye [Wed, 17 Mar 1993 09:49:40 +0000 (09:49 +0000)]
Make check target depend on all target.

31 years agoNow has :make check" target.
Rob Savoye [Wed, 17 Mar 1993 09:05:58 +0000 (09:05 +0000)]
Now has :make check" target.

31 years ago"Make check" works much better.
Rob Savoye [Wed, 17 Mar 1993 09:05:19 +0000 (09:05 +0000)]
"Make check" works much better.

31 years ago * xcoffexec.c (add_vmap): Wrap symbol read in catch_errors.
Jim Kingdon [Wed, 17 Mar 1993 04:07:29 +0000 (04:07 +0000)]
* xcoffexec.c (add_vmap): Wrap symbol read in catch_errors.

31 years ago * xcoffread.c (read_symbol_lineno): Look to end of symbols for .bf,
Jim Kingdon [Wed, 17 Mar 1993 03:58:24 +0000 (03:58 +0000)]
* xcoffread.c (read_symbol_lineno): Look to end of symbols for .bf,
not just 50 symbols.
(symtbl_num_syms): New variable.
(read_xcoff_symtab): Set it.
(read_symbol_nvalue): Check for bad symno.
(read_symbol_{lineno,nvalue}, callers): Don't pass symtable; it's
always symtbl.

31 years agoCatch error on close so runtest won't bomb.
Rob Savoye [Wed, 17 Mar 1993 02:04:20 +0000 (02:04 +0000)]
Catch error on close so runtest won't bomb.

31 years ago * config/unix-gdb.exp (gdb_exit): Remove close commands that
Fred Fish [Tue, 16 Mar 1993 23:48:09 +0000 (23:48 +0000)]
* config/unix-gdb.exp (gdb_exit):  Remove close commands that
may be called after gdb goes away.  Previous versions of expect
needed these to avoid file descriptor leaks, but they cause
errors with the current revision of expect.
* gdb.t00/gdbvars.exp:  Use -re on expected output after
setting sevenbit-strings.
* gdb.t04/setvar.exp, gdb.t13/bitfields.exp:  Make commands
to set sevenbit-strings consistent across tests.
**** start-sanitize-chill ****
gdb.t30/chexp.exp, gdb.t31/chillvars.exp:  Make commands to
set sevenbit-strings consistent across tests.
**** end-sanitize-chill ****

31 years ago * Makefile.in: Add *clean rules.
Per Bothner [Tue, 16 Mar 1993 20:16:31 +0000 (20:16 +0000)]
* Makefile.in:  Add *clean rules.

31 years agoelf32.c, elf32-sparc.c changes
Ken Raeburn [Tue, 16 Mar 1993 18:37:51 +0000 (18:37 +0000)]
elf32.c, elf32-sparc.c changes

31 years ago * config/rs6000.mh: Get rid of -Dfd_set=int crock.
Stu Grossman [Tue, 16 Mar 1993 18:15:25 +0000 (18:15 +0000)]
* config/rs6000.mh:  Get rid of -Dfd_set=int crock.
This is defined in defs.h if necessary.
* vx-share/vxWorks.h:  Remove #defs of min and max.
* vx-share/xdr_ld.c, vx-share/xdr_ptrace.c,
vx-share/xdr_rdb.c:  include defs.h.

31 years agoAdd testsuite to list of things to save.
Fred Fish [Tue, 16 Mar 1993 14:09:12 +0000 (14:09 +0000)]
Add testsuite to list of things to save.

31 years agoAdd dejagnu to list of directories to save.
Fred Fish [Tue, 16 Mar 1993 14:07:56 +0000 (14:07 +0000)]
Add dejagnu to list of directories to save.

31 years ago * write.c (write_contents): Compute the relocs before writing out
Ian Lance Taylor [Mon, 15 Mar 1993 23:58:22 +0000 (23:58 +0000)]
* write.c (write_contents): Compute the relocs before writing out
the section contents.
* config/obj-ecoff.h, config/obj-ecoff.c: Numerous changes to get
symbol table and values right.
* config/tc-mips.h (LOCAL_LABEL): If OBJ_ECOFF, any label starting
with $L is local.
* config/tc-mips.c (tc_gen_reloc): If OBJ_ECOFF, adjust the addend
by the section vma.

* config/z8k.mt (TARG_CPU_DEPENDENTS): The relevant file is
z8k-opc.h, not z8k.h.

31 years ago * h8300.mt (DO_INSTALL): Renamed from INSTALL.
Ian Lance Taylor [Mon, 15 Mar 1993 23:49:48 +0000 (23:49 +0000)]
* h8300.mt (DO_INSTALL): Renamed from INSTALL.

31 years ago * configure.in (h8300-*-*, h8500-*-*): Don't build libg++.
Ian Lance Taylor [Mon, 15 Mar 1993 23:47:19 +0000 (23:47 +0000)]
* configure.in (h8300-*-*, h8500-*-*): Don't build libg++.

31 years ago * Makefile.in (GCC_FLAGS_TO_PASS): Reset some variables that gcc
Ian Lance Taylor [Mon, 15 Mar 1993 23:45:33 +0000 (23:45 +0000)]
* Makefile.in (GCC_FLAGS_TO_PASS): Reset some variables that gcc
doesn't use to avoid ARG_MAX overflow on SCO.

31 years ago * config/obj-coffbfd.c (obj_coff_endef): Correct test for .bf
Ian Lance Taylor [Mon, 15 Mar 1993 20:21:13 +0000 (20:21 +0000)]
* config/obj-coffbfd.c (obj_coff_endef): Correct test for .bf
symbol.

31 years ago*** empty log message ***
Jim Kingdon [Mon, 15 Mar 1993 17:45:08 +0000 (17:45 +0000)]
*** empty log message ***

31 years agoSupport 68000 series without floating point. (changed config name)
John Gilmore [Sun, 14 Mar 1993 11:06:43 +0000 (11:06 +0000)]
Support 68000 series without floating point.   (changed config name)
* configure.in (m68000-*-{aout,elf,coff}):  New configs.

31 years ago* configure.in (m68k-adobe-*): New config.
John Gilmore [Sun, 14 Mar 1993 10:58:48 +0000 (10:58 +0000)]
* configure.in (m68k-adobe-*):  New config.
* tm-68k-nofp.h:  New file, lacks 68881 support.
* config/m68k-nofp.mt:  New file.

31 years agoRemove a few remaining underscore/no-underscore remnants from config files.
John Gilmore [Sun, 14 Mar 1993 10:49:01 +0000 (10:49 +0000)]
Remove a few remaining underscore/no-underscore remnants from config files.
* config/{m68k-un.mt, sparc-un.mt}:  Remove.
* config/m68k-noun.mt: Rename to m68k-fp.mt.
* config/sparc-noun.mt: Rename to sparc-em.mt.
* tm-68k-noun.h, tm-spc-noun.h:  Remove.
* tm-68k-un.h:  Rename to tm-68k-fp.h.
* tm-spc-un.h:  Rename to tm-spc-em.h.
* tm-sun4sol2.h: Cleanup.
* configure.in (m68k-*, sparc-* targets):  Corresponding changes.

31 years ago* symmisc.c (std_in, std_out, std_err): Move initializations
John Gilmore [Sat, 13 Mar 1993 23:09:20 +0000 (23:09 +0000)]
* symmisc.c (std_in, std_out, std_err):  Move initializations
to runtime code, in case they aren't constant.

31 years agoconsistent use of -solaris2*
David D. Zuhn [Sat, 13 Mar 1993 03:09:19 +0000 (03:09 +0000)]
consistent use of -solaris2*

31 years agoconsistent use of -solaris2*
David D. Zuhn [Sat, 13 Mar 1993 02:59:38 +0000 (02:59 +0000)]
consistent use of -solaris2*

31 years agoconsistent use of -solaris2*
David D. Zuhn [Sat, 13 Mar 1993 02:52:21 +0000 (02:52 +0000)]
consistent use of -solaris2*

31 years ago * configure.in: canonicalize all instances to *-*-solaris2*,
David D. Zuhn [Sat, 13 Mar 1993 02:50:15 +0000 (02:50 +0000)]
* configure.in: canonicalize all instances to *-*-solaris2*,
also strip out a number of tools to not build for go32 host

31 years ago* symtab.c (find_pc_symtab): some object file formats, notably mips,
K. Richard Pixley [Sat, 13 Mar 1993 00:50:09 +0000 (00:50 +0000)]
* symtab.c (find_pc_symtab): some object file formats, notably mips,
  have holes in the address ranges of symtabs.  Change this algorythm
  from first hit to tightest fit.

Fixes #2217.

31 years ago* mips-tdep.c (heuristic_proc_start): if we walk the pc into the fence
K. Richard Pixley [Sat, 13 Mar 1993 00:32:10 +0000 (00:32 +0000)]
* mips-tdep.c (heuristic_proc_start): if we walk the pc into the fence
  post without finding the enclosing function, then print a warning.

31 years agoFri Mar 12 09:33:23 1993 Jim Kingdon (kingdon@cygnus.com)
Jim Kingdon [Fri, 12 Mar 1993 23:12:59 +0000 (23:12 +0000)]
Fri Mar 12 09:33:23 1993  Jim Kingdon  (kingdon@cygnus.com)

* xcoffread.c (retrieve_tracebackinfo): Move assignment out
of while condition.

* xcoffread.c (enter_line_range): complain() on bad endoffset.
xcoffread.c: Doc fixes.

Tue Mar  9 09:56:12 1993  Jim Kingdon  (kingdon@cygnus.com)

* tm-rs6000.h (CORE_NEEDS_RELOCATION): Just call xcoff_relocate_core.
xcoffexec.c (xcoff_relocate_core): New function.
(text_adjustment): Removed.
(add_vmap): Return the vmap.
rs6000-tdep.c (add_text_to_loadinfo): No longer static.

Fri Mar  5 05:22:46 1993  Jim Kingdon  (kingdon@cygnus.com)

* xcoffsolib.h: Add objfile member to struct vmap.
xcoff{exec,solib}.c: Use it, not lookup_objfile_bfd.
xcoffexec.c (add_vmap): Allocate objfiles here.

31 years ago * rs6000-core.c: Add .ldinfo section.
Jim Kingdon [Fri, 12 Mar 1993 23:05:12 +0000 (23:05 +0000)]
* rs6000-core.c: Add .ldinfo section.

31 years ago * expr.c, write.c: Ultrix native 4.2 cc requires assert condition
Ian Lance Taylor [Fri, 12 Mar 1993 20:01:28 +0000 (20:01 +0000)]
* expr.c, write.c: Ultrix native 4.2 cc requires assert condition
to be on a single line.

31 years ago * Makefile.in (MAKEOVERRIDES): Define to be empty.
Ian Lance Taylor [Fri, 12 Mar 1993 19:58:54 +0000 (19:58 +0000)]
* Makefile.in (MAKEOVERRIDES): Define to be empty.

31 years ago * gdb.t21/demangle.exp (proc demangle): Adjust quotes in an
Fred Fish [Fri, 12 Mar 1993 16:50:38 +0000 (16:50 +0000)]
* gdb.t21/demangle.exp (proc demangle):  Adjust quotes in an
expected output to match current "expect" expectations.

31 years ago * section.c (bfd_set_section_contents): whitespacs
Steve Chamberlain [Fri, 12 Mar 1993 16:33:59 +0000 (16:33 +0000)]
* section.c (bfd_set_section_contents): whitespacs
* seclet.c (seclet_dump_seclet): Don't try and fill sections with
no contents.

31 years agodon't define POSIX_UTIME for go32, makes ar & ranlib happy again
David D. Zuhn [Fri, 12 Mar 1993 03:32:47 +0000 (03:32 +0000)]
don't define POSIX_UTIME for go32, makes ar & ranlib happy again

31 years agotoday's changes -- version number handling, config.h, as.c, EXIT_*, 68k changes
Ken Raeburn [Fri, 12 Mar 1993 03:10:49 +0000 (03:10 +0000)]
today's changes -- version number handling, config.h, as.c, EXIT_*, 68k changes

31 years agoaccept m683??, not just m683?2
Ken Raeburn [Fri, 12 Mar 1993 03:04:32 +0000 (03:04 +0000)]
accept m683??, not just m683?2

31 years agoconfig.h, version.c: Now generated from the Makefile.
Ken Raeburn [Fri, 12 Mar 1993 02:58:15 +0000 (02:58 +0000)]
config.h, version.c: Now generated from the Makefile.
ALL_CFLAGS: No longer define TARGET_CPU.
check: Print a message, rather than staying silent.
VERSION: New variable.

31 years agoInclude new file config.h.
Ken Raeburn [Fri, 12 Mar 1993 02:39:03 +0000 (02:39 +0000)]
Include new file config.h.
Handle some m683XX processor ids.

31 years agoDefine EXIT_SUCCESS and EXIT_FAILURE if not already defined.
Ken Raeburn [Fri, 12 Mar 1993 02:29:11 +0000 (02:29 +0000)]
Define EXIT_SUCCESS and EXIT_FAILURE if not already defined.

31 years ago * utils.c (fputs_demangled, fprint_symbol): Remove.
Fred Fish [Thu, 11 Mar 1993 19:27:51 +0000 (19:27 +0000)]
* utils.c (fputs_demangled, fprint_symbol):  Remove.
* utils.c (fprintf_symbol_filtered):  New function which combines
the functionality of fputs_demangled and fprint_symbol.  Uses a
caller provided language parameter to select the appropriate
demangler, and caller provided args to pass to the demangler.
* defs.h (fputs_demangled, fprint_symbol):  Remove prototypes.
* defs.h (fprintf_symbol_filtered):  Add prototype.
* c-typeprint.c (cp_type_print_method_args):  Replace calls to
fputs_demangled with call to fprintf_symbol_filtered.
* cp-valprint.c (demangle.h):  Include
* cp-valprint.c (cp_print_value_fields):  Replace calls to
fprint_symbol with calls to fprintf_symbol_filtered.
* printcmd.c (print_frame_args):  Replace call to fprint_symbol
with call to fprintf_symbol_filtered.
* stack.c (print_frame_info, frame_info):  Add language variable
to pass to fprintf_symbol_demangled and initialize it from the
symbol's language.  Replace calls to fputs_demangled with calls
to fprintf_symbol_filtered.
* symtab.c (find_methods):  Replace call to fputs_demangled with
call to fprintf_symbol_filtered.
**** start-sanitize-chill ****
* ch-valprint.c (demangle.h):  Include.
* ch-valprint.c (chill_print_value_fields):  Replace call to
fprint_symbol with call to new fprintf_symbol_filtered.
**** end-sanitize-chill ****

31 years ago * demangle.h (DMGL_NO_OPTS): Add define (set to 0) to use
Fred Fish [Thu, 11 Mar 1993 18:56:43 +0000 (18:56 +0000)]
* demangle.h (DMGL_NO_OPTS):  Add define (set to 0) to use
in place of bare 0, for readability reasons.

31 years ago * utils.c (fputs_demangled): Complete rewrite to clean up and
Fred Fish [Thu, 11 Mar 1993 17:44:39 +0000 (17:44 +0000)]
* utils.c (fputs_demangled):  Complete rewrite to clean up and
add a language parameter that is used to select the demangling
algorithm.
* defs.h (enum language):  Move further up in file so enum can
be used in prototypes.
* defs.h (fputs_demangled):  Update prototype to add lang arg.
* c-typeprint.c (cp_type_print_method_args):  Add language arg
to fputs_demangled calls, remove DMGL_PARAMS flag.
* stack.c (print_frame_info):  Remove obsolete code so we don't
have to update fputs_demangled usage in it.
* stack.c (print_frame_info, frame_info):  Add language variable
to pass to fputs_demangled and initialize it from the symbol's
language.  Call fputs_demangled with language arg.
* symtab.c (find_methods):  Add language arg to fputs_demangled
call.

31 years ago * Makefile.in (VERSION): Bump version to 4.8.2.
Fred Fish [Thu, 11 Mar 1993 02:40:29 +0000 (02:40 +0000)]
* Makefile.in (VERSION):  Bump version to 4.8.2.

31 years agoDocument change to default.exp.
Fred Fish [Thu, 11 Mar 1993 02:04:16 +0000 (02:04 +0000)]
Document change to default.exp.

31 years ago * main.c (source_command): Require an explicit pathname of file
Fred Fish [Thu, 11 Mar 1993 01:56:31 +0000 (01:56 +0000)]
* main.c (source_command):  Require an explicit pathname of file
to source, since previous behavior of defaulting to gdb init file
was troublesome and undocumented.
* printcmd.c (disassemble_command):  Add missing '{}' pair to
else with two statements.  Bug reported by Stephane Tsacas
<slt@isoft.fr>.
* symtab.c (find_pc_line):  Don't complain about zero length or
negative length line numbers for the moment, since we may not own
the terminal when called, such as when single stepping.  (FIXME)
* language.h (CAST_IS_CONVERSION):  True if current language is
C++ as well as C.  Fix from Peter Schauer.
* environ.c (get_in_environ, set_in_environ, unset_in_environ):
Use STREQN macro rather than bare '!strncmp()'.
* environ.c (unset_in_environ):  Avoid use of memcpy on
overlapping memory regions, as suggested by Paul Eggert
<eggert@twinsun.com>.
* c-exp.y (%union struct):  Remove unused ulval as suggested
by Paul Eggert <eggert@twinsun.com>.

31 years ago* config.guess: add GPL.
K. Richard Pixley [Wed, 10 Mar 1993 20:10:33 +0000 (20:10 +0000)]
* config.guess: add GPL.

* Makefile.in, config.guess, config.sub, configure: bump
  copyrights to 93.

31 years ago * Makefile.in (do-info): Removed obsolete check for existence of
Ian Lance Taylor [Wed, 10 Mar 1993 19:32:44 +0000 (19:32 +0000)]
* Makefile.in (do-info): Removed obsolete check for existence of
localenv file.

31 years ago * Makefile.in (MAKEOVERRIDES): Define to be empty.
Ian Lance Taylor [Wed, 10 Mar 1993 15:13:33 +0000 (15:13 +0000)]
* Makefile.in (MAKEOVERRIDES): Define to be empty.

31 years agotclX support
David D. Zuhn [Wed, 10 Mar 1993 11:15:28 +0000 (11:15 +0000)]
tclX support

31 years ago* Makefile.in (setup-dirs): change invocation of make to $(MAKE).
K. Richard Pixley [Wed, 10 Mar 1993 00:07:50 +0000 (00:07 +0000)]
* Makefile.in (setup-dirs): change invocation of make to $(MAKE).

31 years agoRemove unneeded files, which were being sanitized out anyhow.
Ian Lance Taylor [Tue, 9 Mar 1993 21:04:44 +0000 (21:04 +0000)]
Remove unneeded files, which were being sanitized out anyhow.

31 years ago * gdb.t07/watchpoint.exp (test_simple_watchpoint): Set up
Fred Fish [Tue, 9 Mar 1993 19:17:48 +0000 (19:17 +0000)]
* gdb.t07/watchpoint.exp (test_simple_watchpoint):  Set up
expected fail for i486-*-* that misses the marker2 function.
* gdb.t10/crossload.exp (bfddefault):  Allow successful
recognition of a format to pass even if no symbols are found.
Explicitly catch failures where the format is not recognized
or is ambiguous, and add the reason to the fail message.
* gdb.t10/crossload.exp (bfdexplicit):  Catch failure where
the cause is and invalid target and add reason to failure message.
* gdb.t10/crossload.exp:  Fix bfd target names for elf32-m68k,
elf32-i386, elf32-sparc, and elf32-i860.
* gdb.t12/scope.exp (test_at_main, test_at_foo, test_at_bar):
Set up expected failure for 'filename'::variable scope resolution,
which is now apparently broken on all targets.
* gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t20/misc.exp,
gdb.t21/cplusfuncs.exp, gdb.t22/virtfunc.exp,
gdb.t23/templates.exp:   Change failure for missing binfile into
just a warning.
gdb.t21/demangle.exp:  Change all cfront references to 'arm'
references.

31 years ago * elf32.c (elf_object_p): Use ELF_ARCH stored in xvec to match
Fred Fish [Tue, 9 Mar 1993 18:59:58 +0000 (18:59 +0000)]
* elf32.c (elf_object_p):  Use ELF_ARCH stored in xvec to match
against machine architecture stored in the ELF header, to resolve
ambiguities.
* elf32.c (bfd_section_from_shdr):  Bfd_make_section can return
NULL, so only use results when non-NULL.
* targets.c (elf32_m68k_vec, elf32_i860_vec):  Add extern decls
and add to vector of targets.

31 years agoRemoved obsolete Makefile.dos.
Ian Lance Taylor [Tue, 9 Mar 1993 18:16:38 +0000 (18:16 +0000)]
Removed obsolete Makefile.dos.

31 years agoRemoved obsolete Makefile.dos (was being sanitized out anyhow).
Ian Lance Taylor [Tue, 9 Mar 1993 18:14:12 +0000 (18:14 +0000)]
Removed obsolete Makefile.dos (was being sanitized out anyhow).

31 years agoUpdated dates.
Ian Lance Taylor [Tue, 9 Mar 1993 17:50:54 +0000 (17:50 +0000)]
Updated dates.

31 years agoAdded new ECOFF files.
Ian Lance Taylor [Tue, 9 Mar 1993 16:12:44 +0000 (16:12 +0000)]
Added new ECOFF files.

31 years agoCheckpoint for ECOFF support. Can assemble hello, world.
Ian Lance Taylor [Tue, 9 Mar 1993 16:11:14 +0000 (16:11 +0000)]
Checkpoint for ECOFF support.  Can assemble hello, world.

* config/obj-ecoff.c, config/obj-ecoff.h: Preliminary ECOFF
support.

* config/tc-mips.h (TARGET_FORMAT): Define based on OBJ_AOUT vs.
OBJ_ECOFF as well as TARGET_BYTES_*_ENDIAN.
(struct loc, struct proc, struct file): Moved to tc-mips.c within
#ifndef OBJ_ECOFF block, since ECOFF uses different versions.
* config/tc-mips.c: Rearranged for ECOFF support.  Added
prototypes for all static functions.  Moved existing minimal
debugging format support info #ifndef OBJ_ECOFF blocks.
(macro_build_lui): Eliminated sign_extend argument, because ECOFF
does not support a non sign extended high 16 bits reloc.  Adjusted
all callers accordingly.
(tc_get_register): Renamed from get_register, and made non-static.

* config/mips-big.mt, config/mips-lit.mt: New files.  Define
TARGET_BYTES_BIG_ENDIAN and TARGET_BYTES_LITTLE_ENDIAN,
respectively.
* configure.in (mips-*-bsd*): Use gas_target mips-lit.
(mips-*-ultrix*, mips-*-irix*, mips-*-ecoff): New targets, using
obj_format ecoff and gas_target mips-lit or mips-big.

31 years agobump main trunk to version 2.0.1
Ken Raeburn [Tue, 9 Mar 1993 15:44:37 +0000 (15:44 +0000)]
bump main trunk to version 2.0.1

31 years ago * write.c (chain_frchains_together): Check that seg_info (section)
Ian Lance Taylor [Tue, 9 Mar 1993 15:42:14 +0000 (15:42 +0000)]
* write.c (chain_frchains_together): Check that seg_info (section)
is not NULL.
(write_object_file): Call obj_frob_file after setting the symbols,
not before.

31 years agokeep mh-aix386
David D. Zuhn [Tue, 9 Mar 1993 02:35:46 +0000 (02:35 +0000)]
keep mh-aix386

31 years ago * utils.c (quit): If using go32, still call error when quit seen.
Steve Chamberlain [Tue, 9 Mar 1993 01:56:53 +0000 (01:56 +0000)]
* utils.c (quit): If using go32, still call error when quit seen.
(pollquit): New function to poll keyboard for user interrupt,
called from QUIT.
* xm-go32.h (QUIT): Define to call pollquit.
* h8300-tdep.c (examine_prologue): Use correct value for number of
registers.

31 years agoupdated
Ken Raeburn [Tue, 9 Mar 1993 01:55:50 +0000 (01:55 +0000)]
updated