binutils-gdb.git
27 years ago * cgen-asm.c (cgen_parse_operand_fn): New global.
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.

27 years ago * cgen.h (<cpu>_cgen_assemble_insn): New arg for errmsg.
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.

27 years ago * cgen-asm.c (cgen_asm_parse_operand_fn): New global.
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.

27 years ago * cgen.h (<cpu>_cgen_assemble_insn): New arg for errmsg.
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.

27 years ago * config/tc-m32r.c (md_begin): Set cgen_asm_parse_operand_fn.
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.

27 years agoTweak comment.
David Edelsohn [Thu, 10 Apr 1997 21:51:01 +0000 (21:51 +0000)]
Tweak comment.

27 years agoThu Apr 10 13:20:53 1997 Geoffrey Noer <noer@cygnus.com>
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

27 years ago * mn10300-tdep.c: Almost completely rewritten based on mn10200
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

27 years agoWed Apr 9 12:05:25 1997 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
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.

27 years ago * config/tc-m68k.c (m68k_ip): Handle #j.
Ian Lance Taylor [Wed, 9 Apr 1997 15:50:13 +0000 (15:50 +0000)]
* config/tc-m68k.c (m68k_ip): Handle #j.

27 years ago * gdb.base/watchpoint.exp(test_watchpoint_triggered_in_syscall):
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.

27 years ago Fix typo.
Bob Manson [Wed, 9 Apr 1997 02:35:38 +0000 (02:35 +0000)]
Fix typo.

27 years ago * lib/gdb.exp(gdb_stop_suppressing_tests): Don't print gratiutious
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.

27 years agoRemove mention of .Sanitize from ChangeLogs
Michael Snyder [Tue, 8 Apr 1997 23:49:14 +0000 (23:49 +0000)]
Remove mention of .Sanitize from ChangeLogs

27 years ago * gdb.disasm/mn10300.exp: Fix buglets in "other" tests.
Jeff Law [Tue, 8 Apr 1997 22:50:33 +0000 (22:50 +0000)]
    * gdb.disasm/mn10300.exp: Fix buglets in "other" tests.

27 years ago * config/tc-mn10300.c (md_convert_frag): Create fixup at the
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.

27 years agoTue Apr 8 18:09:29 1997 Jamie Lokier <jamie@rebellion.co.uk>
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.

27 years ago * config/pa/{hppabsd.mt hppahpux.mt hppaosf.mt}: Remove
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.

27 years ago * elf32-mn10300.c (mn10300_elf_relax_section): Don't forget the
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.

27 years ago * elf-m10300.c (bfd_elf32_mn10300_reloc): Remove prototype
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.

27 years ago * simops.c (syscall): Handle new mn10300 calling conventions.
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.

27 years ago * .Sanitize: remove sanitization for m32r.
Michael Snyder [Tue, 8 Apr 1997 00:55:42 +0000 (00:55 +0000)]
* .Sanitize: remove sanitization for m32r.

27 years agoMon Apr 7 17:46:23 1997 Michael Snyder <msnyder@cleaver.cygnus.com>
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.

27 years agoRemove m32r sanitization.
David Edelsohn [Tue, 8 Apr 1997 00:30:30 +0000 (00:30 +0000)]
Remove m32r sanitization.

27 years agoRemove m32r sanitization.
David Edelsohn [Mon, 7 Apr 1997 23:01:27 +0000 (23:01 +0000)]
Remove m32r sanitization.

27 years ago * config/tc-hppa.c (pa_subspace_start): If OBJ_ELF, then always return
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*.

27 years ago * configure.in: Substitute SHLIB_LIBS.
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).

27 years ago * configure.host: Set 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).

27 years ago * cgen-dis.c (build_dis_hash_table): Fix xmalloc size computation.
David Edelsohn [Mon, 7 Apr 1997 19:45:47 +0000 (19:45 +0000)]
* cgen-dis.c (build_dis_hash_table): Fix xmalloc size computation.

27 years ago * cgen-opc.c (hash_keyword_name): Improve algorithm.
David Edelsohn [Mon, 7 Apr 1997 19:27:12 +0000 (19:27 +0000)]
* cgen-opc.c (hash_keyword_name): Improve algorithm.

27 years ago * Makefile.in (distclean): Don't remove *.info files.
Ian Lance Taylor [Mon, 7 Apr 1997 19:24:32 +0000 (19:24 +0000)]
* Makefile.in (distclean): Don't remove *.info files.

27 years ago * disassemble.c (disassembler): Handle m32r.
David Edelsohn [Mon, 7 Apr 1997 18:46:21 +0000 (18:46 +0000)]
* disassemble.c (disassembler): Handle m32r.

27 years ago * Makefile.in: Regenerate dependencies.
David Edelsohn [Mon, 7 Apr 1997 18:38:33 +0000 (18:38 +0000)]
* Makefile.in: Regenerate dependencies.
  (TARG_CPU): New variable.
(cgen.o): Depend on cgen.h, $(TARG_CPU)-opc.h.
(.dep1): Delete creating of cgen-opc.h.
(.tcdep): Put proper contents in cgen-opc.h.
* configure.in (m32r): Delete setting of extra_files, extra_links.
(AC_OUTPUT): Create cgen-opc.h.
* configure: Regenerated.

27 years agoMon Apr 7 10:53:52 1997 Michael Snyder <msnyder@cleaver.cygnus.com>
Michael Snyder [Mon, 7 Apr 1997 17:56:18 +0000 (17:56 +0000)]
Mon Apr  7 10:53:52 1997  Michael Snyder  <msnyder@cleaver.cygnus.com>

        * bfd-in.h bfd-in2.h: add bfd_section_lma macro to correspond
        with bfd_section_vma.

27 years ago * sim-base.h (sim_state_base): Move `magic' to end of struct.
David Edelsohn [Mon, 7 Apr 1997 17:47:38 +0000 (17:47 +0000)]
* sim-base.h (sim_state_base): Move `magic' to end of struct.

27 years agoCheck a program to run is present.
Andrew Cagney [Mon, 7 Apr 1997 06:07:13 +0000 (06:07 +0000)]
Check a program to run is present.

27 years agoGet configure to define RETSIGTYPE
Andrew Cagney [Mon, 7 Apr 1997 05:58:59 +0000 (05:58 +0000)]
Get configure to define RETSIGTYPE

27 years agoBuild X11 targets before gcc/targetlib.
Andrew Cagney [Mon, 7 Apr 1997 05:37:46 +0000 (05:37 +0000)]
Build X11 targets before gcc/targetlib.

27 years agoUse $(srcdir)/... instead of $< in make rules
Andrew Cagney [Mon, 7 Apr 1997 05:21:04 +0000 (05:21 +0000)]
Use $(srcdir)/... instead of $< in make rules

27 years agoSat Apr 5 13:19:12 1997 Klaus Kaempf <kkaempf@progis.de>
Ian Lance Taylor [Sat, 5 Apr 1997 18:20:59 +0000 (18:20 +0000)]
Sat Apr  5 13:19:12 1997  Klaus Kaempf  <kkaempf@progis.de>

* makefile.vms: Update to build gasp.exe.

27 years ago * i386.h: Revert last patch for the NON_BROKEN_OPCODES cases.
Ian Lance Taylor [Sat, 5 Apr 1997 18:15:32 +0000 (18:15 +0000)]
* i386.h: Revert last patch for the NON_BROKEN_OPCODES cases.

27 years ago * write.c (relax_frag): Make non-static.
David Edelsohn [Sat, 5 Apr 1997 02:34:40 +0000 (02:34 +0000)]
* write.c (relax_frag): Make non-static.
* write.h (relax_frag): Add prototype for.
* config/tc-m32r.h (md_do_align): New arg `max'.
* config/tc-m32r.c (m32r_do_align): Likewise.
Update calls to frag_align, frag_align_pattern.
(fill_insn): Update call to m32r_do_align.
(m32r_scomm): Update call to frag_align.

27 years ago * Makefile.in: Change mn10300-opc.o to m10300-opc.o, to match
Ian Lance Taylor [Sat, 5 Apr 1997 01:03:01 +0000 (01:03 +0000)]
* Makefile.in: Change mn10300-opc.o to m10300-opc.o, to match
corresponding change in opcodes directory.

27 years ago * configure.in: Correct file names for bfd_mn10[23]00_arch.
Ian Lance Taylor [Sat, 5 Apr 1997 00:57:46 +0000 (00:57 +0000)]
* configure.in: Correct file names for bfd_mn10[23]00_arch.
* configure: Rebuild.

27 years ago * configure.in: Update file names for bfd_elf32_mn10[23]00_vec.
Ian Lance Taylor [Sat, 5 Apr 1997 00:52:15 +0000 (00:52 +0000)]
* configure.in: Update file names for bfd_elf32_mn10[23]00_vec.
Correct CPU file names for mn10[23]00.
* configure: Rebuild.

27 years ago * frags.c (frag_var): fr_pcrel_adjust renamed to
David Edelsohn [Sat, 5 Apr 1997 00:35:29 +0000 (00:35 +0000)]
* frags.c (frag_var): fr_pcrel_adjust renamed to
fr_targ.ns32k.pcrel_adjust.  fr_bsr renamed to fr_targ.ns32k.bsr.
(frag_variant): Likewise.
* Makefile.in: Tweak last entry, cgen.o is in extra_objects!

27 years ago * config/tc-m32r.[ch]: New files.
David Edelsohn [Sat, 5 Apr 1997 00:21:26 +0000 (00:21 +0000)]
* config/tc-m32r.[ch]: New files.
* cgen.c: New file.
* Makefile.in (CPU_TYPES): Add m32r.
(CFILES): Add cgen.c.
(TARGET_CPU_CFILES): Add tc-m32r.c.
(TARGET_CPU_HFILES): Add tc-m32r.h.
(OBJS): Add cgen.o.
(DISTCLEAN_HERE): Add cgen-opc.h.
(.dep1,.tcdep): Create empty cgen-opc.h.
(cgen.o): Add dependencies.
(dependencies): Regenerate.
* as.h (struct frag): New member fr_targ.
(fr_pcrel_adjust,fr_bsr): Move into union fr_targ.ns32k.
* conf.in (USING_CGEN): New macro.
* configure.in (m32r-*-*): Add entry for.
* configure: Regenerate.
* write.c (relax_frag): fr_pcrel_adjust renamed to
fr_targ.ns32k.pcrel_adjust.
* config/tc-ns32k.c (*): Likewise.
fr_bsr renamed to fr_targ.ns32k.bsr.

27 years agom32r support.
David Edelsohn [Sat, 5 Apr 1997 00:09:41 +0000 (00:09 +0000)]
m32r support.

27 years ago * gas/all/float.s: Put a tab before .text, to keep the PA happy.
Ian Lance Taylor [Fri, 4 Apr 1997 22:50:43 +0000 (22:50 +0000)]
* gas/all/float.s: Put a tab before .text, to keep the PA happy.

27 years ago * config/tc-hppa.h (TC_EOL_IN_INSN): Check explicitly for '!',
Ian Lance Taylor [Fri, 4 Apr 1997 22:49:21 +0000 (22:49 +0000)]
* config/tc-hppa.h (TC_EOL_IN_INSN): Check explicitly for '!',
rather than for any end of line character.

27 years ago * config/tc-hppa.c (tc_gen_reloc): If hppa_ren_reloc_type fails,
Ian Lance Taylor [Fri, 4 Apr 1997 22:48:24 +0000 (22:48 +0000)]
* config/tc-hppa.c (tc_gen_reloc): If hppa_ren_reloc_type fails,
call abort (i.e., as_abort) rather than crashing.

27 years ago * gas/arm/arm.exp: Only run inst and arm7t on targets which can
Ian Lance Taylor [Fri, 4 Apr 1997 21:57:17 +0000 (21:57 +0000)]
* gas/arm/arm.exp: Only run inst and arm7t on targets which can
handle -EL.  Add setup_xfail for thumb.

27 years ago * config/tc-mips.c: Protect uses of STO_MIPS16 with an ifdef of
Ian Lance Taylor [Fri, 4 Apr 1997 21:12:50 +0000 (21:12 +0000)]
* config/tc-mips.c: Protect uses of STO_MIPS16 with an ifdef of
OBJ_ELF, rather than of S_GET_OTHER.

27 years agoAdd cgen, m32r files.
David Edelsohn [Fri, 4 Apr 1997 21:07:29 +0000 (21:07 +0000)]
Add cgen, m32r files.

27 years ago * m32r-asm.c, m32r-dis.c, m32r-opc.c, m32r-opc.h: New files.
David Edelsohn [Fri, 4 Apr 1997 21:07:02 +0000 (21:07 +0000)]
* m32r-asm.c, m32r-dis.c, m32r-opc.c, m32r-opc.h: New files.
* cgen-asm.c, cgen-dis.c, cgen-opc.c: New files.
* Makefile.in (CFILES): Add them.
(ALL_MACHINES): Add them.
(dependencies): Regenerate.
* configure.in (cgen_files): New variable.
(bfd_m32r_arch): Add entry.
* configure: Regenerate.

27 years ago * bfd.c (bfd_record_phdr): Cast count to size_t before
Ian Lance Taylor [Fri, 4 Apr 1997 20:59:36 +0000 (20:59 +0000)]
* bfd.c (bfd_record_phdr): Cast count to size_t before
subtraction.

27 years ago * emultempl/pe.em: Include "libiberty.h".
Ian Lance Taylor [Fri, 4 Apr 1997 20:29:58 +0000 (20:29 +0000)]
* emultempl/pe.em: Include "libiberty.h".
(sort_sections_1): Use xmalloc rather than alloca.

27 years ago * configure.in: Add AC_FUNC_ALLOCA.
Ian Lance Taylor [Fri, 4 Apr 1997 20:07:07 +0000 (20:07 +0000)]
* configure.in: Add AC_FUNC_ALLOCA.
* configure, config.in: Rebuild.
* bucomm.h: Add alloca handling, copied from gas/as.h.
* dlltool.c: Add #pragma alloca for AIX to start of file.
* nlmconv.c: Likewise.

27 years agocgen header file
David Edelsohn [Fri, 4 Apr 1997 19:48:32 +0000 (19:48 +0000)]
cgen header file

27 years ago * Makefile.in: Rebuild dependencies.
Ian Lance Taylor [Fri, 4 Apr 1997 19:36:26 +0000 (19:36 +0000)]
* Makefile.in: Rebuild dependencies.

27 years ago * coff-ppc.c (dump_toc): Add cast to avoid warning from SunOS cc.
Ian Lance Taylor [Fri, 4 Apr 1997 19:35:32 +0000 (19:35 +0000)]
* coff-ppc.c (dump_toc): Add cast to avoid warning from SunOS cc.
* coff-rs6000.c (xcoff_read_ar_hdr): Likewise.
(xcoff_write_archive_contents): LIkewise.
* elf32-mips.c (_bfd_mips_elf_set_section_contents): Likewise.
(mips_elf_create_procedure_table): Likewise.
* peicode.h (pe_print_idata): Likewise.
(pe_print_edata, pe_print_pdata, pe_print_reloc): Likewise.
* xcofflink.c (xcoff_get_section_contents): Likewise.
(_bfd_xcoff_canonicalize_dynamic_symtab): Likewise.
(xcoff_link_add_symbols): Likewise.
(xcoff_link_add_symbols): Likewise.

27 years ago * d10v-dis.c: Include "ansidecl.h" before "opcode/d10v.h".
Ian Lance Taylor [Fri, 4 Apr 1997 19:25:29 +0000 (19:25 +0000)]
* d10v-dis.c: Include "ansidecl.h" before "opcode/d10v.h".

27 years ago * ppcboot.c (ppcboot_set_arch_mach): Make static.
Ian Lance Taylor [Fri, 4 Apr 1997 19:08:42 +0000 (19:08 +0000)]
* ppcboot.c (ppcboot_set_arch_mach): Make static.
(ppcboot_bfd_print_private_bfd_data): Likewise.

27 years agoupdate copyright
Ian Lance Taylor [Fri, 4 Apr 1997 19:06:12 +0000 (19:06 +0000)]
update copyright

27 years ago * i386-dis.c (float_reg): Swap fsubrp and fsubp. Swap fdivrp and
Ian Lance Taylor [Fri, 4 Apr 1997 19:05:12 +0000 (19:05 +0000)]
* i386-dis.c (float_reg): Swap fsubrp and fsubp.  Swap fdivrp and
fdivp.

27 years ago * i386.h: Correct opcode values for fsubp, fsubrp, fdivp, and
Ian Lance Taylor [Fri, 4 Apr 1997 19:03:15 +0000 (19:03 +0000)]
* i386.h: Correct opcode values for fsubp, fsubrp, fdivp, and
fdivrp.

27 years ago * remote.c: Fix problems realized while showering.
Stu Grossman [Fri, 4 Apr 1997 18:53:26 +0000 (18:53 +0000)]
* remote.c:  Fix problems realized while showering.
* (hexnumlen):  Add prototype.  Use max, not min.
* (remote_write_bytes remote_read_bytes):  Fix max packet size
calculations to properly account for packet overhead.  Also handle
(probably rare) case where remote_register_buf_size isn't set.

27 years ago * Makefile.in (distclean): Remove site.exp and site.bak. Remove
Ian Lance Taylor [Fri, 4 Apr 1997 18:35:06 +0000 (18:35 +0000)]
* Makefile.in (distclean): Remove site.exp and site.bak.  Remove
everything that clean removes.

27 years ago * Makefile.in (distclean): Remove site.exp and site.bak.
Ian Lance Taylor [Fri, 4 Apr 1997 18:28:25 +0000 (18:28 +0000)]
* Makefile.in (distclean): Remove site.exp and site.bak.

27 years ago * Makefile.in (DISTCLEAN_HERE): Add site.exp and site.bak.
Ian Lance Taylor [Fri, 4 Apr 1997 18:26:33 +0000 (18:26 +0000)]
* Makefile.in (DISTCLEAN_HERE): Add site.exp and site.bak.

27 years ago * gas/h8300/ffxx1.d: Don't fail if BFD is 64 bits.
Ian Lance Taylor [Fri, 4 Apr 1997 18:24:03 +0000 (18:24 +0000)]
* gas/h8300/ffxx1.d: Don't fail if BFD is 64 bits.

27 years ago * remote.c: Fix doc for `C' and `S' commands to indicate full
Stu Grossman [Fri, 4 Apr 1997 16:52:55 +0000 (16:52 +0000)]
* remote.c:  Fix doc for `C' and `S' commands to indicate full
address.
* (remote_ops extended_remote_ops remote_desc remote_write_size):
Make static.
* (remote_fetch_registers remote_write_bytes remote_read_bytes):
Record size of response to fetch registers command, use this to
limit size of memory read and write commands.
* (push_remote_target):  New function to make it possible to have
another target switch to the remote target.
* target.h:  Add prototype for push_remote_target.
* sh-tdep.c (sh_frame_find_saved_regs):  Fix sign extension bugs
for hosts which default to unsigned chars (such as SGI's).
* (_initialize_sh_tdep):  Don't set remote_write_size.  It's now
handled automatically in remote.c.

27 years ago * ldlex.l: Recognize SQUAD.
Ian Lance Taylor [Fri, 4 Apr 1997 16:48:27 +0000 (16:48 +0000)]
* ldlex.l: Recognize SQUAD.
* ldgram.y (length): Add SQUAD.
* ldlang.c (print_data_statement): Handle SQUAD.
(lang_size_sections, lang_do_assignments): Likewise.
* ldexp.c (exp_print_token): Add SQUAD to table.
* ldwrite.c (build_link_order): Handle SQUAD.
* ld.texinfo (Section Data Expressions): Document SQUAD.

27 years ago * elf32-mips.c (elf_mips_ctor64_howto): Set complain_on_overflow
Ian Lance Taylor [Fri, 4 Apr 1997 16:38:02 +0000 (16:38 +0000)]
* elf32-mips.c (elf_mips_ctor64_howto): Set complain_on_overflow
to complain_overflow_signed.

27 years ago * gas/m32r/allinsn.{exp,s.d}: New testcases.
David Edelsohn [Fri, 4 Apr 1997 02:27:27 +0000 (02:27 +0000)]
* gas/m32r/allinsn.{exp,s.d}: New testcases.

27 years agom32r "allinsn" testcases
David Edelsohn [Fri, 4 Apr 1997 02:26:33 +0000 (02:26 +0000)]
m32r "allinsn" testcases

27 years agoKeep m32r.
David Edelsohn [Thu, 3 Apr 1997 23:25:42 +0000 (23:25 +0000)]
Keep m32r.

27 years agoThu Apr 3 15:21:26 1997 Michael Snyder <msnyder@cleaver.cygnus.com>
Michael Snyder [Thu, 3 Apr 1997 23:24:30 +0000 (23:24 +0000)]
Thu Apr  3 15:21:26 1997  Michael Snyder  <msnyder@cleaver.cygnus.com>

        * gdb.base/help.exp: update help msg for INFO ADDR; add help test
        for INFO SYMBOL; add help tests for OVERLAY commands.
        * gdb.base/default.exp: add tests for INFO SYMBOL command;
        add tests for OVERLAY commands
        * gdb.base/overlays.c overlays.exp foo.c bar.c baz.c grbx.c ovlymgr.h
        d10v.ld m32r.ld d10vovly.c m32rovly.c: add test case for overlays.
        * gdb.base/sigall.c: add usestubs code frag
        * gdb.base/watchpoint.c: turn on complex watchpoint test for M32R.

27 years agoThu Apr 3 15:10:30 1997 Michael Snyder <msnyder@cleaver.cygnus.com>
Michael Snyder [Thu, 3 Apr 1997 23:19:46 +0000 (23:19 +0000)]
Thu Apr  3 15:10:30 1997  Michael Snyder  <msnyder@cleaver.cygnus.com>

Except for the two m32r modules, this checkin is for
overlay support.

        * blockframe.c: blockvector_for_pc_sect(), block_for_pc_sect(),
        find_pc_sect_function(), find_pc_sect_partial_function(): new
        functions for debugging overlays; pc without section is ambiguous.
        * breakpoint.[ch]: add section pointer to breakpoint struct;
        add section argument to check_duplicates(); check section as well
        as pc in [breakpoint_here_p(), breakpoint_inserted_here_p(),
        breakpoint_thread_match(), bpstat_stop_status()];
        add section argument to describe_other_breakpoints();
        use INIT_SAL() macro to zero-out new sal structures;
        make resolve_sal_pc() fix up the sal's section as well as its pc;
        match on section + pc in clear_command() and delete_breakpoint();
        account for overlay sections in insert_breakpoints(),
        remove_breakpoint() and breakpoint_re_set_one();
        all this to support overlays where a PC is not unique.
        * exec.c: change xfer_memory() to handle overlay sections.
        * findvar.c: change read_var_value() to handle overlay sections.
        * frame.h: declaration for block_for_pc_sect() [blockframe.c].
        * infcmd.c: jump_command() warns against jumping into an overlay
        that's not in memory.  Also use INIT_SAL() to initialize sals.
        * infrun.c: wait_for_inferior() sets a flag to invalidate cached
        overlay state information; Also use INIT_SAL() to init sals.
        * m32r-rom.c: modify load routines to use LMA instead of VMA.
        * m32r-stub.c: mask exit value down to 8 bits; screen out any
        memory read/writes in the range 600000 to a00000, and ff680000
        to ff800000 (hangs because nothing is mapped there); fix strcpy().
        * maint.c: maintenance command "translate-address" supports overlays.
        * minsyms.c: lookup_minimal_symbol_by_pc_sect() supports overlays.
        * objfiles.[ch]: add ovly_mapped field to the obj_section struct;
        this constitutes gdb's internal overlay mapping table.  Add macro
        ALL_OBJSECTIONS() to loop thru the obj_structs and look at overlays.
        Add function find_pc_sect_section().
        * printcmd.c: modify print_address_symbolic() with overlay smarts;
        modify address_info() with overlay smarts; add function sym_info()
        to support the INFO SYMBOL command (translate address to symbol(s));
        modify disassemble_command() to work on unmapped overlays.
        * source.c: use INIT_SAL() to initialize sals.
        * symfile.[ch]: change generic_load() to use section's LMA address
        instead of VMA address, for overlay sections.
        Add numerous functions for finding a PC's section / overlay,
        translating between VMA and LMA address ranges, determining if an
        overlay section is mapped, etc.  Add several user commands for
        overlay debugging.  Add support for a "generic" form of automatically
        reading overlay mapping info from the inferior (based on the default
        (simple) overlay manager which Cygnus provides as an example).
        * symtab.[ch]: add functions find_pc_sect_symtab(),
        find_pc_sect_psymtab(), find_pc_sect_psymbol(), find_pc_sect_line()
        for lookup; modify lookup_symbol and decode_line_1() to use them;
        modify find_function_start_sal() to account for overlay sections;
        add macro INIT_SAL() for initializing struct symtab_and_line.
        * target.c: fix a comment in the declaration of target_ops.

27 years ago * mips-tdep.c (mips_in_call_stub, mips_in_return_stub,
Mark Alexander [Thu, 3 Apr 1997 19:43:39 +0000 (19:43 +0000)]
* mips-tdep.c (mips_in_call_stub, mips_in_return_stub,
mips_skip_stub, mips_ignore_helper): New functions for dealing
with MIPS16 call/return thunks.
(mips_init_frame_pc_first): New function to implement
INIT_FRAME_PC_FIRST macro; includes code from old macro plus
new code to skip over MIPS16 thunks.
(mips_frame_chain): Skip over MIPS16 thunks.
* config/mips/tm-mips.h (mips_in_call_stub, mips_in_return_stub,
mips_skip_stub, mips_ignore_helper): Declare.
(IN_SOLIB_CALL_TRAMPOLINE, IN_SOLIB_RETURN_TRAMPOLINE,
SKIP_TRAMPOLINE_CODE, IGNORE_HELPER_CALL): New macros that invoke
the above functions.
(INIT_FRAME_PC_FIRST): Change to invoke mips_init_frame_pc.
(mips_init_frame_pc): Declare.
* infrun.c (wait_for_inferior): Use new IGNORE_HELPER_CALL macro
to decide if certain library function calls should be ignored.

27 years ago * Branched binutils 2.8.
Ian Lance Taylor [Thu, 3 Apr 1997 18:23:17 +0000 (18:23 +0000)]
* Branched binutils 2.8.

27 years ago * gprof.c (VERSION): Define as "2.8.1".
Ian Lance Taylor [Thu, 3 Apr 1997 18:21:59 +0000 (18:21 +0000)]
* gprof.c (VERSION): Define as "2.8.1".

27 years ago * ldver.c (ld_program_version): Set to 2.8.1.
Ian Lance Taylor [Thu, 3 Apr 1997 18:20:40 +0000 (18:20 +0000)]
* ldver.c (ld_program_version): Set to 2.8.1.

27 years ago * Makefile.in (VERSION): Set to 2.8.1.
Ian Lance Taylor [Thu, 3 Apr 1997 18:19:26 +0000 (18:19 +0000)]
* Makefile.in (VERSION): Set to 2.8.1.

27 years ago * VERSION: Set to 2.8.1.
Ian Lance Taylor [Thu, 3 Apr 1997 18:16:38 +0000 (18:16 +0000)]
* VERSION: Set to 2.8.1.

* Branched binutils 2.8.

27 years ago * lib/gdb.exp(gdb_suppress_tests): Add explanation for subsequent
Bob Manson [Thu, 3 Apr 1997 17:47:33 +0000 (17:47 +0000)]
* lib/gdb.exp(gdb_suppress_tests): Add explanation for subsequent
failures.
(gdb_stop_suppressing_tests): Note that tests have restarted.

27 years agotweak last patch
Ian Lance Taylor [Thu, 3 Apr 1997 16:27:28 +0000 (16:27 +0000)]
tweak last patch

27 years ago * mpw-idtmips.c: Rename from mpw-emipsidt.c.
Ian Lance Taylor [Thu, 3 Apr 1997 05:50:32 +0000 (05:50 +0000)]
* mpw-idtmips.c: Rename from mpw-emipsidt.c.
* mpw-elfmips.c: Rename from mpw-emipself.c.
* mpw-config.in: Update accordingly.

27 years ago * config/h8300.exp: New file.
Bob Manson [Thu, 3 Apr 1997 03:05:12 +0000 (03:05 +0000)]
* config/h8300.exp: New file.

27 years ago * sim-endian.h: Move host {LITTLE,BIG}_ENDIAN support from here,
David Edelsohn [Thu, 3 Apr 1997 03:02:48 +0000 (03:02 +0000)]
* sim-endian.h: Move host {LITTLE,BIG}_ENDIAN support from here,
* sim-config.h: To here.

27 years ago * gen-support.c (gen_support_c): sim-state.h renamed to sim-main.h.
David Edelsohn [Thu, 3 Apr 1997 02:52:07 +0000 (02:52 +0000)]
* gen-support.c (gen_support_c): sim-state.h renamed to sim-main.h.
* gen-idecode.c (gen_idecode_c): Likewise.
* igen.c (gen_semantics_c): Likewise.

27 years agoNew files.
David Edelsohn [Thu, 3 Apr 1997 02:37:44 +0000 (02:37 +0000)]
New files.

27 years ago * Make-common.in (SIM_EXTRA_DEPS): New config var.
David Edelsohn [Thu, 3 Apr 1997 02:36:59 +0000 (02:36 +0000)]
* Make-common.in (SIM_EXTRA_DEPS): New config var.
(sim_main_headers): Define.
(sim-*.o): Depend on $(SIM_EXTRA_DEPS).
(BUILT_SRC_FROM_COMMON): Move here from ../d30v/Makefile.in.
(clean): Use it.
(sim-utils.o): Add rule for.
* sim-utils.o: New file.
* sim-basics.h: #include sim-base.h.
(zalloc): Make argument unsigned long.
* sim-base.h: New file.
* sim-inline.h (SIM_IO support): Delete.
* sim-io.h: Delete inline support.
* sim-io.c: Likewise.  sim-state.h renamed to sim-main.h.
* sim-config.c: sim-state.h renamed to sim-main.h.
* sim-core.c: Likewise.
* sim-events.c: Likewise.

27 years agoFrom Jim Wilson, fix typo in instruction name
Andrew Cagney [Thu, 3 Apr 1997 02:36:28 +0000 (02:36 +0000)]
From Jim Wilson, fix typo in instruction name

27 years ago (autoconf-changelog): Try different way to obtain user name.
David Edelsohn [Thu, 3 Apr 1997 02:35:52 +0000 (02:35 +0000)]
(autoconf-changelog): Try different way to obtain user name.
Forgot this one.

27 years agoAdd autoheader counterpart to autoconf-common et.al.
Andrew Cagney [Thu, 3 Apr 1997 02:22:52 +0000 (02:22 +0000)]
Add autoheader counterpart to autoconf-common et.al.

27 years ago(sim_open): Update comment.
David Edelsohn [Wed, 2 Apr 1997 23:47:49 +0000 (23:47 +0000)]
(sim_open): Update comment.

27 years ago * interp.c (sim_open): New arg `kind'. `name is now `argv'.
David Edelsohn [Wed, 2 Apr 1997 23:41:09 +0000 (23:41 +0000)]
* interp.c (sim_open): New arg `kind'.  `name is now `argv'.

27 years ago * interp.c (sim_open): New arg `kind'.
David Edelsohn [Wed, 2 Apr 1997 23:39:50 +0000 (23:39 +0000)]
* interp.c (sim_open): New arg `kind'.

27 years ago * sim_calls.c (sim_open): New arg `kind'.
David Edelsohn [Wed, 2 Apr 1997 23:38:22 +0000 (23:38 +0000)]
* sim_calls.c (sim_open): New arg `kind'.