binutils-gdb.git
31 years agoCleanup in preparation for better 64-bit host support.
John Gilmore [Thu, 15 Apr 1993 04:53:14 +0000 (04:53 +0000)]
Cleanup in preparation for better 64-bit host support.

* bfd-in.h (bfd_64_type):  Remove.
* libbfd.c (_do_getb64, _do_putb64):  Use bfd_vma, not bfd_64_type.

* bfd-in.h (bfd_size):  Remove.

* bfd-in.h (bfd_offset):  Remove, after fixing ld/ldlang.[ch].

* bfd-in.h (bfd_word):  Remove.
* reloc.c (reloc_howto_type):  Replace bfd_word with bfd_vma.

* bfd-in.h (rawdata_offset):  Remove.
* reloc.c (arelent):  Replace rawdata_offset with bfd_size_type.
(bfd_perform_relocation):  Lint.
(enum bfd_reloc_status):  Comment cleanup.

31 years ago* aout-adobe.c, cpu-h8300.c, mipsbsd.c, srec.c: lint -Wall.
John Gilmore [Thu, 15 Apr 1993 04:52:32 +0000 (04:52 +0000)]
* aout-adobe.c, cpu-h8300.c, mipsbsd.c, srec.c: lint -Wall.

31 years ago * stack.c (print_frame_info): Print specially if dummy frame.
Jim Kingdon [Thu, 15 Apr 1993 03:36:02 +0000 (03:36 +0000)]
* stack.c (print_frame_info): Print specially if dummy frame.

31 years ago * breakpoint.c: Add comments regarding within_scope future direction.
Jim Kingdon [Thu, 15 Apr 1993 01:45:35 +0000 (01:45 +0000)]
* breakpoint.c: Add comments regarding within_scope future direction.

31 years agoVersion 4.8.3
Jim Kingdon [Thu, 15 Apr 1993 01:13:52 +0000 (01:13 +0000)]
Version 4.8.3

31 years agominor xcoff changes
Jim Kingdon [Thu, 15 Apr 1993 00:33:51 +0000 (00:33 +0000)]
minor xcoff changes

31 years ago * xcoffread.c (record_include_{begin,end}): Change fatal to complain.
Jim Kingdon [Thu, 15 Apr 1993 00:14:37 +0000 (00:14 +0000)]
* xcoffread.c (record_include_{begin,end}): Change fatal to complain.

31 years ago * gdb.t07/watchpoint.exp: Remove setup_xfail for i486
Fred Fish [Wed, 14 Apr 1993 23:43:51 +0000 (23:43 +0000)]
* gdb.t07/watchpoint.exp:  Remove setup_xfail for i486
watchpoint problem that is now fixed.
* gdb.t30/chexp.exp:  Remove setup_xfail for printing
uninitialized convenience variables.
* gdb.t31/chillvars.exp:  Fix expected patterns for printing
structures.

31 years ago * ch-exp.y: Fix thinko that broke parsing of FALSE.
Per Bothner [Wed, 14 Apr 1993 21:04:50 +0000 (21:04 +0000)]
* ch-exp.y:  Fix thinko that broke parsing of FALSE.

31 years ago * stabsread.c (read_member_functions): Initialize domain for stubbed
Peter Schauer [Wed, 14 Apr 1993 19:53:11 +0000 (19:53 +0000)]
* stabsread.c (read_member_functions): Initialize domain for stubbed
member functions to avoid gdb core dumps when printing pointers
to member functions.
* cp-valprint.c (cp_print_class_method): Check for stubbed member
functions.

31 years agoNote changes to gdb.t31/chillvars.exp.
Per Bothner [Wed, 14 Apr 1993 06:21:34 +0000 (06:21 +0000)]
Note changes to gdb.t31/chillvars.exp.

31 years agogprof(1) can have more than one profile data file, so have the usage
Sean Eric Fagan [Wed, 14 Apr 1993 00:04:18 +0000 (00:04 +0000)]
gprof(1) can have more than one profile data file, so have the usage
message reflect that.

31 years ago * M Makefile.in: Add -g to CFLAGS.
Per Bothner [Tue, 13 Apr 1993 23:20:14 +0000 (23:20 +0000)]
* M Makefile.in:  Add -g to CFLAGS.
Ads LDFLAGS and use in place of CFLAGS where appropriate.
* configure.in:  Make a sysdep.hlink in the same way other
bfd-based directories do.
* gprof.h (UNIT):  Replace non-standard 'u_short' by 'unsigned
short'.
* gprof.h:  #include sysdep.h instead of a bunch of stuff.
* gprof.c (main):  Fix typo gproff->gprof.

31 years ago * expprint.c (print_subexp): If opcode not found in op_print_tab,
Jim Kingdon [Tue, 13 Apr 1993 19:18:37 +0000 (19:18 +0000)]
* expprint.c (print_subexp): If opcode not found in op_print_tab,
stop with an error().
eval.c (evaluate_subexp): Change error message.

31 years ago * objfiles.c (build_objfile_section_table): Cast return value
Jim Kingdon [Tue, 13 Apr 1993 15:31:29 +0000 (15:31 +0000)]
* objfiles.c (build_objfile_section_table): Cast return value
from obstack_finish.

31 years ago * config/rs6000/tm-rs6000.h, rs6000-tdep.c: Move FRAME_CHAIN
Jim Kingdon [Tue, 13 Apr 1993 06:15:14 +0000 (06:15 +0000)]
* config/rs6000/tm-rs6000.h, rs6000-tdep.c: Move FRAME_CHAIN
to rs6000_frame_chain and deal with it if we're in a signal handler.
(FRAME_SAVED_PC): Use rs6000_frame_chain.

31 years agokill it dead
Ken Raeburn [Tue, 13 Apr 1993 05:32:52 +0000 (05:32 +0000)]
kill it dead

31 years ago * config/unix-gdb.exp: Gracefully exits if $GDB is a bogus path.
Rob Savoye [Mon, 12 Apr 1993 22:27:06 +0000 (22:27 +0000)]
    * config/unix-gdb.exp: Gracefully exits if $GDB is a bogus path.

31 years agoMake sure $GDB contains a real program.
Rob Savoye [Mon, 12 Apr 1993 22:15:10 +0000 (22:15 +0000)]
Make sure $GDB contains a real program.

31 years ago * breakpoint.c (within_scope): New function.
Jim Kingdon [Mon, 12 Apr 1993 21:22:46 +0000 (21:22 +0000)]
* breakpoint.c (within_scope): New function.
(enable_breakpoint, watchpoint_check): Use it.

31 years agoClean up old comments
John Gilmore [Mon, 12 Apr 1993 21:18:31 +0000 (21:18 +0000)]
Clean up old comments

31 years agosource.c (openp): Handle "exec-file ./ls" correctly.
Jim Kingdon [Mon, 12 Apr 1993 18:21:25 +0000 (18:21 +0000)]
source.c (openp): Handle "exec-file ./ls" correctly.

31 years ago(breakpoint_1): use wrap_here before "at"
Jim Kingdon [Mon, 12 Apr 1993 17:56:35 +0000 (17:56 +0000)]
(breakpoint_1): use wrap_here before "at"

31 years agoFix typo, change appropriate instances of -2 to SERIAL_TIMEOUT, add
Ian Lance Taylor [Sat, 10 Apr 1993 20:25:54 +0000 (20:25 +0000)]
Fix typo, change appropriate instances of -2 to SERIAL_TIMEOUT, add
explicit != 0 tests, improve comments.

31 years ago * test-build.mk: Pass -with-gnu-as for known MIPS native and MIPS
Ian Lance Taylor [Sat, 10 Apr 1993 19:05:18 +0000 (19:05 +0000)]
* test-build.mk: Pass -with-gnu-as for known MIPS native and MIPS
targets, rather than for MIPS hosts.

31 years ago * ch-exp.y: Clean up lexing of identifiers and
Per Bothner [Sat, 10 Apr 1993 08:35:32 +0000 (08:35 +0000)]
* ch-exp.y:  Clean up lexing of identifiers and
reserved words.  (E.g. don't recognize FALSEXXX as the
keyword FALSE followed by the identifier XXX.)
Also, convert identifiers to lower case.

31 years ago * remote-mips.c, remote-monitor.c, remote-st2000.c: Convert to
Stu Grossman [Fri, 9 Apr 1993 22:55:00 +0000 (22:55 +0000)]
* remote-mips.c, remote-monitor.c, remote-st2000.c:  Convert to
new serial interface.

31 years ago * remote.c (remote_open): Use SERIAL_OPEN instead of serial_open.
Stu Grossman [Fri, 9 Apr 1993 22:14:04 +0000 (22:14 +0000)]
* remote.c (remote_open):  Use SERIAL_OPEN instead of serial_open.
(putpkt, getpkt):  Use new return codes for SERIAL_READCHAR.
* ser-go32.c:  Return -1 on most failures, 0 on most successes,
and use new return codes for go32_readchar().
* ser-unix.c:  Ditto.  Also, move error handling up to caller for
SERIAL_SETBAUDRATE().
* serial.c (serial_open):  Internal call, not SERIAL_OPEN to get
to specific routine.
(serial_close):  New routine to wrap around device close routine.
serial.h:  Clean & document return values more clearly.

31 years ago * configure.in: add comment for --with-x default values
David D. Zuhn [Fri, 9 Apr 1993 20:58:44 +0000 (20:58 +0000)]
* configure.in: add comment for --with-x default values
* config.guess: handle Motorola Delta88 box for SVR3 and SVR4.
* Makefile.in: add check-* targets for each of the directories in
the tree.  Add a definition of RUNTEST that will use the one we
just built, if it exists.  Pass this down via FLAGS_TO_PASS.

31 years ago * rs6000-pinsn.c (print_operand): Deal with no operand instructions.
Jim Kingdon [Fri, 9 Apr 1993 20:54:02 +0000 (20:54 +0000)]
* rs6000-pinsn.c (print_operand): Deal with no operand instructions.

* rs6000-pinsn.c (print_operand, case LI): Print condition register
operand in decimal rather than wrong textual versions.

31 years ago * rs6k.h: Clean up instructions for primary opcode 19 (many were
Jim Kingdon [Fri, 9 Apr 1993 20:52:04 +0000 (20:52 +0000)]
* rs6k.h: Clean up instructions for primary opcode 19 (many were
simply wrong, ics, rfi, & rfsvc were missing).
Add "a" to opr_ext for "bb".  Doc fix.

31 years ago * config/sun3.h: String argument to fprintf is const.
Ian Lance Taylor [Fri, 9 Apr 1993 18:50:36 +0000 (18:50 +0000)]
* config/sun3.h: String argument to fprintf is const.

31 years agoPlease don't add declarations of random system functions to general
Ian Lance Taylor [Fri, 9 Apr 1993 18:22:57 +0000 (18:22 +0000)]
Please don't add declarations of random system functions to general
source files if you can possibly avoid it.  They inevitably fail on
some system somewhere.

* objdump.c: Removed useless fprintf declaration.

31 years ago * printcmd.c (_initialize_printcmd): Clean up docstring for "x"
Jim Kingdon [Fri, 9 Apr 1993 18:06:45 +0000 (18:06 +0000)]
* printcmd.c (_initialize_printcmd): Clean up docstring for "x"
(mention 't', remove false thing about 'g' only good with 'f').

31 years ago * breakpoint.h: move "struct breakpoint" and friends to top of
Jim Kingdon [Fri, 9 Apr 1993 17:51:40 +0000 (17:51 +0000)]
* breakpoint.h: move "struct breakpoint" and friends to top of
file so that bpstat_find_breakpoint prototype works.

31 years ago * coff-mips.c: Renamed PAGE_SIZE to ROUND_SIZE, to avoid confusion
Ian Lance Taylor [Fri, 9 Apr 1993 17:48:10 +0000 (17:48 +0000)]
* coff-mips.c: Renamed PAGE_SIZE to ROUND_SIZE, to avoid confusion
on systems which define PAGE_SIZE in <limits.h>.

31 years agoSupport for the H8/500
Steve Chamberlain [Fri, 9 Apr 1993 17:46:13 +0000 (17:46 +0000)]
Support for the H8/500

31 years ago * solib.c (struct so_list): Add bfd field.
Jim Kingdon [Fri, 9 Apr 1993 17:43:59 +0000 (17:43 +0000)]
* solib.c (struct so_list): Add bfd field.
(solib_map_sections): Leave bfd open and scratch_pathname allocated.
Put the bfd in bfd field of the so_list.
(clear_solib): Free bfd name and close_bfd on the bfd.

31 years agoFix typo.
Ian Lance Taylor [Fri, 9 Apr 1993 16:10:30 +0000 (16:10 +0000)]
Fix typo.

31 years ago * config/obj-ecoff.h (ecoff_build_lineno): Make ilineMax in
Ian Lance Taylor [Fri, 9 Apr 1993 16:08:29 +0000 (16:08 +0000)]
* config/obj-ecoff.h (ecoff_build_lineno): Make ilineMax in
symbolic header match cline in FDR; the native liinker seems to
want that.

31 years ago * valarith.c (value_subscript): Add COERCE_REF.
Per Bothner [Fri, 9 Apr 1993 07:52:50 +0000 (07:52 +0000)]
* valarith.c (value_subscript):  Add COERCE_REF.
* ch-exp.y (operand_5):  We can generalize the 2nd operand
of a string repetition ot 'literal' without ambiguity.

31 years ago * breakpoint.h (struct bpstat): Remove momentary field.
Jim Kingdon [Fri, 9 Apr 1993 03:17:45 +0000 (03:17 +0000)]
* breakpoint.h (struct bpstat): Remove momentary field.
Remove bpstat_momentary_breakpoint.  This was always kludgy
and is no longer used.

* breakpoint.h: Add enum bpstat_what.
breakpoint.h (struct bpstat), breakpoint.c (bpstat_stop_status):
stop and print fields of bpstat now per-breakpoint, not just
one for the whole chain.
breakpoint.{c,h} (bpstat_what): New function.
breakpoint.h: Remove bpstat_stop and bpstat_should_print.
infrun.c: Replace switch (stop_bpstat->breakpoint_at->type)
with call to bpstat_what.
README: Remove watchpoint/breakpoint bug from known bugs.

* breakpoint.h: Prototype bpstat_find_breakpoint.

31 years ago * symtab.c (find_methods, gdb_mangle_name): Note that functions
Fred Fish [Thu, 8 Apr 1993 23:05:16 +0000 (23:05 +0000)]
* symtab.c (find_methods, gdb_mangle_name):  Note that functions
are g++ specific.
* symtab.h (VTBL_FNADDR_OFFSET, OPNAME_PREFIX_P, VTBL_PREFIX_P,
DESTRUCTOR_PREFIX_P):  Note that macros are g++ specific.

31 years agoas.texinfo lives in $(srcdir)
David D. Zuhn [Thu, 8 Apr 1993 22:53:01 +0000 (22:53 +0000)]
as.texinfo lives in $(srcdir)

31 years agodoc/Makefile.in
Roland Pesch [Thu, 8 Apr 1993 22:17:13 +0000 (22:17 +0000)]
doc/Makefile.in

31 years ago(as.dvi target) update for new source file structure supporting
Roland Pesch [Thu, 8 Apr 1993 22:14:53 +0000 (22:14 +0000)]
(as.dvi target) update for new source file structure supporting
                texinfo conditionals
(as.ms, as.mm, as.me targets) update for new structure, and add note that
                these targets probably broken until texi2roff supports
                texinfo conditionals
(clean-dvi target) new; clean dvi files and side effects
(clean-info target) clean out only info files
(clean target)  run clean-dvi, clean-info

31 years ago * config/ho-decstatn.h: Define BROKEN_ASSERT if not __GNUC__,
Ian Lance Taylor [Thu, 8 Apr 1993 19:55:44 +0000 (19:55 +0000)]
* config/ho-decstatn.h: Define BROKEN_ASSERT if not __GNUC__,
rather than undefining know.

31 years ago * i960-pinsn.c (tabent): Copied struct definition from
Ian Lance Taylor [Thu, 8 Apr 1993 19:47:54 +0000 (19:47 +0000)]
* i960-pinsn.c (tabent): Copied struct definition from
opcodes/i960-dis.c.

31 years ago * mt-a29k, mt-ebmon29k, mt-os68k, mt-ose68000, mt-ose68k,
Ian Lance Taylor [Thu, 8 Apr 1993 18:24:37 +0000 (18:24 +0000)]
* mt-a29k, mt-ebmon29k, mt-os68k, mt-ose68000, mt-ose68k,
mt-vxworks68, mt-vxworks960: Removed obsolete, unused target
Makefile fragment files.

31 years ago * configure.in: Removed obsolete references to bfd_target and
Ian Lance Taylor [Thu, 8 Apr 1993 18:24:03 +0000 (18:24 +0000)]
* configure.in: Removed obsolete references to bfd_target and
target_makefile_frag.

31 years ago * symtab.h (DESTRUCTOR_PREFIX_P): New macro to check if physname
Peter Schauer [Thu, 8 Apr 1993 17:37:24 +0000 (17:37 +0000)]
    * symtab.h (DESTRUCTOR_PREFIX_P): New macro to check if physname
        is a C++ destructor.
        * symtab.c (gdb_mangle_name): Use it.
        * symtab.c (find_methods): Do not add destructors to choice list
        for constructors.
        * symtab.c (decode_line_1): Make breakpoints on destructors work
        for gcc-2.x again.

31 years ago * trad-core.c (trad_unix_core_file_failing_signal): Use new macro
Peter Schauer [Thu, 8 Apr 1993 17:30:28 +0000 (17:30 +0000)]
    * trad-core.c (trad_unix_core_file_failing_signal): Use new macro
        TRAD_UNIX_CORE_FILE_FAILING_SIGNAL to allow host files to specify
        the core file failing signal.
        * hosts/decstation.h (TRAD_UNIX_CORE_FILE_FAILING_SIGNAL): Define
        to supply the core file failing signal.

31 years ago * build-all.mk: Set assorted targets for Q2.
Ian Lance Taylor [Thu, 8 Apr 1993 16:26:01 +0000 (16:26 +0000)]
* build-all.mk: Set assorted targets for Q2.
* config.sub: Recognize z8k-sim and h8300-hms.
* test-build.mk: Really don't pass host to configure.
(HOLES): Added uname.

31 years agoRename to util-defs.exp and turn into generic procedures.
Rob Savoye [Thu, 8 Apr 1993 05:26:10 +0000 (05:26 +0000)]
Rename to util-defs.exp and turn into generic procedures.

31 years ago * Makefile.in: Changed check target to use DejaGnu.
Rob Savoye [Thu, 8 Apr 1993 05:23:39 +0000 (05:23 +0000)]
* Makefile.in: Changed check target to use DejaGnu.

31 years agoAll use new util_test proc.
Rob Savoye [Thu, 8 Apr 1993 05:16:13 +0000 (05:16 +0000)]
All use new util_test proc.

31 years agoReplaced by just $(target_os) name. Use new util_test proc.
Rob Savoye [Thu, 8 Apr 1993 05:15:20 +0000 (05:15 +0000)]
Replaced by just $(target_os) name. Use new util_test proc.

31 years agoChanged "make check" target to use DejaGnu.
Rob Savoye [Thu, 8 Apr 1993 05:12:06 +0000 (05:12 +0000)]
Changed "make check" target to use DejaGnu.

31 years agoGet rid of all the links.
Rob Savoye [Thu, 8 Apr 1993 05:10:49 +0000 (05:10 +0000)]
Get rid of all the links.

31 years ago * ser-go32.c: Make it use serial port name.
Stu Grossman [Thu, 8 Apr 1993 04:12:56 +0000 (04:12 +0000)]
* ser-go32.c:  Make it use serial port name.
* go32-xdep.c:  Put in def for strlwr, needed by dir.o in go32 libc.

31 years agoRecord abolition of last m4 conditional markup holdout manual.
Roland Pesch [Thu, 8 Apr 1993 03:20:44 +0000 (03:20 +0000)]
Record abolition of last m4 conditional markup holdout manual.

31 years agoConverted to Texinfo conditionals; no longer need M4.
Roland Pesch [Thu, 8 Apr 1993 03:13:41 +0000 (03:13 +0000)]
Converted to Texinfo conditionals; no longer need M4.
Checked makeinfo output for "all" config; other old M4 configs now sanitized
out, will be replaced by .texi configs as each config is tested.

31 years ago * infcmd.c (read_pc): Make sure that we read PC_REGNUM when not
Stu Grossman [Thu, 8 Apr 1993 01:45:35 +0000 (01:45 +0000)]
* infcmd.c (read_pc):  Make sure that we read PC_REGNUM when not
in a system call!

31 years ago * configure.in: Only configure sparclite subdir when target_cpu
Stu Grossman [Wed, 7 Apr 1993 22:53:49 +0000 (22:53 +0000)]
* configure.in:  Only configure sparclite subdir when target_cpu
is sparclite.

31 years ago * configure: Handle an empty program-prefix, program-suffix or
Ian Lance Taylor [Wed, 7 Apr 1993 22:49:03 +0000 (22:49 +0000)]
* configure: Handle an empty program-prefix, program-suffix or
program-transform-name correctly.

31 years ago * internal.h: Change n_sclass to unsigned char.
Jim Kingdon [Wed, 7 Apr 1993 22:47:48 +0000 (22:47 +0000)]
* internal.h: Change n_sclass to unsigned char.
Change C_EFCN to 0xff, change RS/6000 dbx symbols
to no longer be signed.

31 years ago * xcoffread.c (struct coff_symbol): Change c_sclass to unsigned char.
Jim Kingdon [Wed, 7 Apr 1993 22:45:34 +0000 (22:45 +0000)]
* xcoffread.c (struct coff_symbol): Change c_sclass to unsigned char.
Remove FIXME comment regarding this.

31 years ago * ch-exp.y: Remove ambiguities. Fix or add support for
Per Bothner [Wed, 7 Apr 1993 22:15:48 +0000 (22:15 +0000)]
* ch-exp.y:  Remove ambiguities.  Fix or add support for
UNOP_IND, UNOP_CAST, UNOP_ADDR, STRUCOP_STRUCT, OP_TYPE.
* ch-typeprint.c (chill_print_type):  Move support
for TYPE_CODE_ARRAY and TYPE_CODE_STRING from here ...
* ch-typeprint.c (chill_type_print_base): ... here.
* ch-typeprint.c (chill_type_print_base):  Improve
support for PTR, REF, and FUNC types.
* ch-valprint.c:  Prefer H'%x format to 0x%s.
* ch-valprint.c (chill_val_print):  Add support for printing
TYPE_CODE_REF (return for LOC parameters and variables).
Use c_val_print to print random types (including ENUM).
* ch-valprint,c (chill_print_value_fields):  Make
output look more like Chill tuples.
* stabsread.c (read_struct_type):  Factor common code.

31 years ago * gdb.t21/demangle.exp: Only count real fails (not xfails) for
Fred Fish [Wed, 7 Apr 1993 21:14:57 +0000 (21:14 +0000)]
* gdb.t21/demangle.exp:  Only count real fails (not xfails) for
failure count used to force early termination.  Add some more
expected failures for gnu style demangling.

31 years ago * gdbint.texinfo: Update for new config directory structure.
Fred Fish [Wed, 7 Apr 1993 21:13:13 +0000 (21:13 +0000)]
* gdbint.texinfo:  Update for new config directory structure.
Add info about internal type data structures.

31 years ago * coff-mips.c (PAGESIZE): Correct value.
Ian Lance Taylor [Wed, 7 Apr 1993 18:34:25 +0000 (18:34 +0000)]
* coff-mips.c (PAGESIZE): Correct value.

With the wrong PAGESIZE everything worked just fine, with one
exception: emacs couldn't dump itself.

31 years ago * sparclite/Makefile.in: Add dummy mostlyclean, clean,
Fred Fish [Wed, 7 Apr 1993 18:27:16 +0000 (18:27 +0000)]
* sparclite/Makefile.in:  Add dummy mostlyclean, clean,
distclean, and realclean targets.

31 years agoChange NULL->'\0' in comment (that wasn't a typo).
Jim Kingdon [Wed, 7 Apr 1993 17:46:19 +0000 (17:46 +0000)]
Change NULL->'\0' in comment (that wasn't a typo).

31 years agouse E_SYMNMLEN
Jim Kingdon [Wed, 7 Apr 1993 17:40:55 +0000 (17:40 +0000)]
use E_SYMNMLEN

31 years agoAdd section table to objfile struct. Use it for find_pc_section.
K. Richard Pixley [Wed, 7 Apr 1993 07:04:26 +0000 (07:04 +0000)]
Add section table to objfile struct.  Use it for find_pc_section.
* objfiles.c (add_to_objfile_sections,
  build_objfile_section_table, find_pc_section): new functions.
  (allocate_objfile): build section table.
* objfiles.h (struct obj_section): new structure.
  (struct objfile): add section table.
  (find_pc_section): new prototype.
* solib.[ch] (find_pc_section_from_so_list): removed.
* sparc-tdep.c: include objfiles.h for find_pc_section.  include
  symfile.h for objfiles.h.
  (in_solib_trampoline): adjusted for new find_pc_section
  prototype.  Removed BAD_RICH_HACK ifdefs.
* symfile.c (syms_from_objfile): offset objfile sections.
  (find_pc_section): removed.  Also removed BAD_RICH_HACK ifdefs.
* symfile.h (find_pc_section): prototype removed.  Also fixed
  comment typo NUL -> NULL.
* target.[ch] (find_pc_section_from_targets): removed.
* config/sparc/tm-sun4sol2.h (BAD_RICHH_HACK): removed.

31 years ago * ser-go32.c: Format. (go32_open): Use proper return value.
Stu Grossman [Wed, 7 Apr 1993 04:43:48 +0000 (04:43 +0000)]
* ser-go32.c:  Format.  (go32_open):  Use proper return value.

* configure.in:  Undo conditional configdirs hack for sparclite.

31 years agoFix for PR 124: make 'rb' correctly handle case where we have multiple
Jim Wilson [Wed, 7 Apr 1993 00:09:11 +0000 (00:09 +0000)]
Fix for PR 124: make 'rb' correctly handle case where we have multiple
functions with the same name in different files.

31 years agoUpdate with latest build dependencies.
Fred Fish [Tue, 6 Apr 1993 23:54:16 +0000 (23:54 +0000)]
Update with latest build dependencies.

31 years ago*** empty log message ***
Stu Grossman [Tue, 6 Apr 1993 23:48:29 +0000 (23:48 +0000)]
*** empty log message ***

31 years agoCouple of more minor tweaks to gdb.tar.Z target.
Fred Fish [Tue, 6 Apr 1993 23:32:16 +0000 (23:32 +0000)]
Couple of more minor tweaks to gdb.tar.Z target.

31 years ago (Changes and new files to make "none" a full fledged configuration)
Fred Fish [Tue, 6 Apr 1993 22:09:33 +0000 (22:09 +0000)]
(Changes and new files to make "none" a full fledged configuration)
* config/none/{nm-none.h, tm-none.h, xm-none.h}:  New files.
Currently only tm-none.h has any meaningful contents.
* config/none/none.mh (NAT_FILE):  Use nm-none.h
* config/none/none.mh (XM_FILE):  Use xm-none.h
* config/none/none.mt (TM_FILE):  Use tm-none.h

31 years ago* values.c (USE_STRUCT_RETURN): Only use gcc wierdness for gcc1.
Jim Kingdon [Tue, 6 Apr 1993 21:20:30 +0000 (21:20 +0000)]
* values.c (USE_STRUCT_RETURN): Only use gcc wierdness for gcc1.

31 years ago * build-all.mk: -G 8 no longer required for MIPS targets.
Ian Lance Taylor [Tue, 6 Apr 1993 20:49:55 +0000 (20:49 +0000)]
* build-all.mk: -G 8 no longer required for MIPS targets.
* test-build.mk: Don't pass host argument to configure; make it
guess.

31 years ago * xcoffread.c (read_xcoff_symtab): Deal correctly with symbols of
Jim Kingdon [Tue, 6 Apr 1993 20:08:50 +0000 (20:08 +0000)]
* xcoffread.c (read_xcoff_symtab): Deal correctly with symbols of
exactly 8 characters.

31 years ago * configure.in: Sparclite uses sparc config dir. Also has it's
Stu Grossman [Tue, 6 Apr 1993 17:40:55 +0000 (17:40 +0000)]
* configure.in:  Sparclite uses sparc config dir.  Also has it's
own tm- & .mt files now.  Also add sparclite to configdirs.
* go32-xdep.c:  Dummy routines for sigsetmask & strlwr.
* config/i386/go32.mh:  Nullify def of TERMCAP.
* config/i386/xm-go32.h:  Get rid of redef of EIO.
* config/sparc/{sparclite.mh tm-sparclite.h}:  New sparclite
specific configs.  Very similar to sun4os4, but without solib.
* sparclite/{Makefile.in configure.in}:  First cut at making this
dir configgable.

31 years agoForgot changelog...
Fred Fish [Tue, 6 Apr 1993 17:39:03 +0000 (17:39 +0000)]
Forgot changelog...

31 years ago * ser-go32.c: First cut at adapting to new serial interface.
Stu Grossman [Tue, 6 Apr 1993 10:13:03 +0000 (10:13 +0000)]
* ser-go32.c:  First cut at adapting to new serial interface.

31 years ago * Makefile.in (SFILES OBS): Add serial.[co] & ser-hardwire.[co].
Stu Grossman [Tue, 6 Apr 1993 05:50:54 +0000 (05:50 +0000)]
* Makefile.in (SFILES OBS):  Add serial.[co] & ser-hardwire.[co].
These implement a new serial line interface for talking to remote
targets.
* configure.in:  Link ser-hardwire.c to ser-unix.c for all hosts,
EXCEPT go32, which gets ser-go32.c.
* remote.c:  Use new serial interface.  More remote-xxx's to be
converted later.
* ser-bsd.c, ser-termios.c:  Removed.
* serial.c:  New.  Implements common operations for all serial
types.
* ser-unix.c:  New.  Unix specific serial operations for various
flavors of Unix (Posix, SysV, BSD).
* serial.h:  Generic serial interface defs.
* config/i386/go32.mh, config/i386/i386bsd.h,
config/m68k/apollo68b.mh, config/sparc/sun4os4.mh:  Remove
ser-bsd.o from XDEPFILES.  All the magic is now handled in
configure.in.

31 years ago * config/h8500/tm-h8500.h: Clean up brain damage found by GCC.
Stu Grossman [Tue, 6 Apr 1993 03:52:31 +0000 (03:52 +0000)]
* config/h8500/tm-h8500.h:  Clean up brain damage found by GCC.

31 years agotm-68k* -> tm-m68k*
Fred Fish [Tue, 6 Apr 1993 02:26:41 +0000 (02:26 +0000)]
tm-68k* -> tm-m68k*

31 years agoam29k* -> a29k*
Fred Fish [Tue, 6 Apr 1993 02:25:51 +0000 (02:25 +0000)]
am29k* -> a29k*

31 years ago * config/tc-mips.c (gp_reference): Certain magic symbols can never
Ian Lance Taylor [Tue, 6 Apr 1993 00:56:53 +0000 (00:56 +0000)]
* config/tc-mips.c (gp_reference): Certain magic symbols can never
be referenced off the GP register.

31 years agoThese changes make shared library support work again on 386 COFF
Ian Lance Taylor [Tue, 6 Apr 1993 00:53:41 +0000 (00:53 +0000)]
These changes make shared library support work again on 386 COFF
systems.

* coffcode.h (styp_to_sec_flags): Set SEC_SHARED_LIBRARY for a
STYP_NOLOAD | STYP_BSS section.  Don't set SEC_NEVER_LOAD for a
STYP_INFO section.
(coff_compute_section_file_positions): Force vma and lma of _LIB
section to be zero.
(coff_set_section_contents): Count number of entries in new lma
field, not in vma.
* coffgen.c (make_a_section_from_file): Force lineno_count of
SEC_SHARED_LIBRARY section to be zero, since it is non-zero on the
SCO 3.2v4 shared library.
* seclet.c (rel): Copy over any section with contents, not just
loadable sections.

* coff-mips.c (ecoff_make_empty_symbol): Zero out newly allocated
symbol.

31 years agoMake "ta" the default trap instruction, "t" the alias.
John Gilmore [Tue, 6 Apr 1993 00:38:25 +0000 (00:38 +0000)]
Make "ta" the default trap instruction, "t" the alias.

31 years agoThis makes ld -r work for i386-coff targets.
Ian Lance Taylor [Mon, 5 Apr 1993 20:09:58 +0000 (20:09 +0000)]
This makes ld -r work for i386-coff targets.

* coff-i386.c (coff_i386_reloc): New function, to generate
relocateable output correctly.
(howto_table): Use coff_i386_reloc for all reloc types.
(CALC_ADDEND): Use a more efficient hack to get the correct addend
for a common symbol.
(i386comm_value): Removed; no longer needed.

31 years ago * app.c (do_scrub_next_char): Handle states 9 and 10 correctly
Ian Lance Taylor [Mon, 5 Apr 1993 19:02:20 +0000 (19:02 +0000)]
* app.c (do_scrub_next_char): Handle states 9 and 10 correctly
when dealing with characters of type LEX_IS_TWOCHAR_COMMENT_1ST,
LEX_IS_STRINGQUOTE, and LEX_IS_ONECHAR_QUOTE.

31 years agoinclude string.h
Ken Raeburn [Mon, 5 Apr 1993 18:00:40 +0000 (18:00 +0000)]
include string.h

31 years agoNew script. Simply evaluates and exec's its arguments. Needed until I
Ken Raeburn [Mon, 5 Apr 1993 17:32:38 +0000 (17:32 +0000)]
New script.  Simply evaluates and exec's its arguments.  Needed until I
can figure out how to handle redirection easily in tcl/expect.

31 years agoadd some new tests, and new testing procs
Ken Raeburn [Mon, 5 Apr 1993 17:26:51 +0000 (17:26 +0000)]
add some new tests, and new testing procs

31 years agofrom gas/testscripts -- may be useful someday
Ken Raeburn [Mon, 5 Apr 1993 17:25:37 +0000 (17:25 +0000)]
from gas/testscripts -- may be useful someday