Jeff Law [Tue, 28 Jul 1998 17:03:05 +0000 (17:03 +0000)]
* config/tc-mn10300.c (md_assemble): Fix "errmsg" initialization
to work with internationalization code. Issue an error when two
operands match that are not allowed to match.
* configure.in (install_tooldir): Allow target to specify whether
it wants to be installed in $(tooldir)/bin.
start-sanitize-sky
(dvp-*-*): Don't install in $(tooldir)/bin.
end-sanitize-sky
* configure: Regenerate.
* Makefile.am (install-exec-local): Set install-exec-tooldir
dependency via configure.
* Makefile.in: Regenerate.
Michael Snyder [Mon, 27 Jul 1998 23:13:22 +0000 (23:13 +0000)]
Mon Jul 27 16:11:42 1998 Michael Snyder <msnyder@cleaver.cygnus.com>
* tracepoint.c (remote_set_transparent_ranges): new function.
Send the start and end addresses of all loadable read-only
sections down to the trace target, so that it can treat them
as "transparent" (ie. don't care if they were collected or not).
Martin Hunt [Mon, 27 Jul 1998 20:23:32 +0000 (20:23 +0000)]
Mon Jul 27 10:45:56 1998 Martin M. Hunt <hunt@cygnus.com>
* symtab.c (decode_line_1): For minimal symbol, call
find_pc_sect_line() to make sure the line number gets set
properly.
(print_symbol_info): Redeclare function void.
Jason Molenda [Mon, 27 Jul 1998 19:24:40 +0000 (19:24 +0000)]
1998-07-27 Jason Molenda (jsm@bugshack.cygnus.com)
* config/d10v/tm-d10v.h (REGISTER_NAMES): sp -> r15. The
stack pointer et al are synthesized from the SP_REGNUM (etc)
defines and should not be mentioned in REGISTER_NAMES.
There is a log discussion copied into PR 15966 about how this is not
handled consistently across all targets and we ought to clean it up
a bit. I'm not tackling the general for this PR, though.
Andrew Cagney [Sat, 25 Jul 1998 06:45:18 +0000 (06:45 +0000)]
Add new file vr.igen which is a merge of vr5400.igen and vr4320.igen.
Hack sanitize so that it doesn't sanitize vrXXX when either of
keep-vr5400 or keep-vr4320 are specified.
Move two basic vr4100 instructions from mips.igen to vr.igen.
* Makefile.in (INSTALL_TARGET): Move EXTRA_TARGET_HOST_INSTALL_MODULES
to here ...
(install-no-fixedincludes): and here
(INSTALL_MODULES): ... to here.
* op_utils.c (do_syscall): Rewrite to use common/syscall.c.
(syscall_read_mem, syscall_write_mem): New functions for syscall
callbacks.
* mn10300_sim.h: Add prototypes for syscall_read_mem and
syscall_write_mem.
* mn10300.igen: Change C++ style comments to C style comments.
Check for divide by zero in div and divu ops.
Keith Seitz [Fri, 24 Jul 1998 22:11:22 +0000 (22:11 +0000)]
* gdb.gdbtk/Makefile.in: Add new example program "stack".
* gdb.gdbtk/browser.test,browser.exp: Add browser window
tests.
* gdb.gdbtk/stack1.c,stack2.c: Test case for browser window.
Keith Seitz [Fri, 24 Jul 1998 22:02:39 +0000 (22:02 +0000)]
* gdbtk-cmds.c (gdb_search): Add missing NULL to switches.
Add missing flags to result_ptr.
Pass along any errors caused by getting the list of files from
tcl.
Allocate correct amount of memory for the file list.
Don't do any unecessary cleanups.
Jeff Law [Fri, 24 Jul 1998 21:52:43 +0000 (21:52 +0000)]
* gdb.disasm/am33.s: Add tests for autoincrement instructions.
* gdb.disasm/am33.exp: Run time. Update tests which use r8-r15
to use a0-a3/d0-d3 as needed.
Michael Snyder [Fri, 24 Jul 1998 21:44:14 +0000 (21:44 +0000)]
Fri Jul 24 14:41:19 1998 Michael Snyder <msnyder@cleaver.cygnus.com>
* tracepoint.c (encode_actions): Treat register names and simple
variable names as special cases and don't convert them to byte-
codes: these things can be collected far more efficiently
without invoking the bytecode interpreter.
Ian Lance Taylor [Fri, 24 Jul 1998 20:33:13 +0000 (20:33 +0000)]
* Makefile.am (install-exec-local): Don't remove the file before
checking whether $(bindir) == $(tooldir)/bin. From Maciej
W. Rozycki <macro@ds2.pg.gda.pl>.
* Makefile.in: Rebuild.
Ian Lance Taylor [Fri, 24 Jul 1998 16:51:33 +0000 (16:51 +0000)]
start-sanitize-r5900
The value of R_MIPS15_S3 has changed:
* elf32-mips.c (elf_mips15_s3_howto): New static variable.
(mips_reloc_map): Remove BFD_RELOC_MIPS15_S3.
(bfd_elf32_bfd_reloc_type_lookup): Handle BFD_RELOC_MIPS15_S3
specially.
(mips_info_to_howto_rel): Handle R_MIPS15_S3 specially.
(mips_elf_relocate_section): Check for R_MIPS15_S3.
end-sanitize-r5900
* elf32-mips.c (elf_mips_howto_table): Add reloc types used on
Irix 6.
(bfd_elf32_bfd_reloc_type_lookup): Add default case.
* elf64-mips.c: Replace all uses of mips_elf64_reloc_type with
elf_mips_reloc_type defined in elf/mips.h.
* config/tc-dvp.c (assemble_vif): Make label at start of overlay
a local label.
(create_vuoverlay_section): Put __start_ label at start of overlay
for gdb.
* configure.in (mips64r5900-sky-elf*): Use config/mt-sky.
Set extraconfigdirs to build dvp-elf-as.
* configure (extraconfigdirs): New variable.
(SUBDIRS): Add extraconfigdirs and recurse on them too.
* Makefile.in (all): Move higher in file.
(EXTRA_TARGET_HOST_ALL_MODULES): New variable.
(EXTRA_TARGET_HOST_{INSTALL,CHECK}_MODULES): New variables.
(ALL_MODULES): Add EXTRA_TARGET_HOST_ALL_MODULES.
(CROSS_CHECK_MODULES): Add EXTRA_TARGET_HOST_CHECK_MODULES.
(INSTALL_MODULES): Add EXTRA_TARGET_HOST_INSTALL_MODULES.
Mark Alexander [Fri, 24 Jul 1998 14:48:41 +0000 (14:48 +0000)]
* mn10300-tdep.c (set_movm_offsets): New helper function
for mn10300_analyze_prologue.
(mn10300_analyze_prologue): Simplify by factoring out common code.
Fix bugs in setting frame address for optimized code.
Use read_memory_nobpt instead of target_read_memory.
Dawn Perchik [Thu, 23 Jul 1998 22:14:48 +0000 (22:14 +0000)]
* sparc-tdep.c (sparc_init_extra_frame_info): Recognize when we're
in a function prologue before the SAVE instruction.
(sparc_frame_saved_pc): Ditto.
* config/sparc/tm-sparc.h (EXTRA_FRAME_INFO): Add in_prologue flag.
Dawn Perchik [Thu, 23 Jul 1998 21:48:28 +0000 (21:48 +0000)]
* remote-mips.c (remote_mips_insert_hw_breakpoint,
remote_mips_remove_hw_breakpoint): New functions for hardware
breakpoints on LSI targets.
* config/mips/tm-embed.h (target_remove_hw_breakpoint,
target_insert_hw_breakpoint): Define to call
remote_mips_insert_hw_breakpoint and remote_mips_remove_hw_breakpoint,
respectively.
Jeff Law [Thu, 23 Jul 1998 17:30:54 +0000 (17:30 +0000)]
* Re-add lost change:
* elf-m10300.c (elf32_mn10300_link_hash_entry): Add new field
"movm_stack_size".
(mn10300_elf_relax_section): Include stack space for register saves
in the imm8 field of a "call" instruction.
(compute_function_info): Determine how much stack is allocated by
the movm instruction. Fix typo.
(elf32_mn10300_link_hash_newfunc): Initialize movm_stack_size.
Ian Lance Taylor [Thu, 23 Jul 1998 16:31:01 +0000 (16:31 +0000)]
* scripttempl/aout.sc: If ALIGNMENT is defined, use it to set
alignment of end symbol.
* scripttempl/elf.sc: Likewise.
* emulparams/sun4.sh (ALIGNMENT): Define.
* emulparams/elf32_sparc.sh (ALIGNMENT): Define.
* ldint.texinfo (emulation parameters): Document ALIGNMENT.
Ian Lance Taylor [Thu, 23 Jul 1998 16:24:15 +0000 (16:24 +0000)]
* ld-elfvers/vers.exp: Just check for i?86 rather than checking
for i386, i486, and i586.
(objdump_versionstuff): If we can't find the line, dump the file.