binutils-gdb.git
29 years agoupdate copyright dates
Ian Lance Taylor [Tue, 24 Jan 1995 19:48:50 +0000 (19:48 +0000)]
update copyright dates

29 years ago * elf32-mips.c (mips_elf_output_extsym): Set the value of the
Ian Lance Taylor [Tue, 24 Jan 1995 19:27:35 +0000 (19:27 +0000)]
* elf32-mips.c (mips_elf_output_extsym): Set the value of the
ECOFF symbol from the hash table entry.

29 years agoupdate copyrights
Ian Lance Taylor [Tue, 24 Jan 1995 16:01:04 +0000 (16:01 +0000)]
update copyrights

29 years ago * ldctor.c (ldctor_add_set_entry): Don't dump core if a
Ian Lance Taylor [Tue, 24 Jan 1995 15:34:16 +0000 (15:34 +0000)]
* ldctor.c (ldctor_add_set_entry): Don't dump core if a
constructor entry is in the absolute section.

29 years agoAdd EM_PPC macro.
Michael Meissner [Tue, 24 Jan 1995 14:42:17 +0000 (14:42 +0000)]
Add EM_PPC macro.

29 years ago * gdb.base/commands.exp: Make test names unique; every test either
Jeff Law [Tue, 24 Jan 1995 05:16:25 +0000 (05:16 +0000)]
* gdb.base/commands.exp: Make test names unique; every test either
passes or fails.  Update some comments.

29 years ago * gdb.disasm/hppa.exp (do_system_control_tests): Update.
Jeff Law [Tue, 24 Jan 1995 04:59:07 +0000 (04:59 +0000)]
* gdb.disasm/hppa.exp (do_system_control_tests): Update.

29 years ago * config/tc-hppa.c (pa_ip, case 'D'): Fix typo which caused
Jeff Law [Tue, 24 Jan 1995 04:50:43 +0000 (04:50 +0000)]
    * config/tc-hppa.c (pa_ip, case 'D'): Fix typo which caused
        miscompilation of "diag" instructions.

* gas/hppa/basic/basic.exp (do_system): Update.

29 years ago * gdbtk.tcl: Take .gdbtkinit if it exists. Makes gdbtk match the
Stu Grossman [Tue, 24 Jan 1995 01:23:18 +0000 (01:23 +0000)]
* gdbtk.tcl:  Take .gdbtkinit if it exists.  Makes gdbtk match the
doc!

29 years agoMon Jan 23 14:53:35 1995 Steve Chamberlain <sac@splat>
Steve Chamberlain [Mon, 23 Jan 1995 22:57:30 +0000 (22:57 +0000)]
Mon Jan 23 14:53:35 1995  Steve Chamberlain  <sac@splat>

* coff-sh.c (coff_sh_relocate_section):  Don't subtract
vma twice.

29 years ago * coff-sh.c (sh_reloc): Don't ignore the previous contents of an
Ian Lance Taylor [Mon, 23 Jan 1995 22:32:18 +0000 (22:32 +0000)]
* coff-sh.c (sh_reloc): Don't ignore the previous contents of an
R_SH_IMM32 reloc.
PR 6215.

29 years ago* gdb.texinfo (Processes): New node.
Jim Kingdon [Mon, 23 Jan 1995 22:27:49 +0000 (22:27 +0000)]
* gdb.texinfo (Processes): New node.

29 years agoconfigure regen, tc-mips.c libiberty.h include
Ken Raeburn [Mon, 23 Jan 1995 21:57:32 +0000 (21:57 +0000)]
configure regen, tc-mips.c libiberty.h include

29 years agoregenerated
Ken Raeburn [Mon, 23 Jan 1995 21:56:46 +0000 (21:56 +0000)]
regenerated

29 years ago Add support for Chill bitstring literals (e.h. H'FF00').
Per Bothner [Mon, 23 Jan 1995 21:20:58 +0000 (21:20 +0000)]
Add support for Chill bitstring literals (e.h. H'FF00').
* ch-exp.y (match_bitstring_literal):  Fix for proper endianness.
* expprint.c (print_subexp):  Don't call error on OP_BITSTRING,
just print B'<unimlemented>'.
* gdbtypes.c (create_set_type):  Fix bug in length calculation.
* valops.c, value.h (value_bitstring):  New function.
* eval.c (evaluate_subexp):  Implement support for OP_BITSTRING.

* ch-typeprint.c (chill_type_print_base): For TYPE_CODE_FUNC,
check that return type is non-void, and print in proper Chill syntax.

29 years ago * Makefile.in: Remove references to remote-mon.c.
Rob Savoye [Mon, 23 Jan 1995 19:25:24 +0000 (19:25 +0000)]
* Makefile.in: Remove references to remote-mon.c.
* remote-mon.c: remove. Replaced by rom68k-rom.c.
* rom68k-rom.c: Support for Rom68k monitor.

29 years ago * config/tc-sh.h (tc_init_after_args): Don't define.
Ian Lance Taylor [Mon, 23 Jan 1995 19:22:52 +0000 (19:22 +0000)]
* config/tc-sh.h (tc_init_after_args): Don't define.
* config/tc-sh.c (md_begin): Remove unused variable table.
(md_assemble): Remove unused variable p.
(md_convert_frag): Cast fr_address to unsigned long for printf.
(md_apply_fix): Use as_warn_where rather than as_warn.
(sh_init_after_args): Remove empty function.

29 years ago * configure.in (i386-*-gnu*elf*): New target.
Ian Lance Taylor [Mon, 23 Jan 1995 19:09:02 +0000 (19:09 +0000)]
* configure.in (i386-*-gnu*elf*): New target.

29 years agox
Ian Lance Taylor [Mon, 23 Jan 1995 19:01:41 +0000 (19:01 +0000)]
x

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