binutils-gdb.git
31 years ago * stabs.texinfo (Negative Type Numbers): Re-write discussions of
Jim Kingdon [Fri, 17 Sep 1993 00:50:09 +0000 (00:50 +0000)]
* stabs.texinfo (Negative Type Numbers): Re-write discussions of
names, sizes, and formats to suggest how not to lose.

31 years ago * remote-udi.c, remote-adapt.c, remote-mm.c: Move processor_type
Jim Kingdon [Thu, 16 Sep 1993 23:45:46 +0000 (23:45 +0000)]
* remote-udi.c, remote-adapt.c, remote-mm.c: Move processor_type
to tm-a29k.h and a29k-tdep.c and make it an enum.
* a29k-tdep.c (a29k_get_processor_type): New function.  Fix many
aspects of how we detected the processor type.
* remote-udi.c, remote-adapt.c, remote-mm.c (*_open): Call it
rather than figuring out the type ourselves.

31 years ago * config/vx-gdb.exp: Use fake device to load files rather than
Rob Savoye [Thu, 16 Sep 1993 23:27:10 +0000 (23:27 +0000)]
* config/vx-gdb.exp: Use fake device to load files rather than
NFS.
* lib/gdb.exp: New proc to do "file" command.
* config/unix-gdb.exp: Use new "file" proc.

31 years agoUse new proc for "file" command to load symbol tables.
Rob Savoye [Thu, 16 Sep 1993 23:21:56 +0000 (23:21 +0000)]
Use new proc for "file" command to load symbol tables.

31 years ago * elfcode.h (elf_map_symbols): Create section symbols for all
Ian Lance Taylor [Thu, 16 Sep 1993 22:24:33 +0000 (22:24 +0000)]
* elfcode.h (elf_map_symbols): Create section symbols for all
sections, not just allocated sections; debugging sections can have
relocs.
(elf_symbol_from_bfd_symbol): If there is an output section, use
the section index from that rather than the input section.

31 years ago* infrun.c (wait_for_inferior): Allow user to single step within
Stu Grossman [Thu, 16 Sep 1993 20:18:26 +0000 (20:18 +0000)]
* infrun.c (wait_for_inferior):  Allow user to single step within
a stack dummy.

31 years ago * dbxread.c (copy_pending): Deal with END NULL.
Jim Kingdon [Thu, 16 Sep 1993 19:54:47 +0000 (19:54 +0000)]
* dbxread.c (copy_pending): Deal with END NULL.
(process_one_symbol): Add comments about what common_block NULL means.

31 years ago* sparc-stub.c (_trap_low): Do restore/save sequence after
Stu Grossman [Thu, 16 Sep 1993 19:16:19 +0000 (19:16 +0000)]
* sparc-stub.c (_trap_low):  Do restore/save sequence after
setting sp to ensure that we load the previous window from the
right place on the stack.

31 years ago * tc.h: Declare tc_gen_reloc differently depending upong
Ian Lance Taylor [Thu, 16 Sep 1993 18:26:36 +0000 (18:26 +0000)]
* tc.h: Declare tc_gen_reloc differently depending upong
RELOC_EXPANSION_POSSIBLE.
* config/obj-elf.c (obj_elf_section): Only set flags when first
creating the section.

31 years ago * config/mips-gdb.exp (gdb_load): Increase timeout to 2400.
Ian Lance Taylor [Thu, 16 Sep 1993 17:57:19 +0000 (17:57 +0000)]
* config/mips-gdb.exp (gdb_load): Increase timeout to 2400.
Rework board rebooting slightly.
(gdb_exit): Don't exit from the remote shell; there isn't one.
* gdb.stabs/weird.exp: If a program is being debugged already,
kill it.
* gdb.t04/setvar.exp: Stop and restart gdb.
* gdb.t05/expr.exp: Likewise.
* gdb.t07/watchpoint.exp: If target is mips-idt-*, stop and
restart gdb and reload the program.
* gdb.t08/opaque.exp: Likewise.
* gdb.t12/scope.exp: Likewise.
* gdb.t13/bitfields.exp: Likewise.
* gdb.t15/funcargs.exp: Likewise.
* gdb.t20/classes.exp: Likewise.
* gdb.t03/ptype.exp: Increase timeout.
* gdb.t16/printcmds.exp (test_print_string_constants,
test_print_array_constants): Likewise.
* gdb.t17/callfuncs.exp (do_function_calls): Likewise.
* gdb.t20/classes.exp (do_tests): Likewise.
* gdb.t22/virtfunc.exp (test_virtual_calls): Likewise.

31 years ago * config/mips/tm-mips.h (ECOFF_REG_TO_REGNUM): Define.
Peter Schauer [Thu, 16 Sep 1993 07:39:41 +0000 (07:39 +0000)]
* config/mips/tm-mips.h (ECOFF_REG_TO_REGNUM):  Define.

31 years ago * mipsread.c: Many changes for alpha ecoff format:
Peter Schauer [Thu, 16 Sep 1993 07:38:42 +0000 (07:38 +0000)]
* mipsread.c:  Many changes for alpha ecoff format:
Correct sizeof(int) == sizeof(long) assumptions.
Replace stParsed hack by putting the parsed types on the pending chain.
Replace mips specific ecoff mapping by ECOFF_REG_TO_REGNUM macro,
provide default for cross debugging.
Swapping the symbol back is no longer needed as the symbol is not
modified anymore.
Add new alpha basic types, handle btTypedef, handle stStaticProc
external symbols .
Update and clean up cross_ref for alpha cc cross ref variations.
Allocate types on the type_obstack to inhibit storage leaks.
* config/mips/tm-mips.h (ECOFF_REG_TO_REGNUM):  Define.
* gdbtypes.c (recursive_dump_type):  Dump TYPE_TAG_NAME if it is set.

31 years agoChange wierd to weird
Ian Lance Taylor [Wed, 15 Sep 1993 22:17:29 +0000 (22:17 +0000)]
Change wierd to weird

31 years ago * libbfd.h (COERCExx): Cast x to bfd_signed_vma before doing the
Ian Lance Taylor [Wed, 15 Sep 1993 20:57:47 +0000 (20:57 +0000)]
* libbfd.h (COERCExx): Cast x to bfd_signed_vma before doing the
xor and subtract.  Otherwise it will not sign extend if the type
of bfd_vma is larger than int.

31 years ago * remote-utils.[ch]: new files of functions collected from several
Jim Kingdon [Wed, 15 Sep 1993 20:20:23 +0000 (20:20 +0000)]
* remote-utils.[ch]: new files of functions collected from several
  different remote targets.

31 years ago * gdb.t13/bitfields.exp: Test for bad output rather than waiting
Jim Kingdon [Wed, 15 Sep 1993 17:39:33 +0000 (17:39 +0000)]
* gdb.t13/bitfields.exp: Test for bad output rather than waiting
for timeout.  Add "known gcc 2.4.5 bug" to failure message.

31 years ago * paread.c, coffread.c, elfread.c, dwarfread.c:
Jim Kingdon [Wed, 15 Sep 1993 16:45:44 +0000 (16:45 +0000)]
* paread.c, coffread.c, elfread.c, dwarfread.c:
Include <time.h> and <sys/types.h> before libbfd.h.

31 years ago * ecoffswap.h (ecoff_swap_pdr_in): Get regoffset, iopt, fregoffset
Ian Lance Taylor [Wed, 15 Sep 1993 15:58:11 +0000 (15:58 +0000)]
* ecoffswap.h (ecoff_swap_pdr_in): Get regoffset, iopt, fregoffset
and frameoffset as signed numbers.  From Peter Schauer.

31 years agofix replacement of multiline values for CC and CXX
David D. Zuhn [Wed, 15 Sep 1993 02:11:35 +0000 (02:11 +0000)]
fix replacement of multiline values for CC and CXX

31 years ago * gdb.stabs/wierd.exp (print_wierd_var): Test size, not type name.
Jim Kingdon [Wed, 15 Sep 1993 00:47:45 +0000 (00:47 +0000)]
* gdb.stabs/wierd.exp (print_wierd_var): Test size, not type name.
(do_tests): Remove xfail for whatis on one_var and two_var.

31 years ago * stabsread.c (read_type): Process "s" (size) type attribute.
Jim Kingdon [Wed, 15 Sep 1993 00:46:55 +0000 (00:46 +0000)]
* stabsread.c (read_type): Process "s" (size) type attribute.
If type is defined to another type, copy the type.

31 years ago * paread.c, coffread.c, elfread.c, dwarfread.c:
Jim Kingdon [Tue, 14 Sep 1993 23:26:43 +0000 (23:26 +0000)]
* paread.c, coffread.c, elfread.c, dwarfread.c:
Include <time.h> before libbfd.h.

31 years ago * config/i386/i386v4.mh (NATDEPFILES): Move exec.o from here...
Ian Lance Taylor [Tue, 14 Sep 1993 22:41:49 +0000 (22:41 +0000)]
* config/i386/i386v4.mh (NATDEPFILES): Move exec.o from here...
* config/i386/i386v4.mt (TDEPFILES): ...to here.

31 years ago * elf32-i386.c (elf_howto_table): Add bfd_elf_generic_reloc
Ian Lance Taylor [Tue, 14 Sep 1993 22:29:26 +0000 (22:29 +0000)]
* elf32-i386.c (elf_howto_table): Add bfd_elf_generic_reloc
special function for all reloc entries.
* elf32-target.h (TARGET_LITTLE_SYM): Add SEC_CODE to
section_flags.
* libelf.h (elf_symbol_type): Remove desc, type and other fields.
* Makefile.in (elf32-*.o): These depend upon elf32-target.h.

31 years ago * config/obj-elf.c (obj_elf_data, obj_elf_text): New functions;
Ian Lance Taylor [Tue, 14 Sep 1993 22:28:22 +0000 (22:28 +0000)]
* config/obj-elf.c (obj_elf_data, obj_elf_text): New functions;
set previous_section and previous_subsection and then call s_data
and s_text, respectively.
(obj_pseudo_table): Add data and text.
(obj_elf_section): Add SEC_LOAD to default initialization of
flags.  Treat .rodata1 like .rodata.  Set SEC_LOAD as well as
SEC_ALLOC for "alloc" string.  Don't bother trying to find the
section; just use subseg_new.

31 years ago Tue Sep 14 14:34:45 1993 Steve Chamberlain (sac@phydeaux.cygnus.com)
Steve Chamberlain [Tue, 14 Sep 1993 21:39:33 +0000 (21:39 +0000)]
 Tue Sep 14 14:34:45 1993  Steve Chamberlain  (sac@phydeaux.cygnus.com)

  * libbfd-in.h (struct artdata):  Add armap_timestamp and
  armap_datepos here too.

31 years agofix serial.h inclusion
K. Richard Pixley [Tue, 14 Sep 1993 20:08:23 +0000 (20:08 +0000)]
fix serial.h inclusion

31 years agouse remote-utils facilities for baud_rate
K. Richard Pixley [Tue, 14 Sep 1993 19:34:15 +0000 (19:34 +0000)]
use remote-utils facilities for baud_rate

31 years ago* paread.c, coffread.c, elfread.c: Include <time.h> before libbfd.h.
Jim Kingdon [Tue, 14 Sep 1993 18:10:42 +0000 (18:10 +0000)]
* paread.c, coffread.c, elfread.c: Include <time.h> before libbfd.h.

31 years agoSome more gcc lint, and:
Ian Lance Taylor [Tue, 14 Sep 1993 17:58:35 +0000 (17:58 +0000)]
Some more gcc lint, and:

* read.c (change_to_section): Removed.  This is now done by
subseg_new.
(get_stab_string_offset): Rearranged somewhat.  Create the section
using subseg_new.  Store the string index in seg_info, rather than
in a static variable.  Force the first string to be empty.  Use
frag_more rather than FRAG_APPEND_1_CHAR.
(s_stab_generic): Rewrote.
* subsegs.h (segment_info_type): Added stabu union.
* subsegs.c (subseg_new): Initialize stab_string_size to 0.
* config/obj-aout.c: Don't include aout/stab_gnu.h.
(obj_aout_stab, obj_aout_desc): Removed.
(obj_pseudo_table): Removed desc and stabX entries.
* config/obj-bout.c: Same changes as config/obj-aout.c.
* config/obj-bout.h (S_SET_TYPE): Define.
(tc_bout_fix_to_chars): Declare.
* config/obj-coff.c (obj_coff_stab): Removed.
(obj_pseudo_table): Removed desc and stabX entries.
* config/obj-coff.h (SEPARATE_STAB_SECTIONS): Define.
* config/obj-coffbfd.c (current_stab_symbol): Removed.
* config/obj-coffbfd.h (obj_symbol_type): Removed n_strx, n_type,
n_other, n_desc and n_value fields.
(S_{S,G}ET_{OFFSET,OTHER,TYPE,DESC}): Removed.
(MAKE_STAB_SYMBOL): Removed.
* config/obj-ecoff.c (obj_ecoff_stab): Renamed to ecoff_stab.
Changed arguments and removed parsing code.
(obj_pseudo_table): Removed stabX entries.
* config/obj-ecoff.h (ecoff_stab): Declare.
(OBJ_PROCESS_STAB): Define.
* config/obj-elf.c: Don't include aout/stab_gnu.h.
(obj_elf_stab, obj_elf_xstab, obj_elf_desc,
elf_stab_symbol_string, elf_stab_symbol, obj_elf_stab_generic):
Removed.
(obj_pseudo_table): Removed desc, stabX and xstabs entries.
(obj_elf_version): Use subseg_new, not bfd_make_section.  Don't
set SEC_LOAD for .note section.
(adjust_stab_sections): Get frag pointer from seg_info, rather
than looking through frags.
* config/obj-elf.h (S_{S,G}ET_{OTHER,TYPE,DESC}): Removed.
(SEPARATE_STAB_SECTIONS, INIT_STAB_SECTION, OBJ_PROCESS_STAB):
Define.
* config/obj-vms.c (obj_aout_stab): Removed.
(obj_pseudo_table): Removed stabX entries.
* config/obj-vms.h (S_SET_TYPE): Define.

31 years ago * paread.c: Include <time.h> before libbfd.h.
Jim Kingdon [Tue, 14 Sep 1993 17:32:45 +0000 (17:32 +0000)]
* paread.c: Include <time.h> before libbfd.h.

* paread.c: Define BYTES_IN_WORD before including aout/aout64.h.

31 years ago * Makefile.in (a29k-tdep.o): Depend on $(defs_h).
Jim Kingdon [Tue, 14 Sep 1993 16:22:07 +0000 (16:22 +0000)]
* Makefile.in (a29k-tdep.o): Depend on $(defs_h).
* config/a29k/tm-a29k.h (SAVED_PC_AFTER_CALL): Use gr122 not lr0
if this is a transparent procedure.

31 years ago* remote-udi.c (udi_wait): Return inferior_pid not 0.
Jim Kingdon [Tue, 14 Sep 1993 16:19:30 +0000 (16:19 +0000)]
* remote-udi.c (udi_wait): Return inferior_pid not 0.

31 years agoAvoid minor warning in archive.c change.
John Gilmore [Tue, 14 Sep 1993 04:19:40 +0000 (04:19 +0000)]
Avoid minor warning in archive.c change.

31 years ago* hosts/std-host.h (offsetof): Define, if not already, for archive.c.
John Gilmore [Tue, 14 Sep 1993 04:15:23 +0000 (04:15 +0000)]
* hosts/std-host.h (offsetof):  Define, if not already, for archive.c.

31 years agoImprove timestamp support in BSD archive files to avoid linker
John Gilmore [Tue, 14 Sep 1993 04:13:43 +0000 (04:13 +0000)]
Improve timestamp support in BSD archive files to avoid linker
warnings.

* libbfd.h (struct artdata):  Add armap_timestamp and armap_datepos.
(bfd_flush, bfd_stat):  Add prototypes.
* libbfd.c (bfd_flush):  Add, does fflush on a BFD.
(bfd_stat):  Add, does fstat on a BFD.

* archive.c (_bfd_write_archive_contents): At end of file writing,
verify and possibly update the timestamp in the armap, if a BSD
archive.  FIXME!  Kludge recognizes BSD archive, rather than
vectoring properly.  Should add to xvec.
(compute_and_write_armap):  Move prototype to top, avoid PROTO.
(bsd_write_armap): Save timestamp and file location thereof, when
writing the armap in a BSD file.
(bsd_update_armap_timestamp):  New function to check and
rewrite the timestamp.

31 years ago * remote.c: Define remote_debug to 0 and #if 0 baud_rate. Temporary
Jim Kingdon [Tue, 14 Sep 1993 01:08:22 +0000 (01:08 +0000)]
* remote.c: Define remote_debug to 0 and #if 0 baud_rate.  Temporary
hack so this file compiles again.

* remote-utils.c (gr_multi_scan): Cast return value from alloca.
(gr_multi_scan): #if 0 never-reached return(-1).

31 years agoadd comment
Jim Kingdon [Mon, 13 Sep 1993 23:06:17 +0000 (23:06 +0000)]
add comment

31 years agoadd som.c and som.h
Jim Kingdon [Mon, 13 Sep 1993 22:51:51 +0000 (22:51 +0000)]
add som.c and som.h

31 years agocollect some remote things into remote-utils
K. Richard Pixley [Mon, 13 Sep 1993 22:12:16 +0000 (22:12 +0000)]
collect some remote things into remote-utils

31 years ago * subsegs.c: Renamed non-BFD_ASSEMBLER subseg_new to subseg_set.
Ian Lance Taylor [Mon, 13 Sep 1993 21:32:07 +0000 (21:32 +0000)]
* subsegs.c: Renamed non-BFD_ASSEMBLER subseg_new to subseg_set.
Wrote non-BFD_ASSEMBLER subseg_new.  Now subseg_new always takes a
section name, and subseg_set always takes a segT.  Changed all
callers as appropriate.
* config/obj-coffbfd.c  (change_to_section): Renamed to
obj_coff_add_segment.  Corrected.  Made callers use subseg_new.
* config/obj-coffbfd.h (obj_segment_name, obj_add_segment):
Define.

Also some more gcc warning removal.

31 years ago * inferior.h, infrun.c, thread.c, infcmd.c: Remove all uses of
Jim Kingdon [Mon, 13 Sep 1993 20:54:00 +0000 (20:54 +0000)]
* inferior.h, infrun.c, thread.c, infcmd.c: Remove all uses of
pc_changed.  If it was ever set to a non-zero value, it was before
GDB 2.8.  It doesn't seem to have any useful function.

31 years agoconfig/tc-sparc.h (LOCAL_LABEL): Remove test for name[0] == 'L'.
David Edelsohn [Mon, 13 Sep 1993 20:16:03 +0000 (20:16 +0000)]
config/tc-sparc.h (LOCAL_LABEL): Remove test for name[0] == 'L'.

31 years ago* defs.h: Don't define NORETURN (see comment).
Jim Kingdon [Mon, 13 Sep 1993 20:13:03 +0000 (20:13 +0000)]
* defs.h: Don't define NORETURN (see comment).

31 years agowhite space change to avoid nested comment
K. Richard Pixley [Mon, 13 Sep 1993 19:52:23 +0000 (19:52 +0000)]
white space change to avoid nested comment

31 years agodo not echo recursion lines
K. Richard Pixley [Mon, 13 Sep 1993 19:49:33 +0000 (19:49 +0000)]
do not echo recursion lines

31 years ago * m68k.h (two): Protect second argument with parentheses.
Ian Lance Taylor [Mon, 13 Sep 1993 19:47:41 +0000 (19:47 +0000)]
* m68k.h (two): Protect second argument with parentheses.

31 years agouse pagas instead of gas
David D. Zuhn [Mon, 13 Sep 1993 19:33:54 +0000 (19:33 +0000)]
use pagas instead of gas

31 years agouse mt-hppa, use 'gas ' instead of 'gas'
David D. Zuhn [Mon, 13 Sep 1993 19:29:54 +0000 (19:29 +0000)]
use mt-hppa, use 'gas ' instead of 'gas'

31 years agoAdd EMUL=h8300h.
David Edelsohn [Sun, 12 Sep 1993 23:12:31 +0000 (23:12 +0000)]
Add EMUL=h8300h.

31 years ago* ldmain.c (main): Call set_scripts_dir after argv has been processed.
David Edelsohn [Sun, 12 Sep 1993 23:07:40 +0000 (23:07 +0000)]
* ldmain.c (main): Call set_scripts_dir after argv has been processed.

31 years ago * hosts/i386sco.h: Define a bunch of stuff for core files.
Jim Kingdon [Sun, 12 Sep 1993 05:09:08 +0000 (05:09 +0000)]
* hosts/i386sco.h: Define a bunch of stuff for core files.
* sco-core.c: Remove, replace by trad-core.c.
* trad-core.c: If HOST_STACK_START_ADDR is defined, use it.
* config/i386sco.mh: Use trad-core not sco-core.
* hosts/i386isc.h, config/i386isc.mh: Remove.
* configure.host: Use i386sco for isc.
* config/i386-sco.mt: Remove, identical to i386-coff.mt.
* config.bfd: Use i386-coff not i386-sco.

31 years ago* gdb.texinfo: Clarify how well it works with Fortran.
Jim Kingdon [Sun, 12 Sep 1993 05:00:53 +0000 (05:00 +0000)]
* gdb.texinfo: Clarify how well it works with Fortran.

31 years ago * config.bfd: Recognize i[34]86-*-solaris2* specifically rather
Jim Kingdon [Sun, 12 Sep 1993 01:16:45 +0000 (01:16 +0000)]
* config.bfd: Recognize i[34]86-*-solaris2* specifically rather
than using *-*-solaris2* (i486-unknown-solaris2 is i386-elf, not
i486-elf which doesn't exist).

31 years ago* m88k-nat.c (fill_gregset): Set r31 and sfip.
Jim Kingdon [Sat, 11 Sep 1993 17:48:47 +0000 (17:48 +0000)]
* m88k-nat.c (fill_gregset): Set r31 and sfip.

31 years ago* stabs.texinfo (Methods): Fix typo.
Jim Kingdon [Sat, 11 Sep 1993 16:36:01 +0000 (16:36 +0000)]
* stabs.texinfo (Methods): Fix typo.

31 years agoMore gcc lint with harsher warning options.
Ian Lance Taylor [Sat, 11 Sep 1993 00:15:39 +0000 (00:15 +0000)]
More gcc lint with harsher warning options.

31 years agoSnapshot of current i386 NLM debugging stub.
Ian Lance Taylor [Fri, 10 Sep 1993 23:25:40 +0000 (23:25 +0000)]
Snapshot of current i386 NLM debugging stub.

31 years ago * coffswap.h (coff_swap_aouthdr_out): For ALPHAECOFF, force
Ian Lance Taylor [Fri, 10 Sep 1993 21:54:32 +0000 (21:54 +0000)]
* coffswap.h (coff_swap_aouthdr_out): For ALPHAECOFF, force
padding field to zero.

31 years ago * alpha.c (external_aouthdr): Need four bytes of padding between
Ian Lance Taylor [Fri, 10 Sep 1993 21:41:41 +0000 (21:41 +0000)]
* alpha.c (external_aouthdr): Need four bytes of padding between
vstamp and tsize.

31 years agoadd support for gash
David D. Zuhn [Fri, 10 Sep 1993 21:36:45 +0000 (21:36 +0000)]
add support for gash

31 years agoadd netbsd variants
David D. Zuhn [Fri, 10 Sep 1993 18:25:06 +0000 (18:25 +0000)]
add netbsd variants

31 years agoAdded gdb_exit to call default_gdb_exit.
Rob Savoye [Fri, 10 Sep 1993 17:35:11 +0000 (17:35 +0000)]
Added gdb_exit to call default_gdb_exit.

31 years ago * config.bfd (i[34]86-*-netbsd*): New target; use i386-netbsd.
Ian Lance Taylor [Fri, 10 Sep 1993 17:10:13 +0000 (17:10 +0000)]
* config.bfd (i[34]86-*-netbsd*): New target; use i386-netbsd.
* configure.in: Remove bogus netbsd386 handling.

31 years ago * coff-mips.c: Don't warn about overflow for MIPS_R_JMPADDR reloc.
Ian Lance Taylor [Fri, 10 Sep 1993 17:00:49 +0000 (17:00 +0000)]
* coff-mips.c: Don't warn about overflow for MIPS_R_JMPADDR reloc.
Correct overflow detection requires matching the upper four bits
of the destination against the PC.

31 years agoAdded CXXFLAGS to compile stage in ld.cdtest/cdtest.exp
Jeffrey Wheat [Fri, 10 Sep 1993 17:00:19 +0000 (17:00 +0000)]
Added CXXFLAGS to compile stage in ld.cdtest/cdtest.exp

31 years agoChanged CXX back to g++. Using ../gcc/xgcc breaks because of <assert.h>
Jeffrey Wheat [Fri, 10 Sep 1993 16:53:33 +0000 (16:53 +0000)]
Changed CXX back to g++. Using ../gcc/xgcc breaks because of <assert.h>

31 years agoChanged CXX back to g++. ../gcc/xgcc breaks the cdtest because of <assert.h>
Jeffrey Wheat [Fri, 10 Sep 1993 16:50:52 +0000 (16:50 +0000)]
Changed CXX back to g++. ../gcc/xgcc breaks the cdtest because of <assert.h>

31 years agoFixed RUNTEST* CXX CXXFLAGS macros and check rule.
Jeffrey Wheat [Fri, 10 Sep 1993 16:37:47 +0000 (16:37 +0000)]
Fixed RUNTEST* CXX CXXFLAGS macros and check rule.

31 years agogcc lint. See ChangeLog for details. Also:
Ian Lance Taylor [Fri, 10 Sep 1993 16:01:07 +0000 (16:01 +0000)]
gcc lint.  See ChangeLog for details.  Also:

* config/obj-elf.h (S_SET_SIZE): Actually set the size.

31 years ago* Makefile.in (install): Don't put strings in tooldir/bin.
David MacKenzie [Fri, 10 Sep 1993 15:13:05 +0000 (15:13 +0000)]
* Makefile.in (install): Don't put strings in tooldir/bin.

31 years ago* Makefile.in (TAGS): Use shell wildcards.
David MacKenzie [Fri, 10 Sep 1993 14:29:45 +0000 (14:29 +0000)]
* Makefile.in (TAGS): Use shell wildcards.

31 years agofix a few typos
David MacKenzie [Fri, 10 Sep 1993 13:36:07 +0000 (13:36 +0000)]
fix a few typos

31 years ago (chmodcmd): Set file to mode 755 by default (should also do default
Jason Merrill [Fri, 10 Sep 1993 00:04:38 +0000 (00:04 +0000)]
(chmodcmd): Set file to mode 755 by default (should also do default
chgrp and chown, but I don't feel like dealing with that now)

31 years ago * install.sh: Support -d option (in the manner of SunOS 4 install,
Jason Merrill [Thu, 9 Sep 1993 23:50:23 +0000 (23:50 +0000)]
* install.sh: Support -d option (in the manner of SunOS 4 install,
as it is more deterministic than that of GNU install)

31 years agogcc -Wall cleanups from Utah
Ken Raeburn [Thu, 9 Sep 1993 21:53:03 +0000 (21:53 +0000)]
gcc -Wall cleanups from Utah

31 years ago * i386.h (i386_optab): Properly bracket initializers.
Ian Lance Taylor [Thu, 9 Sep 1993 21:43:54 +0000 (21:43 +0000)]
* i386.h (i386_optab): Properly bracket initializers.

31 years ago* configure.in: Make 64-bit stuff work with "--with-targets=all".
Ken Raeburn [Thu, 9 Sep 1993 21:03:20 +0000 (21:03 +0000)]
* configure.in: Make 64-bit stuff work with "--with-targets=all".

31 years ago * read.c (get_stab_string_offset, s_stab_generic): If
Ian Lance Taylor [Thu, 9 Sep 1993 19:09:23 +0000 (19:09 +0000)]
* read.c (get_stab_string_offset, s_stab_generic): If
BFD_ASSEMBLER, call subseg_set rather than subseg_new.

31 years ago More gcc lint:
Jim Kingdon [Thu, 9 Sep 1993 18:33:44 +0000 (18:33 +0000)]
More gcc lint:
* exec.c (ignore): Return 0.
* stack.c (return_command): Fetch lazy value directly, not via
VALUE_CONTENTS, to avoid "value computed is not used".
* inflow.c (new_tty): Move osigttou inside #if.

* remote.c (remote_fetch_registers): If remote reply is short, just
note that fact and keep going (reading extra registers as all bits 0).
(remote_store_registers): Send number of registers that were found
by remote_fetch_registers.
* m68k-tdep.c, config/m68k/tm-m68k.h, config/m68k/tm-*.h: Remove
HAVE_68881.  Define CANNOT_STORE_REGISTER if ptrace() can't write
floating registers.
* config/m68k/{tm-m68k-nofp.h,m68k-nofp.mt,tm-m68k-fp.h,m68k-fp.mt}:
Remove, replaced by {tm-m68k-em.h,m68k-em.mt}.
* Makefile.in, configure.in: Change accordingly.

31 years ago * remote-udi.c (udi_wait, case UDIStdinNeeded): Use a loop calling
Jim Kingdon [Thu, 9 Sep 1993 17:58:46 +0000 (17:58 +0000)]
* remote-udi.c (udi_wait, case UDIStdinNeeded): Use a loop calling
getchar() (terminated only on '\n') instead of scanf.  Send the
'\n' which terminates it to the remote system.

31 years ago * config/m68k/{tm-m68k-nofp.h,m68k-nofp.mt}: Remove.
Jim Kingdon [Thu, 9 Sep 1993 16:09:37 +0000 (16:09 +0000)]
* config/m68k/{tm-m68k-nofp.h,m68k-nofp.mt}: Remove.
* config/m68k/{tm-m68k-fp.h,m68k-fp.mt}: Rename to
{tm-m68k-em.h,m68k-em.mt}.

31 years ago * mipsread.c (cross_ref): Allow SGI extended symbol types as cross
Peter Schauer [Thu, 9 Sep 1993 12:02:59 +0000 (12:02 +0000)]
* mipsread.c (cross_ref):  Allow SGI extended symbol types as cross
reference targets.
* symmisc.c (print_symbol):  Use TYP_TAG_NAME not TYPE_NAME to avoid
printing of identities.

31 years agoMade cross testing work better.
Rob Savoye [Thu, 9 Sep 1993 05:12:46 +0000 (05:12 +0000)]
Made cross testing work better.

31 years ago* gdb.texinfo: Clarify how well it works with Fortran.
Jim Kingdon [Thu, 9 Sep 1993 01:53:36 +0000 (01:53 +0000)]
* gdb.texinfo: Clarify how well it works with Fortran.

31 years ago* breakpoint.c (breakpoint_1): Deal with step resume breakpoint.
Jim Kingdon [Thu, 9 Sep 1993 00:33:22 +0000 (00:33 +0000)]
* breakpoint.c (breakpoint_1): Deal with step resume breakpoint.

31 years ago * stabs.texinfo (Stabs In ELF, Statics, ELF Transformations):
Jim Kingdon [Wed, 8 Sep 1993 23:05:46 +0000 (23:05 +0000)]
* stabs.texinfo (Stabs In ELF, Statics, ELF Transformations):
More on relocating stabs in ELF files.

31 years agogcc lint
K. Richard Pixley [Wed, 8 Sep 1993 21:45:46 +0000 (21:45 +0000)]
gcc lint

31 years agogcc lint
K. Richard Pixley [Wed, 8 Sep 1993 21:45:17 +0000 (21:45 +0000)]
gcc lint

31 years agogcc lint
K. Richard Pixley [Wed, 8 Sep 1993 21:30:33 +0000 (21:30 +0000)]
gcc lint

31 years agogcc lint
K. Richard Pixley [Wed, 8 Sep 1993 21:23:41 +0000 (21:23 +0000)]
gcc lint

31 years agogcc lint
K. Richard Pixley [Wed, 8 Sep 1993 21:16:23 +0000 (21:16 +0000)]
gcc lint

31 years agogcc lint
K. Richard Pixley [Wed, 8 Sep 1993 21:04:59 +0000 (21:04 +0000)]
gcc lint

31 years agogcc lint
K. Richard Pixley [Wed, 8 Sep 1993 20:57:08 +0000 (20:57 +0000)]
gcc lint

31 years agosome gcc lint
K. Richard Pixley [Wed, 8 Sep 1993 20:15:34 +0000 (20:15 +0000)]
some gcc lint

31 years ago * config/obj-elf.c (obj_elf_section): Set SEC_LOAD when using
Ian Lance Taylor [Wed, 8 Sep 1993 19:11:47 +0000 (19:11 +0000)]
* config/obj-elf.c (obj_elf_section): Set SEC_LOAD when using
default flag values.

31 years agoBack out this change; it doesn't work.
Jim Kingdon [Wed, 8 Sep 1993 19:03:21 +0000 (19:03 +0000)]
Back out this change; it doesn't work.

Tue Sep  7 13:06:44 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)

* dbxread.c (process_one_symbol): If the value of an N_FUN for a
function is zero, use minimal symbols to get the address.

31 years ago * stabs.texinfo (Stabs In ELF, Statics): More on relocating stabs
Jim Kingdon [Wed, 8 Sep 1993 18:30:25 +0000 (18:30 +0000)]
* stabs.texinfo (Stabs In ELF, Statics): More on relocating stabs
in ELF files.

31 years agoRevert previous change. It doesn't work because it neglects to
Jim Kingdon [Wed, 8 Sep 1993 17:26:31 +0000 (17:26 +0000)]
Revert previous change.  It doesn't work because it neglects to
consider there may be a file compiled without -g screwing things up
(e.g. we are looking for the minimal symbol for "main" and we get the
one for "start" instead).

This is the change I mean:
* minsyms.c, symtab.h (lookup_next_minimal_symbol): New function.
* dbxread.c (process_one_symbol): Use it.

31 years ago * minsyms.c, symtab.h (lookup_next_minimal_symbol): New function.
Jim Kingdon [Wed, 8 Sep 1993 15:51:39 +0000 (15:51 +0000)]
* minsyms.c, symtab.h (lookup_next_minimal_symbol): New function.
* dbxread.c (process_one_symbol): Use it.