deliverable/binutils-gdb.git
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.

29 years ago* gdb.base/help.exp: Don't test "help show".
Jim Kingdon [Thu, 12 Jan 1995 06:17:40 +0000 (06:17 +0000)] 
* gdb.base/help.exp: Don't test "help show".

29 years agoDon't use const with reloc_howto_type, since it's now defined to be const.
Ken Raeburn [Thu, 12 Jan 1995 05:04:04 +0000 (05:04 +0000)] 
Don't use const with reloc_howto_type, since it's now defined to be const.

29 years ago* libiberty.h (_hex_array_size, _hex_bad, _hex_value, hex_init, hex_p,
Ken Raeburn [Thu, 12 Jan 1995 03:43:19 +0000 (03:43 +0000)] 
* libiberty.h (_hex_array_size, _hex_bad, _hex_value, hex_init, hex_p,
hex_value): New macros and declarations, for hex.c.

29 years agoForgot an entry in last checkin:
Ken Raeburn [Thu, 12 Jan 1995 02:44:45 +0000 (02:44 +0000)] 
Forgot an entry in last checkin:

* ecoff.c (ecoff_type_to_string): Local variable `buffer1' doesn't
need to be static.

29 years agoChange "reloc_howto_type" typedef to be "const", since all uses of it are (or
Ken Raeburn [Thu, 12 Jan 1995 02:41:04 +0000 (02:41 +0000)] 
Change "reloc_howto_type" typedef to be "const", since all uses of it are (or
should be) anyways.

29 years ago * gdbtk.tcl: Add button to control mixed source disassembly.
Stu Grossman [Thu, 12 Jan 1995 02:10:05 +0000 (02:10 +0000)] 
* gdbtk.tcl:  Add button to control mixed source disassembly.
* Use text widgets in expr window.  The give me more control over
layout.
* Add auto-updating of exprs in expression window.
* Handle expressions out of scope a bit better.
* Make selected window pop up to the top when invoked via the
menubar.
* Make copyright message have raised relief.

29 years ago * gdbtk.c (gdbtk_init): Improve handling for errors in gdbtk.tcl
Stu Grossman [Thu, 12 Jan 1995 01:09:34 +0000 (01:09 +0000)] 
* gdbtk.c (gdbtk_init):  Improve handling for errors in gdbtk.tcl
during startup.

29 years ago * array-rom.c: Add support for most commands.
Rob Savoye [Thu, 12 Jan 1995 00:56:53 +0000 (00:56 +0000)] 
* array-rom.c: Add support for most commands.
* monitor.c: Add GDB remote protocol for the hybrid environment on
the Array board.

29 years agoFor COFF targets, make sure F_RELFLG is set exactly when no relocs are present,
Ken Raeburn [Thu, 12 Jan 1995 00:36:23 +0000 (00:36 +0000)] 
For COFF targets, make sure F_RELFLG is set exactly when no relocs are present,
instead of making it depend solely on the target CPU.

29 years agoDon't generate 68020 addressing modes for a 68000 cpu.
Ken Raeburn [Thu, 12 Jan 1995 00:34:50 +0000 (00:34 +0000)] 
Don't generate 68020 addressing modes for a 68000 cpu.

29 years agoWed Jan 11 16:29:53 1995 Jason Merrill <jason@phydeaux.cygnus.com>
Jason Merrill [Thu, 12 Jan 1995 00:31:22 +0000 (00:31 +0000)] 
Wed Jan 11 16:29:53 1995  Jason Merrill  <jason@phydeaux.cygnus.com>

* Makefile.in (LIBCXXFLAGS_FOR_TARGET): Add -fno-implicit-templates.

29 years agoWed Jan 11 16:29:34 1995 Jason Merrill <jason@phydeaux.cygnus.com>
Jason Merrill [Thu, 12 Jan 1995 00:30:54 +0000 (00:30 +0000)] 
Wed Jan 11 16:29:34 1995  Jason Merrill  <jason@phydeaux.cygnus.com>

* m?-*pic (LIBCXXFLAGS): Add -fno-implicit-templates.

29 years ago* gdb.base/help.exp: Replace most of docstring for "define" with ".*".
Jim Kingdon [Wed, 11 Jan 1995 20:45:59 +0000 (20:45 +0000)] 
* gdb.base/help.exp: Replace most of docstring for "define" with ".*".

29 years ago * gdb.base/a1-selftest.exp: Don't test "maint dump-me". That test
Jim Kingdon [Wed, 11 Jan 1995 20:42:33 +0000 (20:42 +0000)] 
* gdb.base/a1-selftest.exp: Don't test "maint dump-me".  That test
was a vestige of the manual TESTSTRATEGY, and the purpose of it
was to make sure that gdb can read a core file.  But (a) the "read
the corefile" part didn't make it to a1-selftest.exp, we just
delete the corefile after creating it, and (b) we test reading
corefiles in corefile.exp anyway.  Also, this test left around a
xgdb process on Solaris.

* gdb.base/corefile.exp: Also test backtrace.

29 years ago * sunos.c (sunos_add_one_symbol): Don't core dump if a multiple
Ian Lance Taylor [Wed, 11 Jan 1995 19:42:28 +0000 (19:42 +0000)] 
* sunos.c (sunos_add_one_symbol): Don't core dump if a multiple
definition of an absolute symbol is encountered.

29 years ago * linker.c (_bfd_generic_link_add_one_symbol): Ignore
Ian Lance Taylor [Wed, 11 Jan 1995 19:38:06 +0000 (19:38 +0000)] 
* linker.c (_bfd_generic_link_add_one_symbol): Ignore
redefinitions of an absolute symbol to the same value.
PR 6159.

29 years agoOpps. Forgot to commit last night's ChangeLog entry.
Jeff Law [Wed, 11 Jan 1995 17:48:06 +0000 (17:48 +0000)] 
Opps.  Forgot to commit last night's ChangeLog entry.

29 years ago * ld-scripts/sizeof.exp: New test, based on bug report from
Ian Lance Taylor [Wed, 11 Jan 1995 16:49:57 +0000 (16:49 +0000)] 
* ld-scripts/sizeof.exp: New test, based on bug report from
anders.blomdell@control.lth.se.
* ld-scripts/sizeof.s: New file.
* ld-scripts/sizeof.t: New file.

29 years ago * ldexp.c (fold_binary): Adding or subtracting an absolute value
Ian Lance Taylor [Wed, 11 Jan 1995 16:26:15 +0000 (16:26 +0000)] 
* ldexp.c (fold_binary): Adding or subtracting an absolute value
to a relative value does not require forcing the relative value to
be absolute.  Also, reindent function.

29 years ago * command.c (show_user_1): Use print_command_line to show a user
Jeff Law [Wed, 11 Jan 1995 07:46:44 +0000 (07:46 +0000)] 
* command.c (show_user_1): Use print_command_line to show a user
defined command (including control structures).

* top.c (init_main): Change documentation for user defined
commands to indicate they may accept up to ten arguments.

This page took 0.039782 seconds and 4 git commands to generate.