Gavin Romig-Koch [Fri, 14 Feb 1997 18:57:43 +0000 (18:57 +0000)]
fixes bugs caused by adding 5900
Ian Lance Taylor [Fri, 14 Feb 1997 18:00:34 +0000 (18:00 +0000)]
* main.c (print_gdb_help): Make static to match declaration.
Fred Fish [Fri, 14 Feb 1997 07:53:14 +0000 (07:53 +0000)]
* config/{tc-alpha.h, tc-arc.h, tc-d10v.h, tc-generic.h, tc-i960.h,
tc-mn10200.h, tc-mn10300.h, tc-sh.h, tc-v850.h, tc-vax.h, tc-w65.h}:
Add default definition of zero for TARGET_BYTES_BIG_ENDIAN.
* config/{tc-arm.h, tc-hppa.h, tc-i386.h, tc-mips.h, tc-ns32k.h,
tc-ppc.h, tc-sparc.h}: Move definition of TARGET_BYTES_BIG_ENDIAN
to a location consistent with the rest of the target include files.
* config/tc-i386.c: Remove misleading comment.
* doc/internals.texi (CPU backend): Add description of function
md_undefined_symbol.
start-sanitize-tic80
* config/tc-tic80.c: Add code to insert predefined symbols into the
symbol table so they can be parsed by the standard expression parser.
Remove custom code that use to parse them.
* config/tc-tic80.h: Move definition of TARGET_BYTES_BIG_ENDIAN
to a location consistent with the rest of the target include files.
end-sanitize-tic80
Ian Lance Taylor [Fri, 14 Feb 1997 03:09:46 +0000 (03:09 +0000)]
* config/tc-sparc.c (md_show_usage): Add missing backslash at end
of continued line.
Ian Lance Taylor [Fri, 14 Feb 1997 03:06:09 +0000 (03:06 +0000)]
Thu Feb 13 22:04:44 1997 Klaus Kaempf <kkaempf@progis.de>
* makefile.vms: New file.
* make-all.com: Remove.
Ian Lance Taylor [Fri, 14 Feb 1997 02:57:52 +0000 (02:57 +0000)]
Thu Feb 13 21:56:51 1997 Klaus Kaempf <kkaempf@progis.de>
* makefile.vms: Remove 8 bit characters. Update to latest
gcc release.
Ian Lance Taylor [Fri, 14 Feb 1997 02:55:29 +0000 (02:55 +0000)]
Thu Feb 13 21:44:18 1997 Klaus Kaempf <kkaempf@progis.de>
* as.h: GNU c provides unlink() function.
Unify section handling on openVMS/Alpha:
* config/tc-alpha.c(s_alpha_link): Remove.
(s_alpha_section): New function.
Remove case-hacking of symbols
Add .code_address pseudo-op.
(BFD_RELOC_ALPHA_CODEADDR): New relocation.
(s_alpha_code_address): New function.
(alpha_ctors_section, alpha_dtors_section): New sections for C++
static constructors/destructors.
Add debug code for crash debugs, to be removed when traceback code
is added to object code.
(s_alpha_name): New function for .name pseudo-op.
(alpha_print_token): New function to print token expressions with
alpha specific extensions.
* makefile.vms: Allow compilation with current gcc snapshot.
Ian Lance Taylor [Fri, 14 Feb 1997 02:36:21 +0000 (02:36 +0000)]
Thu Feb 13 21:34:43 1997 Klaus Kaempf (kkaempf@progis.de)
* config.h-vms: sbrk() is provided on openVMS/Alpha.
* makefile.vms: allow compiling with current gcc snapshot.
Dawn Perchik [Fri, 14 Feb 1997 02:20:48 +0000 (02:20 +0000)]
* remote-e7000.c, ser-e7kpc.c, serial.c: Remove // comments.
Ian Lance Taylor [Fri, 14 Feb 1997 02:13:19 +0000 (02:13 +0000)]
Thu Feb 13 20:53:22 1997 Klaus Kaempf (kkaempf@progis.de)
* reloc.c (BFD_RELOC_ALPHA_CODEADDR): New relocation for
openVMS/Alpha.
* evax.h (ALPHA_R_CODEADDR): New relocation.
* evax-alpha.c (ALPHA_R_CODEADDR): 64 bit procedure relocation for
openVMS/Alpha.
* evax-etir.c (ALPHA_R_CODEADDR): Output object code for this
relocation.
* bfd-in2.h, libbfd.h: Rebuild.
Restrict symbol length to 64 bytes, case preserving:
* evax-emh.c (_bfd_evax_write_emh): Remove case hacking.
* evax-misc.c (_bfd_evax_case_hack_symbol): Remove.
(_bfd_evax_length_hash_symbol): Added.
* evax-etir.c (_bfd_evax_write_etir): Call
_bfd_evax_length_hash_symbol before output of symbol.
* evax-egsd.c (_bfd_evax_write_egsd): Likewise.
* evax.h (flag_hash_long_names, flag_show_after_trunc): Remove.
* evax-emh.c: Output filename to object file without path.
* evax-egsd.c: New sections for local and global commons.
* evax-alpha.c, evax-emh.c, evax-egsd.c, evax-etir.c,
evax-misc.c, evax.h: Remove 8 bit characters from copyright
notices. Replace AXP with Alpha.
Ian Lance Taylor [Fri, 14 Feb 1997 01:54:51 +0000 (01:54 +0000)]
Thu Feb 13 20:53:22 1997 Klaus Kaempf (kkaempf@progis.de)
* makefile.vms: Add gcc flags to allow compiling with current gcc
snapshot
(targmatch.h): New dependency.
Ian Lance Taylor [Fri, 14 Feb 1997 01:50:50 +0000 (01:50 +0000)]
Thu Feb 13 20:50:02 1997 Klaus Kaempf (kkaempf@progis.de)
* makefile.vms: New file.
Ian Lance Taylor [Fri, 14 Feb 1997 01:43:14 +0000 (01:43 +0000)]
Thu Feb 13 20:41:22 1997 Philippe De Muyter <phdm@info.ucl.ac.be>
* m68k-opc.c (m68k_opcodes): Add swbeg pseudo-instruction.
Ian Lance Taylor [Fri, 14 Feb 1997 01:36:24 +0000 (01:36 +0000)]
Thu Feb 13 20:31:37 1997 Philippe De Muyter <phdm@info.ucl.ac.be>
* configure.in: Call BFD_NEED_DECLARATION on getenv.
* acconfig.h (NEED_DECLARATION_GETENV): New macro.
* sysdep.h (getenv): Declare if NEED_DECLARATION_GETENV.
* ldemul.c (ld_emul_default_target): Do not cast getenv return
value.
* ldmain.c (get_emulation): Likewise.
* configure, config.in: Rebuild.
Ian Lance Taylor [Fri, 14 Feb 1997 01:18:32 +0000 (01:18 +0000)]
* arsup.c, coffgrok.c, dlltool.c, nlmconv.c: Use xmalloc rather
than malloc.
Fred Fish [Fri, 14 Feb 1997 01:04:19 +0000 (01:04 +0000)]
* doc/Makefile.in (TEXI2DVI): Set to just name of program.
(DVIPS): Set to dvips.
(ps, as.ps, gasp.ps): New targets.
(internals.info, gasp.dvi, internals.dvi): Set both TEXINPUTS
and MAKEINFO env variables.
(internals.ps): Use DVIPS macro.
(clean): Remove core and backup files.
(distclean): Remove temporary files from building internals.
(clean-dvi): Ditto.
* doc/internals.texi (Frags): Fix typo.
(GAS processing): Ditto.
(CPU backend): Ditto.
* ecoff.c (init_file): Use TARGET_BYTES_BIG_ENDIAN value directly.
* mpw-config.in: Define TARGET_BYTES_BIG_ENDIAN as 1.
* read.c: Remove ugly hack that dealt with config files not
correctly defining TARGET_BYTES_BIG_ENDIAN.
(target_big_endian): Use TARGET_BYTES_BIG_ENDIAN directly.
* config/arm-big.mt: Define TARGET_BYTES_BIG_ENDIAN to 1.
* config/arm-lit.mt: Define TARGET_BYTES_BIG_ENDIAN to 0.
* config/mips-big.mt: Define TARGET_BYTES_BIG_ENDIAN to 1.
* config/mips-lit.mt: Define TARGET_BYTES_BIG_ENDIAN to 0.
* config/ppc-lit.mt: Define TARGET_BYTES_BIG_ENDIAN to 1.
* config/ppc-sol.mt: Replace TARGET_BYTES_LITTLE_ENDIAN
with TARGET_BYTES_BIG_ENDIAN defined to 0.
* config/tc-arm.h: Remove use of TARGET_BYTES_LITTLE_ENDIAN
and simplify. Test value of TARGET_BYTES_BIG_ENDIAN, not just
whether it is defined or not.
* config/tc-mips.h: Remove use of TARGET_BYTES_LITTLE_ENDIAN.
* config/tc-ppc.h: Remove use of TARGET_BYTES_LITTLE_ENDIAN
and simplify. Test value of TARGET_BYTES_BIG_ENDIAN, not just
whether it is defined or not.
start-sanitize-tic80
* config/tic80.h (TARGET_FORMAT): Define to coff-tic80.
(TARGET_BYTES_BIG_ENDIAN): Define to 0.
end-sanitize-tic80
Jeff Law [Thu, 13 Feb 1997 23:33:33 +0000 (23:33 +0000)]
* gdb.disasm/mn10200.s (misc_tests): Fix targets for "jsr" insns.
* gdb.disasm/mn10200.exp (misc_tests): Remove bogus line accidentally
left in. No longer expect them to fail.
Jeff Law [Thu, 13 Feb 1997 23:31:53 +0000 (23:31 +0000)]
* mn10200-opc.c (IMM16_PCREL): This is a signed operand.
(IMM24_PCREL): Likewise.
Fixes bugs exposed by disassembler testsuite.
Jeff Law [Thu, 13 Feb 1997 23:20:09 +0000 (23:20 +0000)]
* gdb.stabs/*.mt; Deleted, no longer used.
* gdb.stabs/configure.in: Remove references to target makefile
frags.
* gdb.stabs/configure: Rebuilt.
Removing more crud.
Jeff Law [Thu, 13 Feb 1997 23:16:26 +0000 (23:16 +0000)]
* gdb.disasm/*.mt: Deleted, no longer used.
* gdb.disasm/configure.in: Remove references to target makefile
frags. Use "sh3.s" as the unique filename for this directory.
* gdb.disasm/configure: Rebuilt.
Cleaning up unused crud.
* gdb.disasm/mn10200.s: New test file for mn10200 disassembler.
* gdb.disasm/mn10200.exp: Run mn10200 disassembler tests.
* gdb.disasm/Makefile.in: Remove "mn10200" when cleaning.
mn10200 disassembler testsuite.
David Edelsohn [Thu, 13 Feb 1997 23:12:14 +0000 (23:12 +0000)]
Correct errors in some comments (bfd_perform_relocation was refered to
instead of bfd_install_relocation).
David Edelsohn [Thu, 13 Feb 1997 23:08:52 +0000 (23:08 +0000)]
* write.c (write_relocs): Correct text in as_fatal error message,
bfd_perform_relocation -> bfd_install_relocation.
Ian Lance Taylor [Thu, 13 Feb 1997 19:50:01 +0000 (19:50 +0000)]
Thu Feb 13 14:48:03 1997 Philippe De Muyter <phdm@info.ucl.ac.be>
* config/tc-m68k.c (LEX_TILDE): Define if TE_DELTA.
* read.c (LEX_TILDE): Define if not defined.
(lex_type): Use LEX_TILDE.
* expr.c (get_symbol_end): Check first char with is_name_beginner,
not is_part_of_name.
Ian Lance Taylor [Thu, 13 Feb 1997 19:08:55 +0000 (19:08 +0000)]
* gencode.c (build_mips16_operands): Correct computation of base
address for extended PC relative instruction.
Ian Lance Taylor [Thu, 13 Feb 1997 18:33:26 +0000 (18:33 +0000)]
* config/tc-mips.c (mips16_extended_frag): Correct base address
for an extended PC relative instruction.
(md_convert_frag): Likewise.
Ian Lance Taylor [Thu, 13 Feb 1997 18:29:25 +0000 (18:29 +0000)]
* mips-dis.c (print_mips16_insn_arg): Use memaddr - 2 as the base
address for an extended PC relative instruction that is not a
branch.
Ian Lance Taylor [Thu, 13 Feb 1997 17:25:10 +0000 (17:25 +0000)]
* config/tc-mips.c (prev_nop_frag): New static variable.
(prev_nop_frag_holds): New static variable.
(prev_nop_frag_required): New static variable.
(prev_nop_frag_since): New static variable.
(append_insn): If we aren't reordering, and prev_nop_frag is not
NULL, and we don't need any nops, then decrease the size of
prev_nop_frag. Don't insert nops because of instructions in
noreorder sections. Remember whether the previous instructions
where in noreorder sections even when not reordering.
(mips_no_prev_insn): Add preserver parameter. Change all
callers. Refer prev_nop_frag variables when appropriate.
(mips_emit_delays): Set up prev_nop_frag.
(s_mipsset): Clear prev_nop_frag if reordering.
Ian Lance Taylor [Thu, 13 Feb 1997 01:29:39 +0000 (01:29 +0000)]
* config/tc-mips.c (append_insn): Remove useless code which
handled swapping a mips16 jump with a mips16 instruction with a
reloc.
Dawn Perchik [Thu, 13 Feb 1997 00:01:21 +0000 (00:01 +0000)]
* debugify.c, debugify.h: Make safe for non-ansi compilers.
Dawn Perchik [Wed, 12 Feb 1997 23:32:50 +0000 (23:32 +0000)]
* defs.h: Fix prototypes for new cleanup functions.
Dawn Perchik [Wed, 12 Feb 1997 23:16:32 +0000 (23:16 +0000)]
* debugify.c, debugify.h: Fix for general gnu use. Remove C++
comment, add PARAMS, add license info and fix indentation.
Ian Lance Taylor [Wed, 12 Feb 1997 23:14:36 +0000 (23:14 +0000)]
* sunos.c (sunos_create_dynamic_sections): We need the dynamic
sections if we are creating a shared library.
Dawn Perchik [Wed, 12 Feb 1997 22:48:45 +0000 (22:48 +0000)]
* debugify.c, debugify.h: New files. Provide common macros
for writing debug info to a log file or stdio.
Ian Lance Taylor [Wed, 12 Feb 1997 21:48:50 +0000 (21:48 +0000)]
* gas/mips/lif-svr4pic.d: Pass -EB when running the assembler.
* gas/mips/lif-xgot.d: Likewise.
* gas/mips/ulh-svr4pic.d: Likewise.
* gas/mips/ulh-xgot.d: Likewise.
Ian Lance Taylor [Wed, 12 Feb 1997 21:36:17 +0000 (21:36 +0000)]
revert earlier patch to set prev_insn_valid when not reordering
Ian Lance Taylor [Wed, 12 Feb 1997 21:30:02 +0000 (21:30 +0000)]
* config/tc-mips.c (md_parse_option): When debugging, set
mips_optimize to 1, not 0.
Ian Lance Taylor [Wed, 12 Feb 1997 21:13:06 +0000 (21:13 +0000)]
* objdump.c (disassemble_data): Correct VMA argument to
find_symbol_for_address. Improve handling of code with no symbol
followed by code with a symbol.
Jim Wilson [Wed, 12 Feb 1997 20:55:49 +0000 (20:55 +0000)]
Add optional way to build libgcc2.c without debug info for Noer/cygwin32.
* Makefile.in (EXTRA_GCC_FLAGS): Add LIBGCC2_DEBUG_CFLAGS.
Ian Lance Taylor [Wed, 12 Feb 1997 20:43:15 +0000 (20:43 +0000)]
* config/tc-mips.c (mips16_ip): Handle an extend operand.
Ian Lance Taylor [Wed, 12 Feb 1997 20:38:20 +0000 (20:38 +0000)]
* config/tc-mips.c (my_getExpression): In mips16 mode, if it looks
like the expression was based on `.', adjust the value of the
symbol.
Ian Lance Taylor [Wed, 12 Feb 1997 20:20:11 +0000 (20:20 +0000)]
* config/tc-mips.c (append_insn): Warn about an attempt to put an
extended instruction in a delay slot when not reordering. Set
prev_insn_valid even if not reordering.
(md_convert_frag): Warn if an extended instruction appears in a
delay slot.
Ian Lance Taylor [Wed, 12 Feb 1997 20:00:15 +0000 (20:00 +0000)]
* config/tc-mips.c (mips_pseudo_table): Add "insn".
(s_insn): New static function.
* doc/c-mips.texi: Document .insn.
Ian Lance Taylor [Wed, 12 Feb 1997 19:37:58 +0000 (19:37 +0000)]
* config/tc-mips.c (md_begin): Add the general registers to the
symbol table.
(mips16_ip): First parse the expression, and then see whether it
came up with a register, rather than trying to first see whether
we are looking at a register.
Ian Lance Taylor [Wed, 12 Feb 1997 17:33:41 +0000 (17:33 +0000)]
* gas/mips/mips16.d: Update for yet another change in disassembly
output (this one is spacing only).
Ian Lance Taylor [Wed, 12 Feb 1997 17:28:14 +0000 (17:28 +0000)]
Wed Feb 12 12:27:40 1997 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* m68k-dis.c (print_insn_m68k): Set bytes_per_chunk and
bytes_per_line.
Ian Lance Taylor [Wed, 12 Feb 1997 17:18:38 +0000 (17:18 +0000)]
Wed Feb 12 12:16:47 1997 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* objdump.c (disassemble_bytes): Make output of raw instructions
work better for non-standard values of bytes_per_chunk and
bytes_per_line.
I also fixed the spacing in the last patch.
Dawn Perchik [Wed, 12 Feb 1997 15:18:10 +0000 (15:18 +0000)]
* c-valprint.c: Fix checkin glitch.
Dawn Perchik [Wed, 12 Feb 1997 10:49:20 +0000 (10:49 +0000)]
* c-valprint.c (c_val_print): Fix printing for arrays defined
with 0 length. A sticky tag caused this fix from
revision 2.32 date: 1996/04/29 23:25:27; author: dawn;
state: Exp; lines: +1 -0 branches: 2.32.34;
to not make it into devo.
Dawn Perchik [Wed, 12 Feb 1997 10:27:11 +0000 (10:27 +0000)]
* defs.h: Fix cntl-C to read from the Windows message queue.
Add prototypes for make_final_cleanup (and the other cleanup
routines.
* remote-e7000.c: Fix sync code to timeout if unable to sync.
Change sync code to report status while trying to sync-up
with hardware. Add debugging output and document.
* ser-e7kpc.c: Swap order of len & offset to match implementation.
Add debugging output and document.
* serial.c: Add debugging output.
* top.c: Add call to do_final_cleanups.
Remove conditionals preventing Win32 from getting SIGQUIT.
* utils.c: (*_cleanup): Modify cleanup routines to accept a cleanup
chain as a parameter. Extract this generic code from the cleanup
routines into separate funtions (*_my_cleanup). Keep old
functionality by passing "cleanup_chain" to the new funtions.
Define the cleanup chain "final_cleanup_chain" to be a cleanup
chain which will be executed only when gdb exits. Add functions
(*_final_cleanup) to match the original (*_cleanup) functions.
(pollquit, quit, notice_quit): Fix to read cntl-C from the
Windows message queue.
Jeff Law [Wed, 12 Feb 1997 02:06:34 +0000 (02:06 +0000)]
Revert last structs.exp change -- I found the problem.
Bob Manson [Wed, 12 Feb 1997 01:00:49 +0000 (01:00 +0000)]
* config/udi.exp: Use mondfe,name instead of remote_host.
remote_host is a bad naming choice.
Jeff Law [Wed, 12 Feb 1997 01:00:46 +0000 (01:00 +0000)]
Remove REG_STRUCT_HAS_ADDR change.
Jeff Law [Wed, 12 Feb 1997 00:48:47 +0000 (00:48 +0000)]
* config/mn10200/tm-mn10200.h (STORE_STRUCT_RETURN): Fix.
* mn10200-tdep.c (mn10200_store_struct_return): New function.
(REG_STRUCT_HAS_ADDR): Tweak.
Fixes most of the structs.exp tests.
Jeff Law [Wed, 12 Feb 1997 00:45:46 +0000 (00:45 +0000)]
* gdb.base/structs.exp: Expect some failures from the mn10200 port.
I don't want to deal with this for the alpha!
Fred Fish [Tue, 11 Feb 1997 23:48:15 +0000 (23:48 +0000)]
* tic80-opc.c (tic80_operands): Fix typo '+' -> '|'.
(tic80_opcodes): Sort entries so that long immediate forms
come after short immediate forms, making it easier for
assembler to select the right one for a given operand.
David Edelsohn [Tue, 11 Feb 1997 23:46:10 +0000 (23:46 +0000)]
* configure.host (i386-windows): Don't set host64=true.
David Edelsohn [Tue, 11 Feb 1997 23:38:50 +0000 (23:38 +0000)]
* m32r-rom.c: #include <sys/types.h>.
#ifdef out new load support if wingdb.
David Edelsohn [Tue, 11 Feb 1997 23:38:25 +0000 (23:38 +0000)]
* m32r/tm-m32r.h (TARGET_M32R): Define, for wingdb.
Fred Fish [Tue, 11 Feb 1997 22:44:10 +0000 (22:44 +0000)]
* config/tc-tic80.c: Numerous changes and additions to flesh
out functions that were previously just stubs, and fix some
problems found using the new TIc80 testsuite cases.
Jeff Law [Tue, 11 Feb 1997 22:40:54 +0000 (22:40 +0000)]
* config/mn10200/tm-mn10200.h (EXTRACT_RETURN_VALUE): Fix case when
extracting a return value from a register pair.
Fixes remaining failures in callfuncs.exp, but not structs.exp.
Fred Fish [Tue, 11 Feb 1997 22:04:35 +0000 (22:04 +0000)]
* gas/tic80/{add.d, add.lst, add.s, bitnum.d, bitnum.lst, bitnum.s,
ccode.d, ccode.lst, ccode.s, cregops.d, cregops.lst, cregops.s,
endmask.d, endmask.lst, endmask.s, regops.d, regops.lst, regops.s,
tic80.exp}: New files for TIc80 test cases.
Ian Lance Taylor [Tue, 11 Feb 1997 20:56:00 +0000 (20:56 +0000)]
* config/tc-mips.c (mips16_ip): Handle %gprel modifier.
(md_apply_fix): Handle BFD_RELOC_MIPS16_GPREL.
* config/tc-mips.c (append_insn): Output jump instruction as a
pair of 2 byte instructions, rather than as a single 4 byte
instruction.
start-sanitize-r5900
* config/tc-mips.c (md_begin): Correct test of mips_5900.
(mips_ip): Don't check INSN_ISA for a macro.
end-sanitize-r5900
Ian Lance Taylor [Tue, 11 Feb 1997 20:47:25 +0000 (20:47 +0000)]
* gas/mips/mips16.d: Update for change in disassembly output.
Ian Lance Taylor [Tue, 11 Feb 1997 20:46:14 +0000 (20:46 +0000)]
* mips-dis.c (_print_insn_mips): Set bytes_per_chunk and
display_endian.
(print_insn_mips16): Likewise.
Ian Lance Taylor [Tue, 11 Feb 1997 20:34:57 +0000 (20:34 +0000)]
* scripttempl/elfmips.sc: When relocating, put .mips16.fn.* and
.mips16.call.* in .text.
Ian Lance Taylor [Tue, 11 Feb 1997 20:30:12 +0000 (20:30 +0000)]
* elf32-mips.c (reloc_type): Add R_MIPS16_GPREL.
(elf_mips16_gprel_howto): New static variable.
(mips16_gprel_reloc): New static function.
(bfd_elf32_bfd_reloc_type_lookup): Handle BFD_RELOC_MIPS16_GPREL.
(mips_info_to_howto_rel): Handle R_MIPS16_GPREL.
(mips_elf_relocate_section): Handle R_MIPS16_GPREL.
* reloc.c (BFD_RELOC_MIPS16_GPREL): Define.
* bfd-in2.h, libbfd.h: Rebuild.
Michael Meissner [Tue, 11 Feb 1997 20:19:28 +0000 (20:19 +0000)]
New version from Andrew; Portability fixes on top of that
Jeff Law [Tue, 11 Feb 1997 19:54:45 +0000 (19:54 +0000)]
* gdb.base/watchpoint.exp: Don't expect a failure when calling
a function with a watchpoint enabled on the mn10200.
David Edelsohn [Tue, 11 Feb 1997 19:45:51 +0000 (19:45 +0000)]
* elf32-m32r.c (elf_m32r_howto_table): Change partial_inplace to true
for R_M32R_{16,32,24,HI16_ULO,HI16_SLO,LO16}.
Jeff Law [Tue, 11 Feb 1997 19:31:29 +0000 (19:31 +0000)]
* mn10200-tdep.c (mn10200_push_arguments): Stack only needs to
be two byte aligned. Round argument sizes up to two byte boundary.
Write out args in two byte hunks.
(mn10200_push_return_address): Implement.
* config/mn10200/tm-mn10200.h (EXTRACT_RETURN_VALUE): Abort for
structures > 8 bytes (temporary).
(STORE_RETURN_VALUE): Likewise.
(CALL_DUMMY): No longer undefine.
(USE_STRUCT_CONVENTION): Use for args > 8 bytes.
(REG_STRUCT_HAS_ADDR): Define.
Inferior function calls for the mn10200.
Michael Meissner [Tue, 11 Feb 1997 18:56:35 +0000 (18:56 +0000)]
Fix warnings when compiling callback.c
Michael Meissner [Tue, 11 Feb 1997 18:48:40 +0000 (18:48 +0000)]
Silence warnings in ppc simulator
Jeff Law [Tue, 11 Feb 1997 18:24:21 +0000 (18:24 +0000)]
* gdb.stabs/weird.exp: Don't quit if "weird.s" doesn't exist
before trying to create it!
Gavin Romig-Koch [Tue, 11 Feb 1997 13:26:34 +0000 (13:26 +0000)]
Add r5900
Dawn Perchik [Tue, 11 Feb 1997 08:22:27 +0000 (08:22 +0000)]
* gas/mips/itbl-test.c: Add copyright message and fix indentation.
Dawn Perchik [Tue, 11 Feb 1997 08:11:03 +0000 (08:11 +0000)]
* itbl-ops.c, itbl-lex.l, itbl-parse.y, itbl-ops.h,
config/itbl-mips.h: Add copyright message and fix indentation.
Bob Manson [Tue, 11 Feb 1997 06:38:22 +0000 (06:38 +0000)]
* config/vx.exp: Use hostname instead of netport.
* config/vxworks.exp: New file.
* gdb.base/a2-run.exp: Change vxworks cases to use gdb_spawn_id.
* config/monitor.exp(gdb_target_monitor): Look for a prompt from
gdb before assuming everything worked. Send a ^C if a timeout
occurs.
Random fixes for vxworks and d10v.
Mark Alexander [Tue, 11 Feb 1997 02:48:55 +0000 (02:48 +0000)]
* mips-tdep.c (non_heuristic_proc_desc): New function.
(find_proc_desc): Move non-heuristic proc search code into separate
function.
(gdb_print_insn_mips): Use non-heuristic method to find procedure
descriptor, to avoid prologue examination when disassembling.
* remote-mips.c: Add support for new "lsi" target (LSI MiniRISC
aka MicroMeteor board).
(mips_exit_debug): Prevent protocol reinitialization if an error
occurs while exiting debug mode.
Dawn Perchik [Tue, 11 Feb 1997 02:07:57 +0000 (02:07 +0000)]
* itbl-ops.c: New file. Add support for dynamically read
instruction registers, opcodes and formats. Build internal table
for new instructions and provide callbacks for assembler and
disassembler.
* itbl-lex.l, itbl-parse.y: Lex and yacc parsers for instruction
spec table.
* itbl-ops.h: New file. Header file for itbl support.
* config/itbl-mips.h: New file. Mips specific definitions for
itbl support.
Dawn Perchik [Tue, 11 Feb 1997 01:57:34 +0000 (01:57 +0000)]
* itbl-test.c: New file. Stand-alone assembler and dissassembler for
itbl support.
Dawn Perchik [Tue, 11 Feb 1997 01:21:14 +0000 (01:21 +0000)]
* gas/mips/itbl: New file. Instruction Spec for testing --itbl option.
* gas/mips/itbl.s: New file. Assembly with ne2w instructions specified
in itbl.
Bob Manson [Tue, 11 Feb 1997 00:49:17 +0000 (00:49 +0000)]
* lib/gdb.exp(gdb_test): Check the result of send_gdb. Use
$gdb_spawn_id directly.
Checking for errors actually helps. *sigh*
Jeff Law [Mon, 10 Feb 1997 23:56:56 +0000 (23:56 +0000)]
* mn10200-tdep.c: Remove lots of debugging printfs, update/improve
comments, formatting, etc. Plus other minor fixes for problems
I found during my first pass over the mn10200 port.
(mn10200_analyze_prologue): New function.
(mn10200_frame_chain, mn10200_init_extra_frame_info): Use it.
* config/mn10200/tm-mn10200.h: Lots of updates/improvements to
comments, formatting, etc. Minor fixes for problems I found during
my first pass over the mn10200 port.
(TARGET_*_BIT): Define appropriately for ints, long longs, doubles and
pointers.
(REGISTER_VIRTUAL_TYPE): Define as a long.
(EXTRACT_RETURN_VALUE): Rework to deal with long ints living
in register pairs.
(STORE_RETURN_VALUE): Similarly.
Checking in my initial changes, prologue scanning, etc.
Current gdb testsuite results:
=== gdb Summary ===
# of expected passes 3684
# of expected failures 40
# of unexpected failures 6
Jeff Law [Mon, 10 Feb 1997 23:15:37 +0000 (23:15 +0000)]
* blockframe.c (generic_get_saved_regs): Remove unused variable
"addr".
* breakpoint.c (frame_in_dummy): Move struct breakpoint *b decl
inside #ifdef CALL_DUMMY.
(watch_command_1): Initialize target_resources_ok.
* command.c (do_setshow_command): Provide dummy initialization
for "match".
* valops.c (find_function_addr): Move function & prototype inside
#ifdef CALL_DUMMY.
(value_arg_coerce): Similarly.
(value_of_variable): Provide dummy initialization of "frame".
Lint.
Jeff Law [Mon, 10 Feb 1997 22:24:53 +0000 (22:24 +0000)]
* gdb.base/exprs.exp: Delete bogus/incorrect (and probably
redundant) test.
Stu Grossman [Mon, 10 Feb 1997 21:52:46 +0000 (21:52 +0000)]
* gdbtk.c (call_wrapper): Clear running_now if an error occurs.
This fixes PR 11323, where gdbtk stops responding if an error occurs.
Jeff Law [Mon, 10 Feb 1997 18:30:03 +0000 (18:30 +0000)]
* gdb.base/recurse.exp: Relax final value test for 'b' so that
it doesn't lose for 16bit integer systems.
Fred Fish [Mon, 10 Feb 1997 17:36:26 +0000 (17:36 +0000)]
Add tic80 directory to keep_these_too or lose_these_too.
Fred Fish [Mon, 10 Feb 1997 17:34:59 +0000 (17:34 +0000)]
* tic80.h (tic80_symbol_to_value): Change prototype to match
change in function, added class parameter.
Fred Fish [Mon, 10 Feb 1997 17:16:28 +0000 (17:16 +0000)]
* tic80-opc.c (tic80_symbol_to_value): Changed to accept
a symbol class that restricts translation to just that
class (general register, condition code, etc).
Fred Fish [Mon, 10 Feb 1997 15:59:01 +0000 (15:59 +0000)]
* xcoffread.c (RECORD_MINIMAL_SYMBOL): Add NULL asection* parameter
to prim_record_minimal_symbol_and_info call that was missed in Jan 3
change.
(scan_xcoff_symtab): Ditto.
Fred Fish [Mon, 10 Feb 1997 01:17:14 +0000 (01:17 +0000)]
* emulparams/tic80coff.sh: New (dummy) file for TIc80.
* scripttempl/tic80coff.sc: New (dummy) file for TIc80.
* Makefile.in (etic80coff.c): Add target and rule to build it.
* configure.tgt (tic80-*-coff): Set targ_emul to tic80coff.
Mark Alexander [Sun, 9 Feb 1997 17:36:49 +0000 (17:36 +0000)]
* remote-mips.c (common_breakpoint): Prevent 64-bit addresses
from being sent to 32-bit targets by masking off upper bits.
* mips-tdep.c (heuristic_proc_start): Mask off upper 32 bits
of PC on 32-bit targets.
(mips16_heuristic_proc_desc): Recognize 'addiu s1,sp,n' as a
frame setup instruction.
(mips32_heuristic_proc_desc): Fix warning found by gcc -Wall.
(mips16_skip_prologue): Recognize 'addiu s1,sp,n' as a valid
prologue instruction. Fix warnings and bugs found by gcc -Wall.
* buildsym.c (finish_block): Improve handling of overlapping blocks;
fixes problem on MIPS16 printing function arguments.
Michael Meissner [Sun, 9 Feb 1997 01:37:55 +0000 (01:37 +0000)]
Fix circular dependency
Peter Schauer [Sat, 8 Feb 1997 09:16:26 +0000 (09:16 +0000)]
* dwarf2read.c (dwarf2_linkage_name): New function to get
the linkage name of a die from DW_AT_MIPS_linkage_name or
DW_AT_name.
(read_func_scope, dwarf2_add_field, dwarf2_add_member_fn,
new_symbol): Use it instead of accessing DW_AT_name.
(read_partial_die): Use DW_AT_MIPS_linkage name as name of the
partial die if present.
(dwarf2_add_member_fn): Make a copy of physname on the type obstack.
Bob Manson [Sat, 8 Feb 1997 01:03:37 +0000 (01:03 +0000)]
Changes to replace references to "prune_system_crud" with
"prune_warnings".
Ian Lance Taylor [Fri, 7 Feb 1997 17:40:24 +0000 (17:40 +0000)]
* elflink.h (elf_link_input_bfd): If we've discarded a section,
the output section will be the absolute section; don't print an
assertion message for that case when doing a relocateable link.
PR 11647.
Jeff Law [Fri, 7 Feb 1997 17:07:49 +0000 (17:07 +0000)]
* blockframe.c (generic_frame_chain_valid): If the new frame
is not INNER_THAN the old frame, then it's not valid.
Jeff Law [Fri, 7 Feb 1997 16:54:05 +0000 (16:54 +0000)]
* config/tc-mn10200.c (md_assemble): If a constant operand won't
fit into the constant field of a relaxable operand, then it does
not match.
Fixes mn10200/other.s failures due to new relaxing code.
Jeff Law [Fri, 7 Feb 1997 16:40:39 +0000 (16:40 +0000)]
* gdb.fortran/types.exp: If the target doesn't support "double"
data types, then expect "real" types to only be 4 bytes.