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.
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.
Ken Raeburn [Thu, 19 Jan 1995 00:13:30 +0000 (00:13 +0000)]
some improvements to fp code
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.
Rob Savoye [Wed, 18 Jan 1995 19:11:30 +0000 (19:11 +0000)]
Add GDBPROTO macro for checking the type of protocol.
Ken Raeburn [Wed, 18 Jan 1995 18:53:49 +0000 (18:53 +0000)]
sparc, coff, hash changes
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.
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>.
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.
Stan Shebs [Tue, 17 Jan 1995 22:39:42 +0000 (22:39 +0000)]
Reflect changes to pinsn and tdep files
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.
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.
Ian Lance Taylor [Tue, 17 Jan 1995 19:26:56 +0000 (19:26 +0000)]
* opncls.c (bfd_openstreamr): New function.
* bfd-in2.h: Rebuilt.
Ian Lance Taylor [Tue, 17 Jan 1995 19:11:06 +0000 (19:11 +0000)]
update copyright
Ian Lance Taylor [Tue, 17 Jan 1995 19:09:53 +0000 (19:09 +0000)]
* remote.texi: Update documentation of set/show mipsfpu.
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.
Jim Kingdon [Tue, 17 Jan 1995 16:43:20 +0000 (16:43 +0000)]
* a29k-tdep.c (gdb_print_insn_a29k): Fix typo (&info -> info).
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.
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.
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.
Ian Lance Taylor [Tue, 17 Jan 1995 15:56:00 +0000 (15:56 +0000)]
* mips.h (INSN_ISA, INSN_4650): Define.
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.*.
Stan Shebs [Tue, 17 Jan 1995 04:53:00 +0000 (04:53 +0000)]
* config/*/*.mt (TDEPFILES): Remove refs to *-pinsn.o.
Stan Shebs [Tue, 17 Jan 1995 04:44:43 +0000 (04:44 +0000)]
Revert previous, ill-considered change to defs.h
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.
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.
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.
Jim Kingdon [Mon, 16 Jan 1995 20:14:38 +0000 (20:14 +0000)]
* gdb.base/setvar.c (dummy): Call malloc.
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.
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.
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.
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.
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.
Steve Chamberlain [Mon, 16 Jan 1995 02:40:18 +0000 (02:40 +0000)]
* dis-asm.h (prin_insn_w65): Declare.
Steve Chamberlain [Mon, 16 Jan 1995 02:39:14 +0000 (02:39 +0000)]
* w65.h: New file.
Steve Chamberlain [Mon, 16 Jan 1995 01:47:43 +0000 (01:47 +0000)]
* Makefile.in: Support W65.
* configure.in: Ditto.
Steve Chamberlain [Mon, 16 Jan 1995 01:47:04 +0000 (01:47 +0000)]
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,
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,
Steve Chamberlain [Mon, 16 Jan 1995 01:28:40 +0000 (01:28 +0000)]
new file.
Steve Chamberlain [Mon, 16 Jan 1995 00:55:22 +0000 (00:55 +0000)]
* Makefile.in: Support W65.
* configure.in: Ditto.
Steve Chamberlain [Mon, 16 Jan 1995 00:53:05 +0000 (00:53 +0000)]
New files.
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.
Steve Chamberlain [Mon, 16 Jan 1995 00:42:14 +0000 (00:42 +0000)]
add w65 stuff.
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.
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.
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.
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__.
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.
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.
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.
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.
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.
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.
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.
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.
Ken Raeburn [Fri, 13 Jan 1995 21:02:02 +0000 (21:02 +0000)]
note deletion of hex-value.c
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.
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.
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.
Ken Raeburn [Thu, 12 Jan 1995 23:09:24 +0000 (23:09 +0000)]
delete references to hex-value.c
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.
Ken Raeburn [Thu, 12 Jan 1995 22:53:39 +0000 (22:53 +0000)]
* libiberty.h (hex_p): Fix sense of test.
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.
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.
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.
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'.
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*.
Ken Raeburn [Thu, 12 Jan 1995 20:44:01 +0000 (20:44 +0000)]
check makefile.in for arc, rce stuff
Ken Raeburn [Thu, 12 Jan 1995 20:29:22 +0000 (20:29 +0000)]
const fixes
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.
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.
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.
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.
Jim Kingdon [Thu, 12 Jan 1995 16:41:09 +0000 (16:41 +0000)]
* gdb.base/sigall.exp: Add workaround for alpha weirdness.
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.
Jim Kingdon [Thu, 12 Jan 1995 06:17:40 +0000 (06:17 +0000)]
* gdb.base/help.exp: Don't test "help show".
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.
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.
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.
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.
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.
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.
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.
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.
Ken Raeburn [Thu, 12 Jan 1995 00:34:50 +0000 (00:34 +0000)]
Don't generate 68020 addressing modes for a 68000 cpu.
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.
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.
Jim Kingdon [Wed, 11 Jan 1995 20:45:59 +0000 (20:45 +0000)]
* gdb.base/help.exp: Replace most of docstring for "define" with ".*".
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.
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.
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.
Jeff Law [Wed, 11 Jan 1995 17:48:06 +0000 (17:48 +0000)]
Opps. Forgot to commit last night's ChangeLog entry.
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.
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.
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.
Jeff Law [Wed, 11 Jan 1995 07:43:53 +0000 (07:43 +0000)]
* gdb.base/commands.exp: Test a simple user defined command with
arguments and if/while statements; verify the full user command is
printed by "show user".
Jeff Law [Wed, 11 Jan 1995 07:16:54 +0000 (07:16 +0000)]
* gdb.base/commands.exp: Test if/while commands as part of a
breakpoint command list; verify they appear in breakpoint
information.
Jim Kingdon [Wed, 11 Jan 1995 05:53:49 +0000 (05:53 +0000)]
* gdb.base/sigall.c (gen_FPE): Generate SIGFPE with kill() rather
than by dividing by zero.
Jeff Law [Wed, 11 Jan 1995 04:48:43 +0000 (04:48 +0000)]
* gdb.base/watchpoint.exp: hppa*-*-*bsd* no longer has problems
performing an inferior call with watchpoints enabled.
* gdb.base/watchpoint.c (main): Delete second unnecessary read
call.