binutils-gdb.git
29 years ago * configure.in (i[345]86-*-gnu*): Set ld_target to i386-gnu.
Ian Lance Taylor [Mon, 23 Jan 1995 19:00:46 +0000 (19:00 +0000)]
* configure.in (i[345]86-*-gnu*): Set ld_target to i386-gnu.
* config/i386-gnu.mt: New file.  Include ELF support.

29 years ago * config.bfd (i[345]86-*-gnu*): Set bfd_name to i386-gnu.
Ian Lance Taylor [Mon, 23 Jan 1995 18:55:58 +0000 (18:55 +0000)]
* config.bfd (i[345]86-*-gnu*): Set bfd_name to i386-gnu.
* config/i386-gnu.mt: New file.  Include ELF support.

29 years ago * Makefile.in (CHILL_FOR_TARGET): Update -L argument to point to
Jim Kingdon [Mon, 23 Jan 1995 18:54:29 +0000 (18:54 +0000)]
* Makefile.in (CHILL_FOR_TARGET): Update -L argument to point to
gcc/ch/runtime not chillrt, since that is where the chill runtime
lives now.

29 years ago * opncls.c (bfd_openstreamr): Call bfd_cache_init.
Ian Lance Taylor [Mon, 23 Jan 1995 18:35:07 +0000 (18:35 +0000)]
* opncls.c (bfd_openstreamr): Call bfd_cache_init.

29 years ago * remote-hms.c (hms_load): Delete.
Steve Chamberlain [Mon, 23 Jan 1995 08:11:30 +0000 (08:11 +0000)]
* remote-hms.c (hms_load): Delete.
(target_ops): Use hr_load_image.

29 years agoMon Jan 23 00:06:57 1995 Steve Chamberlain <sac@splat>
Steve Chamberlain [Mon, 23 Jan 1995 08:09:02 +0000 (08:09 +0000)]
Mon Jan 23 00:06:57 1995  Steve Chamberlain  <sac@splat>

* remote-e7000.c, remote-z8k.c, remote-nindy.c (target_ops):
        Define memory_insert/remove_breakpoint.
* xm-go32.h: Remove redundant SIGs.

Thu Jan 19 20:26:58 1995  Steve Chamberlain  <sac@splat>

* ser-go32.c: Rewritten by nigel@algor.co.uk.

29 years agoDon't pass -S to the linker.
Steve Chamberlain [Mon, 23 Jan 1995 07:54:24 +0000 (07:54 +0000)]
Don't pass -S to the linker.

29 years agoChanges for PR 6203.
Torbjorn Granlund [Sun, 22 Jan 1995 22:12:59 +0000 (22:12 +0000)]
Changes for PR 6203.

29 years ago The following fixes a FAIL caused by the fact that the alpha stabs
Jim Kingdon [Sun, 22 Jan 1995 06:25:50 +0000 (06:25 +0000)]
The following fixes a FAIL caused by the fact that the alpha stabs
configuration didn't use the ".if alpha" code in weird.def.
* gdb.stabs/weird.def (v_comb): Use type attribute to specify 32
bit pointer, so the 32 bit version works even on the alpha.
* gdb.stabs/{alpha.mt,ecoff.mt,aout.sed,hppa.sed,xcoff.sed,weird.def}:
Remove the stuff which allowed us to have separate versions for
alpha and everything else.

29 years ago * hash.c (hash_ask): If we find the slot after wrapping around,
Ian Lance Taylor [Sun, 22 Jan 1995 00:04:01 +0000 (00:04 +0000)]
* hash.c (hash_ask): If we find the slot after wrapping around,
break out of the loop.  Fixes bug in Jan 18 change.

29 years ago * gdb.c++/cplusfuncs.exp (test_lookup_operator_functions): Fix
Jim Kingdon [Sat, 21 Jan 1995 23:52:00 +0000 (23:52 +0000)]
* gdb.c++/cplusfuncs.exp (test_lookup_operator_functions): Fix
regexp which "info func operator\[\](" is supposed to match.  Fix
string to send to GDB.  Note that GDB still doesn't work right.  Add a
new test for "info func .perator\[\](" which GDB does handle correctly.

29 years ago* gdb.base/nodebug.exp: xfail most of the new tests for ecoff systems.
Jim Kingdon [Sat, 21 Jan 1995 23:38:43 +0000 (23:38 +0000)]
* gdb.base/nodebug.exp: xfail most of the new tests for ecoff systems.

29 years agoadd new tests sigall.c and sigall.exp
Jim Kingdon [Sat, 21 Jan 1995 23:30:43 +0000 (23:30 +0000)]
add new tests sigall.c and sigall.exp

29 years agotipo
Ian Lance Taylor [Sat, 21 Jan 1995 23:19:17 +0000 (23:19 +0000)]
tipo

29 years ago * add new file remote-vx29k.c.
Kung Hsu [Sat, 21 Jan 1995 00:57:39 +0000 (00:57 +0000)]
* add new file remote-vx29k.c.

29 years ago * add new files vx29k.mt, tm-vx29k.h.
Kung Hsu [Sat, 21 Jan 1995 00:56:22 +0000 (00:56 +0000)]
* add new files vx29k.mt, tm-vx29k.h.

29 years ago * expression.h (OP_LABELED): New operator, for Chill
Per Bothner [Fri, 20 Jan 1995 23:45:21 +0000 (23:45 +0000)]
* expression.h (OP_LABELED):  New operator, for Chill
labeled structre tuples.
* ch-exp.y (tuple_element, named_record_element, tuple_elements):
New non-terminals, to handle labeled structure tuples.
(tuple):  Re-define using tuple_elements.
* eval.c (evaluate_labeled_field_init):  New function, to handle
initialization of structure fields, possibly using OP_LABELED.
(evaluate_subexp):  Use it.
* expprint.c (print_subexp case):  For OP_ARRAY, use Chill syntax
for Chill.  Handled OP_LABELED.
* parse.c (length_of_subexp, prefixify_subexp):  Handle OP_LABELED.

* eval.c (evaluate_subexp):  Handle Chill Powerset tuples.
* valarith.c (value_bit_index):  Just treat bitstring as represented
by an array of bytes.  Alignment is handled by compiler.

29 years ago * gdb.c++/classes.exp, gdb.c++/cplusfuncs.exp,
Jim Kingdon [Fri, 20 Jan 1995 22:26:33 +0000 (22:26 +0000)]
* gdb.c++/classes.exp, gdb.c++/cplusfuncs.exp,
gdb.c++/inherit.exp, gdb.c++/templates.exp, gdb.c++/virtfunc.exp,
gdb.fortran/exprs.exp, gdb.fortran/types.exp, gdb.chill/chexp.exp,
gdb.base/printcmds.exp: Remove passcount, failcount, etc., stuff;
it makes the tests harder to understand and confuses test-o-matic.
The preferred style is that each test provides a PASS or a FAIL,
and has a unique message (e.g. "continue #54" not just "continue")
which is the same for the pass and the fail.
* gdb.fortran/exprs.exp, gdb.fortran/types.exp,
gdb.chill/chexp.exp: Move test_print_accept and test_print_reject
to lib/gdb.exp.
* gdb.base/printcmds.exp: Use test_print_accept.  Remove
prt_accept which was basically the same thing.  Likewise for
test_print_reject and prt_reject.
* lib/gdb.exp (test_print_reject): Add some more error message
patterns to match from the former printcmds.exp (prt_reject).
* gdb.c++/classes.exp, gdb.base/scope.exp: Remove spurious xfails.
One defect of the passcount stuff is that some of it failed to
report XPASS where appropriate.
* gdb.c++/cplusfuncs.exp (print_addr_of): No longer accept extra
stuff before and after arg in expected pattern.
(test_paddr_operator_functions): Re-do test without print_addr_of;
this is the only test which seems to want extra stuff there.

29 years agoback out new hash routine
Ken Raeburn [Fri, 20 Jan 1995 22:14:27 +0000 (22:14 +0000)]
back out new hash routine

29 years ago * sunos.c (sunos_add_one_symbol): Only set the sunos specific
Ian Lance Taylor [Fri, 20 Jan 1995 16:57:34 +0000 (16:57 +0000)]
* sunos.c (sunos_add_one_symbol): Only set the sunos specific
fields if we are doing a sunos link.

29 years agogcc lint
Ken Raeburn [Thu, 19 Jan 1995 21:04:08 +0000 (21:04 +0000)]
gcc lint

29 years agoRevert 2 June 1994 changes (Alpha 21164 support), for lack of assignment
Ken Raeburn [Thu, 19 Jan 1995 20:49:08 +0000 (20:49 +0000)]
Revert 2 June 1994 changes (Alpha 21164 support), for lack of assignment
paperwork.

29 years agoCleanup of VAX and VMS code, from Pat Rankin:
Ken Raeburn [Thu, 19 Jan 1995 20:01:07 +0000 (20:01 +0000)]
Cleanup of VAX and VMS code, from Pat Rankin:
* config/obj-vms.c: Changed exported function names to lower case.  (Changed
call sites in write.c.)  Declare VMS system function names used, conditional on
actually being on VMS.  Changed many functions that returned no useful value to
now be declared to return void.  Removed many unused variables.  Supply missing
return statements or values.  Supply `default' case in switch statements.
Ensure local variables get initialized.
* config/tc-vax.c: Minor changes to silence "gcc -Wall".
* config/obj-vms.h, config/tc-vax.h: Added some missing declarations.

29 years agoFix for PR 6200 (SUBC problems).
Torbjorn Granlund [Thu, 19 Jan 1995 13:59:13 +0000 (13:59 +0000)]
Fix for PR 6200 (SUBC problems).

29 years ago * h8300-tdep.c (gdb_print_insn_h8300): Fix typo (&info -> info).
Stan Shebs [Thu, 19 Jan 1995 03:16:42 +0000 (03:16 +0000)]
* h8300-tdep.c (gdb_print_insn_h8300): Fix typo (&info -> info).
* sh-tdep.c (gdb_print_insn_sh): Ditto.

29 years ago * write.c (fix_new_internal): Clear fx_bsr on those targets which
Ian Lance Taylor [Thu, 19 Jan 1995 00:17:57 +0000 (00:17 +0000)]
* write.c (fix_new_internal): Clear fx_bsr on those targets which
use it.

29 years agosome improvements to fp code
Ken Raeburn [Thu, 19 Jan 1995 00:13:30 +0000 (00:13 +0000)]
some improvements to fp code

29 years ago * remote-os9k.c (rombug_open): Fix a bug in exception handling
Kung Hsu [Wed, 18 Jan 1995 19:31:25 +0000 (19:31 +0000)]
    * remote-os9k.c (rombug_open): Fix a bug in exception handling
        command.
        * remote-os9k.c (rombug_write_inferior_memory): reset buffer after
        write.

29 years agoAdd GDBPROTO macro for checking the type of protocol.
Rob Savoye [Wed, 18 Jan 1995 19:11:30 +0000 (19:11 +0000)]
Add GDBPROTO macro for checking the type of protocol.

29 years agosparc, coff, hash changes
Ken Raeburn [Wed, 18 Jan 1995 18:53:49 +0000 (18:53 +0000)]
sparc, coff, hash changes

29 years ago(hash_ask): Call strcmp instead of expanding it inline.
Ken Raeburn [Wed, 18 Jan 1995 18:52:08 +0000 (18:52 +0000)]
(hash_ask): Call strcmp instead of expanding it inline.
(hash_code): Replaced with a version from bfd.

29 years agogcc -Wall lint.
Ian Lance Taylor [Wed, 18 Jan 1995 17:27:52 +0000 (17:27 +0000)]
gcc -Wall lint.
* coffdump.c (dump_coff_scope): Cast pointer to unsigned long for
printf.
* coffgrok.c: Include bucomm.h.  Don't declare xmalloc.
(push_scope): Declare type of parameter link.
* size.c: Include libiberty.h.
* srconv.c: Include bucomm.h.
(find_base): Declare at top of file.
(wr_hd): Add default case to architecture switch.
(wr_dps_start): Declare type of parameter nest.
(wr_du): Comment out variables used only in commented out blocks.
(wr_dus): Remove unused variable i.
(wr_sc): Remove unused variables myinfo, low, and high.
* strings.c: Include libiberty.h.
* sysdump.c: Include <ctype.h>.

29 years agogcc -Wall lint.
Ian Lance Taylor [Wed, 18 Jan 1995 17:24:48 +0000 (17:24 +0000)]
gcc -Wall lint.
* expr.c (operand): Parenthesize && within ||.
* listing.c (listing_newline): Likewise.
(list_symbol_table): Use %lu to print sizeof.
* symbols.c: Comment out unused function indent.
(print_symbol_value_1): Cast pointer to unsigned long for printf.
* config/obj-coff.c (do_relocs_for): Only declare symbol_ptr if it
will be used.
* config/tc-h8300.c (md_begin): Remove unused variable reg.
(get_operand): Declare type of parameter direction.  Remove unused
variable size.
(get_specific): Fix comment to avoid nested comments.
(check_operand): Cast X_add_number to unsigned long for printf.
(build_bytes): Remove unused local variables output_ptr, part, and
high.
(build_bytes): Cast X_add_number to unsigned long for printf.
(clever_message): Remove unused variable scan.
(md_assemble): Remove unused variable i.
(tc_coff_sizemachdep): Remove unused function.
* tc-h8300.h (tc_reloc_mangle): Declare.

29 years agoReflect changes to pinsn and tdep files
Stan Shebs [Tue, 17 Jan 1995 22:39:42 +0000 (22:39 +0000)]
Reflect changes to pinsn and tdep files

29 years ago * parse.c (_initialize_parse): Improve wording of names of
Jim Kingdon [Tue, 17 Jan 1995 21:47:38 +0000 (21:47 +0000)]
* parse.c (_initialize_parse): Improve wording of names of
msym_*_symbol_type.

29 years ago * bfd-in.h (bfd_byte, reloc_howto_type): Define here, not...
Ian Lance Taylor [Tue, 17 Jan 1995 21:16:53 +0000 (21:16 +0000)]
* bfd-in.h (bfd_byte, reloc_howto_type): Define here, not...
* reloc.c (bfd_byte, reloc_howto_type): here.
* Changed all occurrences of ``const struct reloc_howto_struct''
to be ``reloc_howto_type'' instead.
* bfd-in2.h, libbfd.h, libcoff.h: Rebuilt.
Avoids problems with the native Irix 5 compiler.

29 years ago * opncls.c (bfd_openstreamr): New function.
Ian Lance Taylor [Tue, 17 Jan 1995 19:26:56 +0000 (19:26 +0000)]
* opncls.c (bfd_openstreamr): New function.
* bfd-in2.h: Rebuilt.

29 years agoupdate copyright
Ian Lance Taylor [Tue, 17 Jan 1995 19:11:06 +0000 (19:11 +0000)]
update copyright

29 years ago * remote.texi: Update documentation of set/show mipsfpu.
Ian Lance Taylor [Tue, 17 Jan 1995 19:09:53 +0000 (19:09 +0000)]
* remote.texi: Update documentation of set/show mipsfpu.

29 years ago * config/mips/tm-mips.h (enum mips_fpu_type): New enum.
Ian Lance Taylor [Tue, 17 Jan 1995 19:08:31 +0000 (19:08 +0000)]
* config/mips/tm-mips.h (enum mips_fpu_type): New enum.
(mips_fpu): Change type to enum mips_fpu_type.
(FIX_CALL_DUMMY): Handle mips_fpu == MIPS_FPU_SINGLE.
* mips-tdep.c (mips_fpu): Change type to enum mips_fpu_type.
Don't initialize.
(mips_fpu_string): New static variable.
(mips_push_dummy_frame): Handle mips_fpu == MIPS_FPU_SINGLE.
(mips_pop_frame): Likewise.
(mips_extract_return_value): Likewise.
(mips_store_return_value): Likewise.
(mips_set_fpu_command): New static function.
(mips_show_fpu_command): New static function.
(_initialize_mips_tdep): Change handling of set/show mipsfpu.

29 years ago* a29k-tdep.c (gdb_print_insn_a29k): Fix typo (&info -> info).
Jim Kingdon [Tue, 17 Jan 1995 16:43:20 +0000 (16:43 +0000)]
* a29k-tdep.c (gdb_print_insn_a29k): Fix typo (&info -> info).

29 years ago * gdb.base/nodebug.exp: Add tests to check that "print", "whatis"
Jim Kingdon [Tue, 17 Jan 1995 16:22:23 +0000 (16:22 +0000)]
* gdb.base/nodebug.exp: Add tests to check that "print", "whatis"
and "ptype" work on variables in files compiled without -g.
Replaces commented out "maint print msymbol" tests.

29 years ago * parse.c (write_exp_msymbol): Use new variables
Jim Kingdon [Tue, 17 Jan 1995 16:16:20 +0000 (16:16 +0000)]
* parse.c (write_exp_msymbol): Use new variables
msym_*_symbol_type as type of msymbol expression.
(_initialize_parse): Initialize them.

29 years ago * config/tc-mips.c (mips_4650): New static variable.
Ian Lance Taylor [Tue, 17 Jan 1995 16:13:44 +0000 (16:13 +0000)]
* config/tc-mips.c (mips_4650): New static variable.
(md_begin): Handle a cpu string of "4650".  If mips_4650 was not
initialized, set it to 0.
(append_insn): Don't insert nops around HI and LO on a 4650.
(mips_emit_delays): Likewise.
(mips_ip): Use INSN_ISA mask to check ISA of instruction.  Check
for INSN_4650.
(md_longopts): Add m4650 and no-m4650.
(md_parse_option): Handle mips-cpu=4650.  Handle -m4650 and
-no-m4650.
* doc/as.texinfo: Document new MIPS options.

29 years ago * mips.h (INSN_ISA, INSN_4650): Define.
Ian Lance Taylor [Tue, 17 Jan 1995 15:56:00 +0000 (15:56 +0000)]
* mips.h (INSN_ISA, INSN_4650): Define.

29 years ago * elf32-mips.c (enum reloc_type): Define new relocs used on Irix.
Ian Lance Taylor [Tue, 17 Jan 1995 15:55:55 +0000 (15:55 +0000)]
* elf32-mips.c (enum reloc_type): Define new relocs used on Irix.
(elf_mips_howto_table): Add entries for new relocs.
(mips_elf_section_from_shdr): Handle SHT_MIPS_MSYM,
SHT_MIPS_DWARF, and SHT_MIPS_EVENTS.
(mips_elf_fake_sections): Handle sections named .msym, .debug_*
and .MIPS.events.*.

29 years ago * config/*/*.mt (TDEPFILES): Remove refs to *-pinsn.o.
Stan Shebs [Tue, 17 Jan 1995 04:53:00 +0000 (04:53 +0000)]
* config/*/*.mt (TDEPFILES): Remove refs to *-pinsn.o.

29 years agoRevert previous, ill-considered change to defs.h
Stan Shebs [Tue, 17 Jan 1995 04:44:43 +0000 (04:44 +0000)]
Revert previous, ill-considered change to defs.h

29 years ago General cleanup and simplication of disassembler interface.
Stan Shebs [Tue, 17 Jan 1995 04:36:51 +0000 (04:36 +0000)]
General cleanup and simplication of disassembler interface.
* a29k-pinsn.c, arm-pinsn.c, convex-pinsn.c, gould-pinsn.c,
        hppa-pinsn.c, i386-pinsn.c, i960-pinsn.c, m68k-pinsn.c,
        m88k-pinsn.c, mips-pinsn.c, ns32k-pinsn.c, pyr-pinsn.c,
        rs6000-pinsn.c, sparc-pinsn.c, tahoe-pinsn.c, vax-pinsn.c: Remove.
* gould-tdep.c, ns32k-tdep.c, tahoe-tdep.c, vax-tdep.c: New files,
had been -pinsn.c files.
* Makefile.in (ALLDEPFILES): Remove removed files.
(a29k-pinsn.o, arm-pinsn.o, convex-pinsn.o, gould-pinsn.o,
        hppa-pinsn.o, i386-pinsn.o, i960-pinsn.o, m68k-pinsn.o,
        m88k-pinsn.o, mips-pinsn.o, ns32k-pinsn.o, pyr-pinsn.o,
        rs6000-pinsn.o, sparc-pinsn.o, tahoe-pinsn.o, vax-pinsn.o):
        Remove compile actions.
* arm-tdep.o, gould-tdep.o, ns32k-tdep.o, tahoe-tdep.o,
vax-tdep.o: Add compile actions.
* defs.h (tm_print_insn): New global.
* a29k-tdep.c (gdb_print_insn_a29k): New function.
(_initialize_a29k_tdep): Rename from _initialize_29k,
set tm_print_insn.
* alpha-tdep.c (print_insn): Remove.
(_initialize_alpha_tdep): Set tm_print_insn.
* arm-tdep.c (arm_print_insn): New function, was print_insn
in arm-pinsn.c.
* convex-tdep.c (convex_print_insn): New function, was print_insn
in convex-pinsn.c.
* h8300-tdep.c (print_insn): Remove.
(gdb_print_insn_h8300): New function.
(_initialize_h8300_tdep): New function.
* h8500-tdep.c (print_insn): Remove.
(_initialize_h8500_tdep): New function.
* hppa-tdep.c (_initialize_hppa_tdep): Set tm_print_insn.
* i386-tdep.c (_initialize_i386_tdep): New function.
* i960-tdep.c (mem, next_insn): New functions, were in
i960-pinsn.c.
(_initialize_i960_tdep): Set tm_print_insn.
* m68k-tdep.c (_initialize_m68k_tdep): New function.
* m88k-tdep.c (_initialize_m88k_tdep): New function.
* mips-tdep.c (gdb_print_insn_mips): New function.
(_initialize_mips_tdep): Set tm_print_insn.
* pyr-tdep.c (pyr_print_insn): New function, was print_insn
in pyr-pinsn.c.
* rs6000-tdep.c (_initialize_rs6000_tdep): New function.
* sh-tdep.c (print_insn): Remove.
(gdb_print_insn_sh): New function.
(_initialize_sh_tdep): Set tm_print_insn.
* sparc-tdep.c (_initialize_sparc_tdep): New function.
* w65-tdep.c (print_insn): Remove.
(_initialize_w65_tdep): New function.
* z8k-tdep.c (print_insn): Remove.
(gdb_print_insn_z8k): New function.
(_initialize_z8k_tdep): Set tm_print_insn.
* printcmd.c (print_insn): New function, generic disassembler.
* config/*/*.mt (TDEPFILES): Remove refs to *-pinsn.o.

* defs.h (query_hook, error_hook): Fix prototypes.

29 years ago * Makefile.in: add new files remote-vx29k.c, config/a29k/tm-vx29k.h,
Kung Hsu [Mon, 16 Jan 1995 23:56:41 +0000 (23:56 +0000)]
    * Makefile.in: add new files remote-vx29k.c, config/a29k/tm-vx29k.h,
        and config/a29k/vx29k.mt.
        * configure.in: add new configuration a29k-*-vxworks.
        * remote-vx29k.c: new file merged from WRS.
        * remote-vx.c: merge changes from WRS.

29 years ago * config/a29k/vx29k.mt: new file for new configuration.
Kung Hsu [Mon, 16 Jan 1995 23:53:02 +0000 (23:53 +0000)]
    * config/a29k/vx29k.mt: new file for new configuration.
        * config/a29k/tm-vx29k.h: new header file for newconfiguration.

29 years ago* gdb.base/setvar.c (dummy): Call malloc.
Jim Kingdon [Mon, 16 Jan 1995 20:14:38 +0000 (20:14 +0000)]
* gdb.base/setvar.c (dummy): Call malloc.

29 years ago * gdb.stabs/aout.sed: Enclose comments within a sed command to avoid
Jim Kingdon [Mon, 16 Jan 1995 17:24:13 +0000 (17:24 +0000)]
* gdb.stabs/aout.sed: Enclose comments within a sed command to avoid
losing with the irix4 sed.

29 years ago * gdb.base/sigall.exp (test_one_sig): Add xfail for "get signal
Jim Kingdon [Mon, 16 Jan 1995 17:19:03 +0000 (17:19 +0000)]
* gdb.base/sigall.exp (test_one_sig): Add xfail for "get signal
ALRM" on irix4.

29 years ago * archures.c, Makefile.in, targets.c, bfd-in2.h, coffcode.h,
Steve Chamberlain [Mon, 16 Jan 1995 05:44:00 +0000 (05:44 +0000)]
* archures.c, Makefile.in, targets.c, bfd-in2.h, coffcode.h,
config.bfd, configure.in, config/w65.mt: Initial support for the W65.

29 years ago * archures.c, Makefile.in, targets.c, bfd-in2.h, coffcode.h,
Steve Chamberlain [Mon, 16 Jan 1995 05:39:06 +0000 (05:39 +0000)]
  * archures.c, Makefile.in, targets.c, bfd-in2.h, coffcode.h,
  config.bfd, configure.in, config/w65.mt: Initial support for the W65.

29 years ago * TODO: Remove items about corefile.exp testing new exec-file and
Jim Kingdon [Mon, 16 Jan 1995 03:21:04 +0000 (03:21 +0000)]
* TODO: Remove items about corefile.exp testing new exec-file and
backtrace; both are now done.  Add items about printing enums.

29 years ago * dis-asm.h (prin_insn_w65): Declare.
Steve Chamberlain [Mon, 16 Jan 1995 02:40:18 +0000 (02:40 +0000)]
* dis-asm.h (prin_insn_w65): Declare.

29 years ago * w65.h: New file.
Steve Chamberlain [Mon, 16 Jan 1995 02:39:14 +0000 (02:39 +0000)]
* w65.h: New file.

29 years ago * Makefile.in: Support W65.
Steve Chamberlain [Mon, 16 Jan 1995 01:47:43 +0000 (01:47 +0000)]
* Makefile.in: Support W65.
* configure.in: Ditto.

29 years agonew files.
Steve Chamberlain [Mon, 16 Jan 1995 01:47:04 +0000 (01:47 +0000)]
new files.

29 years ago * w65-tdep.c, config/tm-w65.h, config/w65.mt: New files.
Steve Chamberlain [Mon, 16 Jan 1995 01:45:49 +0000 (01:45 +0000)]
* w65-tdep.c, config/tm-w65.h, config/w65.mt: New files.
* configure.in: Suppprt for w65,

29 years ago * w65-tdep.c, config/tm-w65.h, config/w65.mt: New files.
Steve Chamberlain [Mon, 16 Jan 1995 01:29:48 +0000 (01:29 +0000)]
* w65-tdep.c, config/tm-w65.h, config/w65.mt: New files.
* configure.in: Suppprt for w65,

29 years agonew file.
Steve Chamberlain [Mon, 16 Jan 1995 01:28:40 +0000 (01:28 +0000)]
new file.

29 years ago * Makefile.in: Support W65.
Steve Chamberlain [Mon, 16 Jan 1995 00:55:22 +0000 (00:55 +0000)]
* Makefile.in: Support W65.
* configure.in: Ditto.

29 years agoNew files.
Steve Chamberlain [Mon, 16 Jan 1995 00:53:05 +0000 (00:53 +0000)]
New files.

29 years ago * configure.in (w65-*-*): New target.
Steve Chamberlain [Mon, 16 Jan 1995 00:51:02 +0000 (00:51 +0000)]
* configure.in (w65-*-*): New target.
* Makefile.in: Update.
* scripttempl/w65.sc: New.
* config/coff-w65.mt: New.

29 years agoadd w65 stuff.
Steve Chamberlain [Mon, 16 Jan 1995 00:42:14 +0000 (00:42 +0000)]
add w65 stuff.

29 years ago * config/tc-w65.c, config/tc-w65.h, config/w65.mt: Newfiles.
Steve Chamberlain [Mon, 16 Jan 1995 00:40:48 +0000 (00:40 +0000)]
* config/tc-w65.c, config/tc-w65.h, config/w65.mt: Newfiles.
* config/obj-coff.h: Cope with w65.
* configure, configure.in: Recognize w65.

29 years ago * configure.in: Add W65 support.
Steve Chamberlain [Mon, 16 Jan 1995 00:35:55 +0000 (00:35 +0000)]
* configure.in: Add W65 support.
* disassemble.c: Likewise.
* w65-opc.h, w65-dis.c: New files.

29 years agoSun Jan 15 14:36:19 1995 Steve Chamberlain <sac@splat>
Steve Chamberlain [Sun, 15 Jan 1995 23:17:43 +0000 (23:17 +0000)]
Sun Jan 15 14:36:19 1995  Steve Chamberlain  <sac@splat>

* breakpoint.h (disable_breakpoint, enable_breakpoint):
New declarations.
(enum bpdisp): Change name of 'delete' member to 'del'.
(struct bpstat): Changed name to 'bpstats'.
* breakpoint.c (disable_breakpoint, enable_breakpoint,
breakpoint_chain): Made globally visible.
(bpstat_stop_status): Use new name for bpstat.
(break_command_1, watch_command_1, catch_command_1,
breakpoint_auto_delete, denable_delete_breakpoint): Use 'del'
instead of 'delete'.
(set_breakpoint_sal): New function.
* defs.h (registers_changed_hook): New declaration.
* infcmd.c (run_stack_dummy): 'delete' is now 'del'.
* inflow.c (new_tty): Treat WIN32 in same way as __GO32__
* main.c (main): Don't scan options when in WIN32 and exit
without entering main loop.
* m2-exp.y (m2_elx): Member 'class' is now 'aclass'.
* symtab.h (struct symbol, struct partial_symbol): Changed name of
member 'class' to 'aclass'.
(SYMBOL_CLASS, PSYMBOL_CLASS): Reflect change.
* top.c (registers_changed_hook): New definition.
* utils.c (quit, notice_quit, initialize_utils): Treate WIN32
in same way as __GO32__.
* value.h (c_typedef_print): Rename 'new' argument.

29 years ago * rldefs.h: Define MINIMAL for __GO32__ and WIN32.
Steve Chamberlain [Sun, 15 Jan 1995 22:33:04 +0000 (22:33 +0000)]
* rldefs.h: Define MINIMAL for __GO32__ and WIN32.
* complete.c, display.c, readline.c, rltty.c: Test MINIMAL
instead of __GO32__.

29 years agoSun Jan 15 13:57:45 1995 Steve Chamberlain <sac@splat>
Steve Chamberlain [Sun, 15 Jan 1995 22:04:02 +0000 (22:04 +0000)]
Sun Jan 15 13:57:45 1995  Steve Chamberlain  <sac@splat>

* opncls.c (bfd_fdopenr): Configure for WIN32.

29 years ago* eval.c (evaluate_subexp): Clear expect_type except for C++ and CHILL.
Jim Kingdon [Sat, 14 Jan 1995 20:56:55 +0000 (20:56 +0000)]
* eval.c (evaluate_subexp): Clear expect_type except for C++ and CHILL.

29 years ago * gdb.base/sigall.exp (test_one_sig): Attempt to recover if
Jim Kingdon [Sat, 14 Jan 1995 18:23:51 +0000 (18:23 +0000)]
* gdb.base/sigall.exp (test_one_sig): Attempt to recover if
"get signal $thissig" test fails.

29 years ago * infcmd.c (signal_command): For "signal 0", pass (CORE_ADDR)-1,
Jim Kingdon [Sat, 14 Jan 1995 18:07:48 +0000 (18:07 +0000)]
* infcmd.c (signal_command): For "signal 0", pass (CORE_ADDR)-1,
not stop_pc, to proceed.

29 years ago* eval.c (evaluate_subexp): Clear expect_type except for C++ and CHILL.
Jim Kingdon [Sat, 14 Jan 1995 16:48:03 +0000 (16:48 +0000)]
* eval.c (evaluate_subexp): Clear expect_type except for C++ and CHILL.

29 years ago* gdb.base/setvar.exp: Check for and reject crazy expected type hacks.
Jim Kingdon [Sat, 14 Jan 1995 16:29:24 +0000 (16:29 +0000)]
* gdb.base/setvar.exp: Check for and reject crazy expected type hacks.

29 years ago * Makefile.in (all): Don't make libgdb-files.
Stan Shebs [Fri, 13 Jan 1995 23:31:57 +0000 (23:31 +0000)]
* Makefile.in (all): Don't make libgdb-files.
(libgdb): New action, makes libgdb-files.

29 years ago * infcmd.c (signal_command): Accept "signal 0"; the change to not
Jim Kingdon [Fri, 13 Jan 1995 22:55:37 +0000 (22:55 +0000)]
* infcmd.c (signal_command): Accept "signal 0"; the change to not
accept it was accidental.  "handle 0" and "info signal 0" remain
illegal, though.

29 years agonote deletion of hex-value.c
Ken Raeburn [Fri, 13 Jan 1995 21:02:02 +0000 (21:02 +0000)]
note deletion of hex-value.c

29 years ago * stabsread.c (read_enum_type): When pending enum symbols are
Per Bothner [Fri, 13 Jan 1995 06:24:23 +0000 (06:24 +0000)]
* stabsread.c (read_enum_type):  When pending enum symbols are
put into the enum type, they must be inserted in "backwards
order, in case we've overflowed a struct pending buffer.

29 years ago* app.c (do_scrub_next_char) [__GNUC__ && __OPTIMIZE__]: If `get' function is
Ken Raeburn [Fri, 13 Jan 1995 01:05:42 +0000 (01:05 +0000)]
* app.c (do_scrub_next_char) [__GNUC__ && __OPTIMIZE__]: If `get' function is
scrub_from_file, call scrub_from_file directly, and get gcc's inlining
capability into the act.

29 years ago * gdbtk.c gdbtk.tcl: Update/add copyright.
Stu Grossman [Thu, 12 Jan 1995 23:10:48 +0000 (23:10 +0000)]
* gdbtk.c gdbtk.tcl:  Update/add copyright.
* gdbtk.tcl (build_framework):  Several fixes for filespec widget,
including dismiss button, and better error handling.
* (create_command_win):  Bind button 2 to retrieve selection.

29 years agodelete references to hex-value.c
Ken Raeburn [Thu, 12 Jan 1995 23:09:24 +0000 (23:09 +0000)]
delete references to hex-value.c

29 years agoUse new hex-value code in libiberty:
Ken Raeburn [Thu, 12 Jan 1995 23:00:26 +0000 (23:00 +0000)]
Use new hex-value code in libiberty:

* Makefile.in (VMS_OTHER_OBJS): Add ../libiberty/hex.o.
(OBJS): Delete hex-value.o.
(REAL_SOURCES): Delete hex-value.c.
(hex-value.o): Delete dependencies.
* hex-value.c: Deleted.
* as.c (main): Call hex_init.
* expr.c, config/tc-mips.c: Include libiberty.h.  Replace hex_value array
references with hex_* macros.

29 years ago* libiberty.h (hex_p): Fix sense of test.
Ken Raeburn [Thu, 12 Jan 1995 22:53:39 +0000 (22:53 +0000)]
* libiberty.h (hex_p): Fix sense of test.

29 years agoMakefile changes for arc, rce, diststuff.
Ken Raeburn [Thu, 12 Jan 1995 21:46:17 +0000 (21:46 +0000)]
Makefile changes for arc, rce, diststuff.
Const fixes and hex_value changes to various files.

29 years ago(ALL_MACHINES, BFD32_BACKENDS): Include arc and rce, appropriately sanitized.
Ken Raeburn [Thu, 12 Jan 1995 21:41:20 +0000 (21:41 +0000)]
(ALL_MACHINES, BFD32_BACKENDS): Include arc and rce, appropriately sanitized.
(diststuff): Include `headers'.

Updated dependencies.

29 years ago* srec.c, tekhex.c: Include libiberty.h. Delete static array hex_value and
Ken Raeburn [Thu, 12 Jan 1995 21:37:32 +0000 (21:37 +0000)]
* srec.c, tekhex.c: Include libiberty.h.  Delete static array hex_value and
replace references to it with references to hex_init, hex_p, and hex_value.
* tekhex.c (digs): Now const.

29 years ago* sunos.c (m68k_plt_first_entry, sparc_plt_first_entry): Now const.
Ken Raeburn [Thu, 12 Jan 1995 21:35:05 +0000 (21:35 +0000)]
* sunos.c (m68k_plt_first_entry, sparc_plt_first_entry): Now const.
* elf32-i386.c (elf_i386_plt0_entry, elf_i386_plt_entry): Ditto.
* archures.c (archures_init_table): Now const.
(bfd_arch_init): Adjusted type of local var `ptable'.

29 years agoThu Jan 12 13:13:23 1995 Jason Merrill <jason@phydeaux.cygnus.com>
Jason Merrill [Thu, 12 Jan 1995 21:14:50 +0000 (21:14 +0000)]
Thu Jan 12 13:13:23 1995  Jason Merrill  <jason@phydeaux.cygnus.com>

* configure.in (enable_shared stuff): Fix typo.

Thu Jan 12 01:36:51 1995  deanm@medulla.LABS.TEK.COM (Dean Messing)

* Makefile.in (BASE_FLAGS_TO_PASS): Fix typo in passing LIBCXXFLAGS*.

29 years agocheck makefile.in for arc, rce stuff
Ken Raeburn [Thu, 12 Jan 1995 20:44:01 +0000 (20:44 +0000)]
check makefile.in for arc, rce stuff

29 years agoconst fixes
Ken Raeburn [Thu, 12 Jan 1995 20:29:22 +0000 (20:29 +0000)]
const fixes

29 years ago * gdb.base/sigall.c (gen_*): Pass argument to handle_* to avoid
Jim Kingdon [Thu, 12 Jan 1995 20:12:07 +0000 (20:12 +0000)]
* gdb.base/sigall.c (gen_*): Pass argument to handle_* to avoid
compiler warning with dec alpha compiler.

* gdb.base/commands.exp (if_while_breakpoint_command_test): Remove
extra \n from gdb_test call (this explains why the prompt test
that I removed yesterday was there).
(user_defined_command_test): Remove extra \n and prompt test.

* gdb.base/sigall.c: If SIGABRT == SIGLOST, just act as if SIGLOST
doesn't exist.  Likewise if SIGIO == SIGPOLL, pretend SIGPOLL
doesn't exist.
* gdb.base/sigall.exp: Remove special handling for SIGIO and SIGPOLL.
Also remove alpha workaround, which turns out to be because
SIGABRT == SIGLOST.

29 years ago * hosts/symmetry.h: Redefine `shared' to enable compilation
Peter Schauer [Thu, 12 Jan 1995 18:33:52 +0000 (18:33 +0000)]
* hosts/symmetry.h:  Redefine `shared' to enable compilation
with the native Dynix cc compiler.
* i386dynix.c:  Include aoutx.h instead of using routines
from aout32.c.

29 years ago Add procfs support for Alpha OSF/1-2.x.
Peter Schauer [Thu, 12 Jan 1995 18:14:01 +0000 (18:14 +0000)]
Add procfs support for Alpha OSF/1-2.x.
* config/alpha/nm-osf.h:  Renamed from nm-alpha.h, generic
OSF/1 native support.
* config/alpha/alpha-osf1.mh (NAT_FILE):  Changed accordingly.
(MUNCH_DEFINE):  Removed.
* config/alpha/alpha-osf2.mh, config/alpha/nm-osf2.h:  New files
for procfs support.

29 years ago * README: Add note about SPARCworks cc release 3.0 and higher.
Peter Schauer [Thu, 12 Jan 1995 18:12:04 +0000 (18:12 +0000)]
* README:  Add note about SPARCworks cc release 3.0 and higher.

Add procfs support for Alpha OSF/1-2.x.
* config/alpha/nm-osf.h:  Renamed from nm-alpha.h, generic
OSF/1 native support.
* config/alpha/alpha-osf1.mh (NAT_FILE):  Changed accordingly.
(MUNCH_DEFINE):  Removed.
* config/alpha/alpha-osf2.mh, config/alpha/nm-osf2.h:  New files
for procfs support.
* configure.in (alpha-dec-osf*):  Use alpha-osf2.mh for OSF/1
release 2.x and higher, else alpha-osf1.mh, as the procfs support
in release 1.x is incomplete.
* Makefile.in (ALLCONFIG):  Add config/alpha/alpha-osf2.mh.
* alpha-nat.c (supply_gregset, fill_gregset, supply_fpgregset,
fill_fpgregset):  New routines for procfs support.
* inftarg.c (_initialize_inftarg):  Don't add ptrace support
if we have an optional procfs and /proc is accessible.
* procfs.c:  Include sys/fault.h and sys/syscall.h before
including sys/procfs.h.
(unconditionally_kill_inferior):  If PROCFS_NEED_PIOCSSIG_FOR_KILL
is defined, additionally perform a PIOCSSIG to really terminate
the inferior.
(create_procinfo):  Always return a result.
(create_procinfo, do_attach):  Don't trace T_IFAULT faults if
PROCFS_DONT_TRACE_IFAULT is defined.
(procfs_init_inferior):  Use START_INFERIOR_TRAPS_EXPECTED as
argument to startup_inferior if it is defined.
(proc_set_exec_trap):  If PIOCSSPCACT is defined, use it instead
of tracing exits from exec system calls. Needed for the user level
loader under Alpha OSF/1.
(do_detach):  Clear any pending signal if we want to detach from
a process without a signal.
(set_proc_siginfo):  If PROCFS_DONT_PIOCSSIG_CURSIG is defined,
don't issue a PIOCSSIG if pr_cursig already contains the signal we
intend to set.
(info_proc_signals):  If PROCFS_SIGPEND_OFFSET is defined, the
pending signals are numbered from 1 instead of 0.
(info_proc_mappings):  Increase size of output format for addresses
if BFD_HOST_64_BIT is defined.
(procfs_stop):  Renamed from child_stop.
(_initialize_procfs):  Don't add procfs support if we have an
optional procfs and /proc is not accessible.

29 years ago* gdb.base/sigall.exp: Add workaround for alpha weirdness.
Jim Kingdon [Thu, 12 Jan 1995 16:41:09 +0000 (16:41 +0000)]
* gdb.base/sigall.exp: Add workaround for alpha weirdness.

29 years ago * ldlang.c (lang_place_orphans): Don't ignore files with
Ian Lance Taylor [Thu, 12 Jan 1995 06:34:11 +0000 (06:34 +0000)]
* ldlang.c (lang_place_orphans): Don't ignore files with
just_syms_flag set.  Instead, put all their sections in
bfd_abs_section_ptr, using the section VMA as the output_offset.
PR 6159.