Commit graph

18947 commits

Author SHA1 Message Date
Andrew Cagney
7ec396d270 Get the BIT/MASK/ROT/... macros to work with any 32/64/MSB0/MSBn target. 1997-04-15 08:54:01 +00:00
Mark Alexander
8e7c36868b * remote-mips.c (mips_load): Ensure that PC gets updated
after a load on LSI target.
1997-04-15 00:09:24 +00:00
Geoffrey Noer
234c409626 Mon Apr 14 15:54:51 1997 Geoffrey Noer <noer@pizza.cygnus.com>
* procfs.c (notice_signals): fix typo
1997-04-14 23:06:49 +00:00
Ian Lance Taylor
f2906ccc4c rename install.sh to install-sh 1997-04-14 20:31:04 +00:00
Ian Lance Taylor
3ea58ef861 * gdbserver/Makefile.in (INSTALL): Change install.sh to
install-sh.
1997-04-14 20:25:38 +00:00
Ian Lance Taylor
e8255dfe37 * install-sh: Rename from install.sh.
* Makefile.in (INSTALL): Change install.sh to install-sh.
	(DEVO_SUPPORT): Likewise.
1997-04-14 20:22:49 +00:00
Ian Lance Taylor
4c62d7407d revert last patch 1997-04-14 20:04:38 +00:00
Ian Lance Taylor
7f92ace993 * Makefile.in (INSTALL): Set to @INSTALL@. 1997-04-14 20:01:10 +00:00
Geoffrey Noer
5e127f7693 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
1997-04-14 18:57:47 +00:00
Ian Lance Taylor
49163945f7 * binutils-all/ar.exp (long_filenames): Check for a file system
with a 14 character file name length limit.
1997-04-14 16:37:29 +00:00
Ian Lance Taylor
21d83d1cf9 From Thomas Graichen <graichen@rzpd.de>:
* configure.in: Use ${CONFIG_SHELL} when running $ac_config_sub.
	* configure: Rebuild.
1997-04-14 16:10:39 +00:00
Ian Lance Taylor
dca6429fad 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.
1997-04-14 16:05:50 +00:00
Ian Lance Taylor
575653d37d 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.
1997-04-14 15:57:21 +00:00
Ian Lance Taylor
e5d7e3df0d 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.
1997-04-14 15:47:24 +00:00
Ian Lance Taylor
fce42e0c00 * configure: Use ${config_shell} with ${moveifchange}. From Thomas
Graichen <graichen@rzpd.de>.
1997-04-14 15:38:18 +00:00
David Edelsohn
9c1858b400 * cgen-*.c, m32r-*.c: #include sysdep.h instead of config.h.
Delete string{,s}.h support.
1997-04-14 00:52:36 +00:00
Ian Lance Taylor
3bc3351e05 * elfcode.h (elf_slurp_symbol_table): Only subtract the section
VMA if this is an executable file or a shared object.
1997-04-11 22:14:21 +00:00
Ian Lance Taylor
f6c2270c6c Fri Apr 11 16:37:10 1997 Niklas Hallqvist <niklas@appli.se>
* config.guess: Recognize OpenBSD systems correctly.
VS: ----------------------------------------------------------------------
1997-04-11 20:37:37 +00:00
Ian Lance Taylor
faa0b8db32 * 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
1997-04-11 20:27:40 +00:00
Ian Lance Taylor
4b8c8bb988 * xcofflink.c (bfd_xcoff_import_symbol): Handle importing a symbol
whose name starts with `.'.
PR 12061.
1997-04-11 19:44:15 +00:00
Ian Lance Taylor
3b1b0308a4 * 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.
1997-04-11 15:59:02 +00:00
Jason Molenda
f046ec6725 * README, Makefile.in (ETC_SUPPORT): Remove references to
cfg-paper*, configure.{texi,man,info*}._
1997-04-11 08:07:11 +00:00
David Edelsohn
f3f00e9486 * 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.
1997-04-10 23:40:30 +00:00
David Edelsohn
a394e3262f * 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.
1997-04-10 23:39:51 +00:00
David Edelsohn
9b64639572 * 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.
1997-04-10 23:39:08 +00:00
David Edelsohn
5b3b8cb071 * 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.
1997-04-10 21:58:28 +00:00
David Edelsohn
fe2dd6424b * cgen.h (<cpu>_cgen_assemble_insn): New arg for errmsg.
(cgen_asm_parse_operand_fn): Declare.
1997-04-10 21:55:09 +00:00
David Edelsohn
4e9d8deacb * 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.
1997-04-10 21:54:15 +00:00
David Edelsohn
841eff9e79 Tweak comment. 1997-04-10 21:51:01 +00:00
Geoffrey Noer
234a732de0 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
1997-04-10 20:24:42 +00:00
Jeff Law
fc8d57c2dc * 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
1997-04-09 17:43:26 +00:00
Ian Lance Taylor
47332446f5 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.
1997-04-09 16:10:45 +00:00
Ian Lance Taylor
902a77ac80 * config/tc-m68k.c (m68k_ip): Handle #j. 1997-04-09 15:50:13 +00:00
Bob Manson
5f4c2f2db9 * 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.
1997-04-09 05:54:15 +00:00
Bob Manson
614fb1b421 Fix typo. 1997-04-09 02:35:38 +00:00
Bob Manson
1a84b8b1b4 * lib/gdb.exp(gdb_stop_suppressing_tests): Don't print gratiutious
"Tests restarted" messages.
1997-04-09 02:35:07 +00:00
Michael Snyder
df04bd49f6 Remove mention of .Sanitize from ChangeLogs 1997-04-08 23:49:14 +00:00
Jeff Law
69f80b9d40 * gdb.disasm/mn10300.exp: Fix buglets in "other" tests. 1997-04-08 22:50:33 +00:00
Jeff Law
967429536d * 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.
1997-04-08 22:47:42 +00:00
Ian Lance Taylor
57a3027b38 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.
1997-04-08 22:10:27 +00:00
Stu Grossman
524f442b04 * 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.
1997-04-08 17:50:50 +00:00
Jeff Law
6944401473 * elf32-mn10300.c (mn10300_elf_relax_section): Don't forget the
addend for non pc-relative relocations.
Bug exposed by testing relaxing linker.
1997-04-08 13:52:51 +00:00
Jeff Law
a01362cc63 * 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.
1997-04-08 06:08:29 +00:00
Jeff Law
81f13ed1f3 * simops.c (syscall): Handle new mn10300 calling conventions.
Forgot to check this in last week.
1997-04-08 06:01:20 +00:00
Michael Snyder
3ac09675e8 * .Sanitize: remove sanitization for m32r. 1997-04-08 00:55:42 +00:00
Michael Snyder
1397dff873 Mon Apr 7 17:46:23 1997 Michael Snyder <msnyder@cleaver.cygnus.com>
* .Sanitize: remove sanitization for M32R target.
1997-04-08 00:51:12 +00:00
David Edelsohn
3990f1cdf3 Remove m32r sanitization. 1997-04-08 00:30:30 +00:00
David Edelsohn
038e48cf64 Remove m32r sanitization. 1997-04-07 23:01:27 +00:00
Jeff Law
e41369a45f * 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*.
1997-04-07 21:01:43 +00:00
Ian Lance Taylor
b4aa23f244 * configure.in: Substitute SHLIB_LIBS.
* configure: Rebuild.
	* Makefile.in (SHLIB_LIBS): New variable.
	($(SHLIB)): Use $(SHLIB_LIBS).
1997-04-07 21:01:00 +00:00