David Edelsohn [Thu, 17 Apr 1997 12:41:19 +0000 (12:41 +0000)]
* sim-config.h (WITH_DEBUG): Provide default value of zero.
David Edelsohn [Thu, 17 Apr 1997 12:39:29 +0000 (12:39 +0000)]
* sim-options.c, sim-options.h: New files.
David Edelsohn [Thu, 17 Apr 1997 12:21:35 +0000 (12:21 +0000)]
MAX_CPUS -> WITH_SMP.
David Edelsohn [Thu, 17 Apr 1997 11:24:09 +0000 (11:24 +0000)]
Fix copyright message, this is not GCC.
David Edelsohn [Thu, 17 Apr 1997 11:14:21 +0000 (11:14 +0000)]
* run.c (main): Check return value of sim_open.
David Edelsohn [Thu, 17 Apr 1997 10:54:07 +0000 (10:54 +0000)]
* Makefile.in (SIM_OBJS): Add sim-load.o.
* interp.c (sim_kind, myname): New static locals.
(sim_open): Set sim_kind, myname. Ignore -E arg.
(sim_load): Return SIM_RC. New arg abfd. Call sim_load_file to
load file into simulator. Set start address from bfd.
(sim_create_inferior): Return SIM_RC. Delete arg start_address.
David Edelsohn [Thu, 17 Apr 1997 10:52:59 +0000 (10:52 +0000)]
* Makefile.in (SIM_OBJS): Add sim-load.o.
* interp.c (target_byte_order): Delete.
(sim_kind, myname, little_endian_p): New static locals.
(init_pointers): Use little_endian_p instead of target_byte_order.
(sim_resume): Likewise.
(sim_open): Set sim_kind, myname. Set little_endian_p from -E arg.
(sim_load): Return SIM_RC. New arg abfd. Call sim_load_file to
load file into simulator. Set start address from bfd.
(sim_create_inferior): Return SIM_RC. Delete arg start_address.
David Edelsohn [Thu, 17 Apr 1997 10:31:52 +0000 (10:31 +0000)]
* psim.c (psim_options): Ignore -E option (sets endianness).
* sim_calls.c: #include bfd.h.
(entry_point): New static local.
(sim_load): Return SIM_RC. New arg abfd. Set start address from bfd.
(sim_create_inferior): Return SIM_RC. Delete arg start_address.
David Edelsohn [Thu, 17 Apr 1997 10:27:47 +0000 (10:27 +0000)]
* Makefile.in (SIM_OBJS): Add sim-load.o.
* interp.c (sim_kind, myname): New static locals.
(sim_open): Set sim_kind, myname. Ignore -E arg.
(sim_load): Return SIM_RC. New arg abfd. Call sim_load_file to
load file into simulator. Set start address from bfd.
(sim_create_inferior): Return SIM_RC. Delete arg start_address.
David Edelsohn [Thu, 17 Apr 1997 10:23:48 +0000 (10:23 +0000)]
* Makefile.in (SIM_OBJS): Add sim-load.o.
* interp.c: #include bfd.h.
(target_byte_order): Delete.
(sim_kind, myname, big_endian_p): New static locals.
(sim_open): Set sim_kind, myname. Move call to set_endianness to
after argument parsing. Recognize -E arg, set endianness accordingly.
(sim_load): Return SIM_RC. New arg abfd. Call sim_load_file to
load file into simulator. Set PC from bfd.
(sim_create_inferior): Return SIM_RC. Delete arg start_address.
(set_endianness): Use big_endian_p instead of target_byte_order.
David Edelsohn [Thu, 17 Apr 1997 10:14:28 +0000 (10:14 +0000)]
* Makefile.in (SIM_OBJS): Add sim-load.o.
* compile.c (sim_kind, myname): New static locals.
(sim_open): Set sim_kind, myname.
(sim_load): Return SIM_RC. New arg abfd. Update test for h8300h.
Call sim_load_file to load file into simulator. Set start address
from bfd.
(sim_create_inferior): Return SIM_RC. Delete arg start_address.
David Edelsohn [Thu, 17 Apr 1997 10:05:50 +0000 (10:05 +0000)]
* interf.c (sim_open): Ignore -E arg.
(start_address): New static local.
(sim_load): Return SIM_RC. New arg abfd. Set start_address from bfd.
(sim_create_inferior): Return SIM_RC. Delete arg start_address.
David Edelsohn [Thu, 17 Apr 1997 10:02:27 +0000 (10:02 +0000)]
* Makefile.in (SIM_OBJS): Add sim-load.o.
* d10v_sim.h (exec_bfd): Rename to prog_bfd.
* interp.c: #include bfd.h.
(myname, sim_kind, start_address): New static locals.
(prog_bfd_was_opened_p, prog_bfd): New static locals.
(decode_pc): Update to use prog_bfd.
(sim_open): Set sim_kind, myname. Ignore -E arg.
(sim_close): Close prog_bfd if simulator opened it.
(sim_create_inferior): Return SIM_RC. Delete arg start_address.
(sim_load): Return SIM_RC. New arg abfd. Set start address from bfd.
Call sim_load_file to load file into simulator.
* simops.c (trace_input_func): exec_bfd renamed to prog_bfd.
David Edelsohn [Thu, 17 Apr 1997 09:41:11 +0000 (09:41 +0000)]
* Makefile.in (SIM_OBJS): Add sim-load.o.
* wrapper.c (sim_kind,myname): New static locals.
(sim_open): Set sim_kind, myname.
(sim_load): Call sim_load_file to do work. Set start address from bfd.
(sim_create_inferior): Return SIM_RC. Delete start_address arg.
David Edelsohn [Thu, 17 Apr 1997 09:38:01 +0000 (09:38 +0000)]
* sim-load.c: New file.
[forgot this]
David Edelsohn [Thu, 17 Apr 1997 09:37:42 +0000 (09:37 +0000)]
Add sim-load.c, sim-trace.h.
David Edelsohn [Thu, 17 Apr 1997 09:37:02 +0000 (09:37 +0000)]
* Make-common.in (sim-options.o, sim-load.o): Add rules for.
(sim_main_headers): Add sim-trace.h.
* run.c (exec_bfd, target_byte_order): Delete.
(main): Pass -E <endian> to sim_open. Delete code to load sections,
call sim_load instead. Check return code of sim_create_inferior.
* sim-base.h (CURRENT_STATE): Define.
(sim_state_base): Make typedef. New members options, prog_argv,
prog_bfd, text_{section,start,end}, start_addr, simcache_size,
mem_size, memory [+ corresponding access macros].
(sim_cpu_base): New typedef.
* sim-trace.h: New file.
* sim-basics.h: #include it.
* sim-load.c: New file.
David Edelsohn [Thu, 17 Apr 1997 09:23:55 +0000 (09:23 +0000)]
(gdbsim_open): Pass endian indicator as arg.
[forgot this]
David Edelsohn [Thu, 17 Apr 1997 09:23:28 +0000 (09:23 +0000)]
* remote-sim.c (gdbsim_load): Update call to sim_load.
(gdbsim_create_inferior): No longer pass start_address to
sim_create_inferior.
(gdbsim_open): Pass endian indicator as arg.
David Edelsohn [Thu, 17 Apr 1997 09:19:45 +0000 (09:19 +0000)]
* remote-sim.h (struct _bfd): Declare.
(sim_load): Return SIM_RC. New arg `abfd'.
(sim_create_inferior): Return SIM_RC. Delete arg `start_address'.
Andrew Cagney [Thu, 17 Apr 1997 06:05:19 +0000 (06:05 +0000)]
Cleanups to compile under FreeBSD
Ian Lance Taylor [Wed, 16 Apr 1997 22:02:56 +0000 (22:02 +0000)]
From Gordon W. Ross <gwr@mc.com>:
* netbsd.h (N_SHARED_LIB): Define.
(SEGMENT_SIZE): Don't define.
* m68knetbsd.c (SEGMENT_SIZE): Don't define (revert change of
April 11).
* sparcnetbsd.c (TARGET_PAGE_SIZE): Define as 0x2000.
(SEGMENT_SIZE): Don't define.
Martin Hunt [Wed, 16 Apr 1997 19:50:24 +0000 (19:50 +0000)]
Wed Apr 16 12:43:32 1997 Martin Hunt <hunt@cygnus.com>
* elf32-d30v.c (elf_d30v_howto_table): Changed size of
R_D30V_32_NORMAL to 2 (4 bytes).
Martin Hunt [Wed, 16 Apr 1997 19:35:54 +0000 (19:35 +0000)]
Wed Apr 16 12:31:24 1997 Martin Hunt <hunt@cygnus.com>
* config/tc-d30v.c (parallel_ok): Fix parallel checking
for instructions using conditional execution.
Martin Hunt [Wed, 16 Apr 1997 19:28:31 +0000 (19:28 +0000)]
Wed Apr 16 12:20:24 1997 Martin Hunt <hunt@cygnus.com>
* gas/d30v/d30.exp: Add optimizer test case.
* gas/d30v/opt.s: Add conditional compilation tests.
* gas/d30v/opt.d: Rebuild.
Ian Lance Taylor [Wed, 16 Apr 1997 18:03:42 +0000 (18:03 +0000)]
* elf32-ppc.c (ppc_elf_adjust_dynamic_symbol): Set .rela.bss size
to sizeof Rela structure, not sizeof Rel structure. From Gary
Thomas <g.thomas@opengroup.org>.
Gavin Romig-Koch [Wed, 16 Apr 1997 13:22:25 +0000 (13:22 +0000)]
Correct test for fpr pairs.
Stan Shebs [Wed, 16 Apr 1997 01:55:47 +0000 (01:55 +0000)]
* remote.c (get_offsets): Don't use scanf for interpreting
response to qOffsets.
Gavin Romig-Koch [Tue, 15 Apr 1997 22:46:58 +0000 (22:46 +0000)]
Correct test for fpr pairs.
Ian Lance Taylor [Tue, 15 Apr 1997 22:36:26 +0000 (22:36 +0000)]
this file was removed a long time ago
Ian Lance Taylor [Tue, 15 Apr 1997 22:34:57 +0000 (22:34 +0000)]
sanitize out references to v850
Ian Lance Taylor [Tue, 15 Apr 1997 19:47:45 +0000 (19:47 +0000)]
* aout-target.h (MY(callback)): If entry_is_text_address, adjust
whenever entry is larger than text address, but only by whole
pages. From Gordon W. Ross <gwr@mc.com>.
Ian Lance Taylor [Tue, 15 Apr 1997 19:37:39 +0000 (19:37 +0000)]
* Makefile.in (DEVO_SUPPORT): Add mkinstalldirs.
Ian Lance Taylor [Tue, 15 Apr 1997 19:32:01 +0000 (19:32 +0000)]
* Makefile.in (INSTALL_XFORM): Remove.
(BASE_FLAGS_TO_PASS): Remove INSTALL_XFORM.
Ian Lance Taylor [Tue, 15 Apr 1997 19:20:58 +0000 (19:20 +0000)]
* Makefile.in (INSTALL): Set to @INSTALL@.
(INSTALL_XFORM, INSTALL_XFORM1): Remove.
Ian Lance Taylor [Tue, 15 Apr 1997 19:19:43 +0000 (19:19 +0000)]
* Makefile.in (install-sis): Depend upon installdirs. Use
$(program_transform_name) directly, rather than using
$(INSTALL_XFORM).
Ian Lance Taylor [Tue, 15 Apr 1997 19:13:56 +0000 (19:13 +0000)]
* Make-common.in (INSTALL): Set to @INSTALL@.
(INSTALL_XFORM, INSTALL_XFORM1): Remove.
(install-common): Depend upon installdirs. Use
$(program_transform_name) directly, rather than using
$(INSTALL_XFORM).
(installdirs): New target.
* Makefile.in (INSTALL): Set to @INSTALL@.
(INSTALL_XFORM, INSTALL_XFORM1): Remove.
(install-man): Depend upon installdirs. Use
$(program_transform_name) directly, rather than using
$(INSTALL_XFORM).
(installdirs): New target.
Ian Lance Taylor [Tue, 15 Apr 1997 19:06:20 +0000 (19:06 +0000)]
* Makefile.in (INSTALL): Set to @INSTALL@.
(INSTALL_XFORM, INSTALL_XFORM1): Remove.
(install): Depend upon installdirs. Use $(program_transform_name)
directly, rather than using $(INSTALL_XFORM).
(installdirs): New target.
Ian Lance Taylor [Tue, 15 Apr 1997 18:55:38 +0000 (18:55 +0000)]
* Makefile.in (INSTALL): Set to @INSTALL@.
(INSTALL_XFORM, INSTALL_XFORM1): Remove.
(install): Depend upon installdirs. Use $(program_transform_name)
directly, rather than using $(INSTALL_XFORM) and
$(INSTALL_XFORM1).
(installdirs): New target.
Ian Lance Taylor [Tue, 15 Apr 1997 18:52:33 +0000 (18:52 +0000)]
* gdbserver/Makefile.in (INSTALL_XFORM): Remove.
(INSTALL_XFORM1): Remove.
(install-only): Use $(program_transform_name) directly, rather
than using $(INSTALL_XFORM) and $(INSTALL_XFORM1).
(uninstall): Transform name.
Ian Lance Taylor [Tue, 15 Apr 1997 18:35:39 +0000 (18:35 +0000)]
Change to use automake:
* Makefile.am: New file.
* configure.in: Run AM_INIT_AUTOMAKE, AM_MAINTAINER_MODE, and
AM_CYGWIN32.
* aclocal.m4: New file, created by aclocal.
* Makefile.in: Replace with file created by automake --cygnus.
* configure: Rebuild.
Ian Lance Taylor [Tue, 15 Apr 1997 17:45:20 +0000 (17:45 +0000)]
* Makefile.in (INSTALL): Set to @INSTALL@.
(INSTALL_XFORM, INSTALL_XFORM1): Remove.
(install): Depend upon installdirs. Use $(program_transform_name)
directly, rather than using $(INSTALL_XFORM) and
$(INSTALL_XFORM1).
(installdirs): New target.
(install-info): Run mkinstalldirs.
Ian Lance Taylor [Tue, 15 Apr 1997 17:21:15 +0000 (17:21 +0000)]
* Makefile.in (INSTALL): Set to @INSTALL@.
(INSTALL_XFORM, INSTALL_XFORM1): Remove.
(install): Depend upon ld.new and installdirs. Use
$(program_transform_name) directly, rather than using
$(INSTALL_XFORM) and $(INSTALL_XFORM1).
(installdirs): New target.
(install-info): Run mkinstalldirs.
Ian Lance Taylor [Tue, 15 Apr 1997 17:11:08 +0000 (17:11 +0000)]
* Makefile.in (srcroot): Remove.
(INSTALL): Set to @INSTALL@.
(INSTALL_XFORM, INSTALL_XFORM1): Remove.
(all, dvi): Don't set srcroot.
(install): Depend upon as.new, gasp.new, and installdirs. Use
$(program_transform_name) directly, rather than using
$(INSTALL_XFORM) and $(INSTALL_XFORM1).
(installdirs): New target.
* doc/Makefile.in (INSTALL_XFORM1): Remove.
(install): Depend upon installdirs. Use $(program_transform_name)
directly, rather than using $(INSTALL_XFORM) and
$(INSTALL_XFORM1).
(installdirs): New target.
(install-info-as): Run mkinstalldirs.
(install-info-gasp): Likewise.
Ian Lance Taylor [Tue, 15 Apr 1997 16:38:24 +0000 (16:38 +0000)]
* Makefile.in (install): Depend upon installdirs. Use
mkinstalldirs to build $(oldincludedir).
(installdirs): New target.
Ian Lance Taylor [Tue, 15 Apr 1997 16:30:35 +0000 (16:30 +0000)]
tweak last patch
Ian Lance Taylor [Tue, 15 Apr 1997 16:26:43 +0000 (16:26 +0000)]
* mkinstalldirs: New file, copied from automake.
* Makefile.in (installdirs): Rename from install-dirs. Use
mkinstalldirs. Change all users.
Ian Lance Taylor [Tue, 15 Apr 1997 15:54:24 +0000 (15:54 +0000)]
* elflink.h (elf_link_add_object_symbols): Don't call check_relocs
if this is a debugging section which we are stripping.
Andrew Cagney [Tue, 15 Apr 1997 10:48:28 +0000 (10:48 +0000)]
From Jim Wilson <wilson@cygnus.com>
* Makefile.in (tmp-hw, tmp-pk): Use for loop to eliminate duplicates
rather than the non-portable cat -n.
Andrew Cagney [Tue, 15 Apr 1997 08:54:01 +0000 (08:54 +0000)]
Get the BIT/MASK/ROT/... macros to work with any 32/64/MSB0/MSBn target.
Mark Alexander [Tue, 15 Apr 1997 00:09:24 +0000 (00:09 +0000)]
* remote-mips.c (mips_load): Ensure that PC gets updated
after a load on LSI target.
Geoffrey Noer [Mon, 14 Apr 1997 23:06:49 +0000 (23:06 +0000)]
Mon Apr 14 15:54:51 1997 Geoffrey Noer <noer@pizza.cygnus.com>
* procfs.c (notice_signals): fix typo
Ian Lance Taylor [Mon, 14 Apr 1997 20:31:04 +0000 (20:31 +0000)]
rename install.sh to install-sh
Ian Lance Taylor [Mon, 14 Apr 1997 20:25:38 +0000 (20:25 +0000)]
* gdbserver/Makefile.in (INSTALL): Change install.sh to
install-sh.
Ian Lance Taylor [Mon, 14 Apr 1997 20:22:49 +0000 (20:22 +0000)]
* install-sh: Rename from install.sh.
* Makefile.in (INSTALL): Change install.sh to install-sh.
(DEVO_SUPPORT): Likewise.
Ian Lance Taylor [Mon, 14 Apr 1997 20:04:38 +0000 (20:04 +0000)]
revert last patch
Ian Lance Taylor [Mon, 14 Apr 1997 20:01:10 +0000 (20:01 +0000)]
* Makefile.in (INSTALL): Set to @INSTALL@.
Geoffrey Noer [Mon, 14 Apr 1997 18:57:47 +0000 (18:57 +0000)]
Mon Apr 14 11:55:27 1997 Geoffrey Noer <noer@pizza.cygnus.com>
* config/i386/cygwin32.mh: remove -lkernel32 from XM_CLIBS
since gcc automatically includes it
Ian Lance Taylor [Mon, 14 Apr 1997 16:37:29 +0000 (16:37 +0000)]
* binutils-all/ar.exp (long_filenames): Check for a file system
with a 14 character file name length limit.
Ian Lance Taylor [Mon, 14 Apr 1997 16:10:39 +0000 (16:10 +0000)]
From Thomas Graichen <graichen@rzpd.de>:
* configure.in: Use ${CONFIG_SHELL} when running $ac_config_sub.
* configure: Rebuild.
Ian Lance Taylor [Mon, 14 Apr 1997 16:05:50 +0000 (16:05 +0000)]
From Thomas Graichen <graichen@rzpd.de>:
* Makefile.in: Always use $(SHELL) when running move-if-change.
* configure.in: Use ${CONFIG_SHELL} when running $ac_config_sub.
* configure: Rebuild.
Ian Lance Taylor [Mon, 14 Apr 1997 15:57:21 +0000 (15:57 +0000)]
From Thomas Graichen <graichen@rzpd.de>:
* Makefile.in: Always use $(SHELL) when running move-if-change.
* configure.in: Use ${CONFIG_SHELL} when running $ac_config_sub.
* configure: Rebuild.
Ian Lance Taylor [Mon, 14 Apr 1997 15:47:24 +0000 (15:47 +0000)]
From Thomas Graichen <graichen@rzpd.de>:
* Makefile.in: Always use $(SHELL) when running move-if-change.
* configure.in: Use ${CONFIG_SHELL} when running $ac_config_sub.
* configure: Rebuild.
Ian Lance Taylor [Mon, 14 Apr 1997 15:38:18 +0000 (15:38 +0000)]
* configure: Use ${config_shell} with ${moveifchange}. From Thomas
Graichen <graichen@rzpd.de>.
David Edelsohn [Mon, 14 Apr 1997 00:52:36 +0000 (00:52 +0000)]
* cgen-*.c, m32r-*.c: #include sysdep.h instead of config.h.
Delete string{,s}.h support.
Ian Lance Taylor [Fri, 11 Apr 1997 22:14:21 +0000 (22:14 +0000)]
* elfcode.h (elf_slurp_symbol_table): Only subtract the section
VMA if this is an executable file or a shared object.
Ian Lance Taylor [Fri, 11 Apr 1997 20:37:37 +0000 (20:37 +0000)]
Fri Apr 11 16:37:10 1997 Niklas Hallqvist <niklas@appli.se>
* config.guess: Recognize OpenBSD systems correctly.
VS: ----------------------------------------------------------------------
Ian Lance Taylor [Fri, 11 Apr 1997 20:27:40 +0000 (20:27 +0000)]
* targets.c (netbsd_core_vec): Declare. From Gordon W. Ross
<gwr@mc.com>.
* libaout.h (struct aout_backend_data): Add entry_is_text_address
field.
* aout-target.h (SEGMENT_SIZE): Define to TARGET_PAGE_SIZE at the
start of the file. Remove uses later on which switch using
ifdef.
(MY(callback)): Handle entry_is_text_address.
(MY_entry_is_text_address): Define if not defined.
(MY(backend_data)): Initialize new field.
* aoutf1.h (sunos4_aout_backend): Likewise.
* i386aout.c (MY(backend_data)): Likewise.
* i386mach3.c (MY(backend_data)): Likewise.
* mipsbsd.c (MY(backend_data)): Likewise.
* sparclynx.c (sparclynx_aout_backend): Likewise.
* netbsd.h (SEGMENT_SIZE): Define if not defined.
(MY_entry_is_text_address): Define.
* m68knetbsd.c (SEGMENT_SIZE): Define as 0x20000
Ian Lance Taylor [Fri, 11 Apr 1997 19:44:15 +0000 (19:44 +0000)]
* xcofflink.c (bfd_xcoff_import_symbol): Handle importing a symbol
whose name starts with `.'.
PR 12061.
Ian Lance Taylor [Fri, 11 Apr 1997 15:59:02 +0000 (15:59 +0000)]
* config.bfd: (i[3456]86-*-openbsd*, m68*-*-openbsd*,
mips*el*-*-openbsd*, mips*-*-openbsd*, ns32k-*-openbsd*,
powerpc-*-*bsd*, sparc-*-openbsd*): New targets.
* configure.in (i[3456]86-*-openbsd*, mips*-*-openbsd*,
m68*-*-openbsd*, ns32k-*-openbsd*, powerpc-*-*bsd*,
sparc-*-openbsd*): New targets.
* configure: Rebuild.
Jason Molenda [Fri, 11 Apr 1997 08:07:11 +0000 (08:07 +0000)]
* README, Makefile.in (ETC_SUPPORT): Remove references to
cfg-paper*, configure.{texi,man,info*}._
David Edelsohn [Thu, 10 Apr 1997 23:40:30 +0000 (23:40 +0000)]
* cgen.c (cgen_parse_operand): Renamed from cgen_asm_parse_operand.
New argument `want'. Update enum cgen_parse_operand_result values.
Initialize if CGEN_PARSE_OPERAND_INIT.
* config/tc-m32r.c (md_begin): Set cgen_parse_operand_fn.
(md_assemble): Call cgen_asm_init_parse.
Update call to m32r_cgen_assemble_insn, call as_bad if assembly failed.
David Edelsohn [Thu, 10 Apr 1997 23:39:51 +0000 (23:39 +0000)]
* cgen-asm.c (cgen_parse_operand_fn): New global.
(cgen_parse_{{,un}signed_integer,address}): Update call to
cgen_parse_operand_fn.
(cgen_init_parse_operand): New function.
* m32r-asm.c (parse_insn_normal): cgen_init_parse_operand renamed
from cgen_asm_init_parse.
(m32r_cgen_assemble_insn): New operand `errmsg'.
Delete call to as_bad, return error message to caller.
(m32r_cgen_asm_hash_keywords): #if 0 out.
David Edelsohn [Thu, 10 Apr 1997 23:39:08 +0000 (23:39 +0000)]
* cgen.h (<cpu>_cgen_assemble_insn): New arg for errmsg.
(cgen_parse_operand_fn): Declare.
(cgen_init_parse_operand): Declare.
(cgen_parse_operand): Renamed from cgen_asm_parse_operand,
new argument `want'.
(enum cgen_parse_operand_result): Renamed from cgen_asm_result.
(enum cgen_parse_operand_type): New enum.
David Edelsohn [Thu, 10 Apr 1997 21:58:28 +0000 (21:58 +0000)]
* cgen-asm.c (cgen_asm_parse_operand_fn): New global.
(cgen_parse_{{,un}signed_integer,address}): Update call to
cgen_asm_parse_operand_fn.
* m32r-asm.c (parse_insn_normal): Delete call to cgen_asm_init_parse.
(m32r_cgen_assemble_insn): New operand `errmsg'.
Delete call to as_bad, return error message to caller.
(m32r_cgen_asm_hash_keywords): #if 0 out.
David Edelsohn [Thu, 10 Apr 1997 21:55:09 +0000 (21:55 +0000)]
* cgen.h (<cpu>_cgen_assemble_insn): New arg for errmsg.
(cgen_asm_parse_operand_fn): Declare.
David Edelsohn [Thu, 10 Apr 1997 21:54:15 +0000 (21:54 +0000)]
* config/tc-m32r.c (md_begin): Set cgen_asm_parse_operand_fn.
(md_assemble): Call cgen_asm_init_parse.
Update call to m32r_cgen_assemble_insn, call as_bad if assembly failed.
David Edelsohn [Thu, 10 Apr 1997 21:51:01 +0000 (21:51 +0000)]
Tweak comment.
Geoffrey Noer [Thu, 10 Apr 1997 20:24:42 +0000 (20:24 +0000)]
Thu Apr 10 13:20:53 1997 Geoffrey Noer <noer@cygnus.com>
* procfs.c: Substantial (but incomplete) changes to support
sysv4.2mp procfs as implemented in UnixWare 2.1. The procinfo
struct now has substructs like struct flt_ctl instead of
just a fltset_t and has a ctl_fd, status_fd, as_fd, and
map_fd instead of a single fd. Non-sysv4.2mp procfs models
still have the structs and multiple fds, but don't use the
entire struct and the four fds all point to the same thing.
We use PROCFS_USE_READ_WRITE to decide whether to talk to
procfs with reads/writes or use ioctl instead. We use
HAVE_MULTIPLE_PROC_FDS to determine whether procfs really has
multiple fds or not. PROC_NAME_FMT is split out into
CTL_PROC_NAME_FMT, AS_PROC_NAME_FMT, MAP_PROC_NAME_FMT,
STATUS_PROC_NAME_FMT.
(procfs_notice_signals): now a necessary wrapper around
(notice_signals): which are the new guts for noticing signals
(open_proc_file): gets a new flag arg used in sysv4.2mp to
determine whether or not to attempt to open the ctl_fd.
(procfs_read_status): new local function, reads procfs status
(procfs_write_pcwstop): new local function, writes a PCWSTOP
(procfs_write_pckill): new local function, writes a PCKILL
(unconditionally_kill_inferior): remove signo since we now
just call procfs_write_pckill().
(procfs_xfer_memory): call lseek with SEEK_SET rather than 0
(proc_iterate_over_mappings): the whole function is ifdefed
on UNIXWARE to keep things readable.
Expanded the syscall_table to include new potential sysv4.2mp
members. Note that all ifdefs of UNIXWARE should be eliminated
if possible or renamed to describe what's being selected for a
bit better. Sysv4.2mp and IRIX both have SYS_sproc so the
IRIX specific code now also checks it's not UNIXWARE.
* config/i386/tm-i386v42mp.h: also define HAVE_PSTATUS_T,
HAVE_NO_PRRUN_T, PROCFS_USE_READ_WRITE, and UNIXWARE
* config/mips/nm-irix4.h: set CTL_PROC_NAME_FMT et al to
"/debug/%d" as PROC_NAME_FMT used to be
Jeff Law [Wed, 9 Apr 1997 17:43:26 +0000 (17:43 +0000)]
* mn10300-tdep.c: Almost completely rewritten based on mn10200
port.
* config/mn10300/tm-mn10300.h: Likewise.
=== gdb Summary ===
# of expected passes 3890
# of unexpected failures 8
# of expected failures 39
# of unresolved testcases 1
Ian Lance Taylor [Wed, 9 Apr 1997 16:10:45 +0000 (16:10 +0000)]
Wed Apr 9 12:05:25 1997 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* m68k-dis.c (print_insn_arg) [case 'd']: Print as address register,
not data register.
[case 'J']: Fix typo in register name.
Ian Lance Taylor [Wed, 9 Apr 1997 15:50:13 +0000 (15:50 +0000)]
* config/tc-m68k.c (m68k_ip): Handle #j.
Bob Manson [Wed, 9 Apr 1997 05:54:15 +0000 (05:54 +0000)]
* gdb.base/watchpoint.exp(test_watchpoint_triggered_in_syscall):
Don't call gdb_test when the command doesn't return to a gdb prompt.
Oops.
Bob Manson [Wed, 9 Apr 1997 02:35:38 +0000 (02:35 +0000)]
Fix typo.
Bob Manson [Wed, 9 Apr 1997 02:35:07 +0000 (02:35 +0000)]
* lib/gdb.exp(gdb_stop_suppressing_tests): Don't print gratiutious
"Tests restarted" messages.
Michael Snyder [Tue, 8 Apr 1997 23:49:14 +0000 (23:49 +0000)]
Remove mention of .Sanitize from ChangeLogs
Jeff Law [Tue, 8 Apr 1997 22:50:33 +0000 (22:50 +0000)]
* gdb.disasm/mn10300.exp: Fix buglets in "other" tests.
Jeff Law [Tue, 8 Apr 1997 22:47:42 +0000 (22:47 +0000)]
* config/tc-mn10300.c (md_convert_frag): Create fixup at the
right address for call label:32,regs,imm.
Fixes bug exposed by gdb testsuite.
Ian Lance Taylor [Tue, 8 Apr 1997 22:10:27 +0000 (22:10 +0000)]
Tue Apr 8 18:09:29 1997 Jamie Lokier <jamie@rebellion.co.uk>
* stabs.c (struct stab_section_info): New field
`cumulative_skips'.
(_bfd_link_section_stabs): Fill the above array.
(_bfd_stab_section_offset): Use `cumulative_skips' to
speed up offset calculation.
Stu Grossman [Tue, 8 Apr 1997 17:50:50 +0000 (17:50 +0000)]
* config/pa/{hppabsd.mt hppahpux.mt hppaosf.mt}: Remove
remote-pa.o from TDEPFILES. Nobody uses it, and besides, it's a
lousy out-of-date clone of remote.c.
Jeff Law [Tue, 8 Apr 1997 13:52:51 +0000 (13:52 +0000)]
* elf32-mn10300.c (mn10300_elf_relax_section): Don't forget the
addend for non pc-relative relocations.
Bug exposed by testing relaxing linker.
Jeff Law [Tue, 8 Apr 1997 06:08:29 +0000 (06:08 +0000)]
* elf-m10300.c (bfd_elf32_mn10300_reloc): Remove prototype
for non-existent function.
Just something I noticed.
* elf-m10300.c (mn10300_elf_relax_section): New function.
(mn10300_elf_relax_delete_bytes): Likewise.
(mn10300_elf_symbol_address_p): Likewise.
(mn10300_elf_get_relocated_section_contents): Likewise.
(bfd_elf32_bfd_relax_section): Define.
(bfd_elf32_bfd_get_relocated_section_contents): Likewise.
Basic relaxing linker.
Jeff Law [Tue, 8 Apr 1997 06:01:20 +0000 (06:01 +0000)]
* simops.c (syscall): Handle new mn10300 calling conventions.
Forgot to check this in last week.
Michael Snyder [Tue, 8 Apr 1997 00:55:42 +0000 (00:55 +0000)]
* .Sanitize: remove sanitization for m32r.
Michael Snyder [Tue, 8 Apr 1997 00:51:12 +0000 (00:51 +0000)]
Mon Apr 7 17:46:23 1997 Michael Snyder <msnyder@cleaver.cygnus.com>
* .Sanitize: remove sanitization for M32R target.
David Edelsohn [Tue, 8 Apr 1997 00:30:30 +0000 (00:30 +0000)]
Remove m32r sanitization.
David Edelsohn [Mon, 7 Apr 1997 23:01:27 +0000 (23:01 +0000)]
Remove m32r sanitization.
Jeff Law [Mon, 7 Apr 1997 21:01:43 +0000 (21:01 +0000)]
* config/tc-hppa.c (pa_subspace_start): If OBJ_ELF, then always return
zero.
* config/tc-hppa.h (tc_frob_symbol): Don't reset the value of the
symbol for OBJ_ELF anymore.
Fixes testsuite problem for hppa1.1-hp-*elf*.
Ian Lance Taylor [Mon, 7 Apr 1997 21:01:00 +0000 (21:01 +0000)]
* configure.in: Substitute SHLIB_LIBS.
* configure: Rebuild.
* Makefile.in (SHLIB_LIBS): New variable.
($(SHLIB)): Use $(SHLIB_LIBS).
Ian Lance Taylor [Mon, 7 Apr 1997 21:00:31 +0000 (21:00 +0000)]
* configure.host: Set SHLIB_LIBS.
* configure.in: Substitute SHLIB_LIBS.
* configure: Rebuild.
* Makefile.in (SHLIB_LIBS): New variable.
($(SHLIB)): Use $(SHLIB_LIBS).
This page took 0.040525 seconds and 4 git commands to generate.