* srconv.c (sh, h8300): Delete variables.
(addrsize, toolname, rnames): New variables.
(writeINT): Use addrsize.
(wr_un): Use toolname.
(wr_hd): Set up addrsize et al properly for h8300[hs].
(walk_tree_symbol): Zero dsy. Use rnames.
(wr_un, wr_hd, wr_ob, wr_du): Use proper bfd access macros.
* sysdump.c (sh, h8300): Delete variables.
(addrsize): New variable.
(getINT): Use it.
(getone): Initialize it.
(getBITS): Range check on MAX.
Michael Snyder [Mon, 12 Jan 1998 23:41:59 +0000 (23:41 +0000)]
Mon Jan 12 11:46:51 1998 Michael Snyder (msnyder@cleaver.cygnus.com)
* config/m68k/tm-m68k.h (REGISTER_VIRTUAL_TYPE): make A0 thru A7
default to void pointer type (so that their default radix is hex).
Doug Evans [Mon, 12 Jan 1998 21:12:52 +0000 (21:12 +0000)]
* cgen.c: #include setjmp.h. Clean up pass over `struct foo' usage.
(expr_jmp_buf): New static local.
(cgen_parse_operand): Allow use of longjmp in parsing to handle errors.
(cgen_md_operand): New function.
* tc-m32r.c: Clean up pass over `struct foo' usage.
(md_estimate_size_before_relax): Use CGEN_INSN_MNEMONIC.
Doug Evans [Mon, 12 Jan 1998 20:58:56 +0000 (20:58 +0000)]
* cgen.h (*): Clean up pass over `struct foo' usage.
(CGEN_ATTR): Make unsigned char.
(CGEN_ATTR_TYPE): Update.
(CGEN_ATTR_{ENTRY,TABLE}): New types.
(cgen_base): Move member `attrs' to cgen_insn.
(CGEN_KEYWORD): New member `null_entry'.
(CGEN_{SYNTAX,FORMAT}): New types.
(cgen_insn): Format and syntax separated from each other.
Michael Snyder [Mon, 12 Jan 1998 19:49:03 +0000 (19:49 +0000)]
Mon Jan 12 11:46:51 1998 Michael Snyder (msnyder@cleaver.cygnus.com)
* symtab.c: move rbreak_command from no_class to class_breakpoint
so it will be listed under "help breakpoints".
David Taylor [Mon, 5 Jan 1998 15:36:49 +0000 (15:36 +0000)]
fix gdb/13620 -- control-c to interrupt gdb command only works once.
if HAVE_SIGSETJMP is not defined, nothing is changed; if it is defined
(as it now is for sysv4 based systems), then the fix is enabled.
Michael Snyder [Fri, 2 Jan 1998 17:09:12 +0000 (17:09 +0000)]
Fri Jan 2 17:06:05 1998 Michael Snyder (msnyder@cleaver.cygnus.com)
* tracepoint.c (finish_tfind_command): improved algorithm for
deciding when we've "stepped" into a new stack frame.
(map_args_over_tracepoints): loop over tracepoint list "safely",
since list elements may be deleted during loop.
(read_actions): add actions to history list.
Michael Snyder [Fri, 2 Jan 1998 17:01:29 +0000 (17:01 +0000)]
Fri Jan 2 16:56:16 1998 Michael Snyder (msnyder@cleaver.cygnus.com)
[From Keith Seitz (kseitz@cygnus.com)]
* actiondlg.tcl (change): handle '$' in register names.
gdbtk.c (gdb_actions_command): extract and save step count
from "while-stepping" command
Ian Lance Taylor [Tue, 30 Dec 1997 09:48:42 +0000 (09:48 +0000)]
* elf32-sparc.c (elf32_sparc_check_relocs): If -Bsymbolic, don't
allocate space for a PC relative reloc against a symbol which is
defined in a regular file.
(elf32_sparc_relocate_section): If -Bsymbolic, don't copy a PC
relative reloc against a symbol which is defined in a regular
file.
Mark Alexander [Mon, 29 Dec 1997 21:50:10 +0000 (21:50 +0000)]
* dve3900-rom.c: New file to support Densan DVE-R3900/20 board.
* monitor.c (monitor_debug): Move to utils.c, rename to puts_debug.
(monitor_write_memory, monitor_read_memory, monitor_insert_breakpoint,
monitor_remove_breakpoint): Remove useless address bits if current
monitor has MO_ADDR_BITS_REMOVE flag.
* monitor.h (MO_ADDR_BITS_REMOVE): Define.
* utils.c (puts_debug): Formerly monitor_debug from monitor.c;
move here and make public. Add better support for carriage returns.
* defs.h (puts_debug): Declare.
* dsrec.c (load_srec): Use puts_debug to print remotedebug information.
Output header record correctly.
(make_srec): Output a header record instead of a termination record
if sect is non-NULL (value is ignored), but abfd is NULL.
* config/mips/tm-tx39.h (DEFAULT_MIPS_TYPE): Remove definition.
(REGISTER_NAMES): Define to add R3900-specific registers.
* config/mips/tm-tx39l.h: Ditto.
* config/mips/tx39.mt (TDEPFILES): Add dve3900-rom.o and support files.
* config/mips/tx39l.mt: Ditto.
Ian Lance Taylor [Mon, 29 Dec 1997 15:04:55 +0000 (15:04 +0000)]
From Jonathan Stone <jonathan@DSG.Stanford.EDU>:
* config.bfd (mips-dec-netbsd*): Add ECOFF vectors to
targ_selvecs.
(mips*el-*-netbsd*): Like mips-dec-netbsd*.
(mips*-*-netbsd*): New target.
Ian Lance Taylor [Mon, 29 Dec 1997 14:00:59 +0000 (14:00 +0000)]
From Matthew Bellantoni <matthew@chrysalis.com>:
* ar.c (get_pos_bfd): Add default_posname parameter. Change all
callers.
(replace_members): Default to replacing in the same position.
Ian Lance Taylor [Tue, 23 Dec 1997 14:02:39 +0000 (14:02 +0000)]
* peicode.h (coff_swap_scnhdr_out): Set .reloc section to be
shared. Set stab* sections to be shared and read. Set .rsrc
section to be read and shared.