Commit Graph

22586 Commits

Author SHA1 Message Date
Peter Schauer be5f18e140 * dwarf2read.c (read_subroutine_type): Set TYPE_FLAG_PROTOTYPED
on C++ functions.
	* valops.c (value_arg_coerce):  Add new argument to indicate whether
	the function has a prototype, handle integer and float promotions
	accordingly.
        (call_function_by_hand):  Always call value_arg_coerce, pass down
	prototype information.
1998-05-23 09:31:41 +00:00
Doug Evans cbc6c9b2bf * cgen-asm.in (insert_normal): Handle empty fields and 64 bit hosts.
* cgen-dis.in (extract_normal): Likewise.
	* m32r-asm.c,m32r-dis.c: Regenerate.
1998-05-22 23:03:45 +00:00
Doug Evans 05f704645d * cgen-asm.in (insert_normal): Handle empty fields and 64 bit hosts.
* cgen-dis.in (extract_normal): Likewise.
1998-05-22 23:02:40 +00:00
Doug Evans b9cafcf462 * gas/m32r/allinsn.d: Handle 64 bit bfd_vma.
* gas/m32r/uppercase.d: Likewise.
	* gas/m32r/m32rx.d: Likewise.
1998-05-22 22:58:08 +00:00
Doug Evans b2158e2f1b * dvp-opc.c (parse_dotdest): Missing dest -> xyzw. 1998-05-22 18:45:19 +00:00
Jason Molenda b0cf9ee21a Reformat for consistency. 1998-05-22 18:07:40 +00:00
John Metzler 3ff4b4c689 * remote.c (_initialize_remote): Typo extended__remote 1998-05-22 17:59:05 +00:00
Andrew Cagney f872d0d643 Only enable H/W on some mips targets.
Move common hw-obj to Make-common
Pacify GCC
1998-05-22 05:23:04 +00:00
Andrew Cagney 32d41f6ddb Sanity clause 1998-05-22 02:08:26 +00:00
Andrew Cagney 56833aba59 Back out of hw-main _callback -> _descriptor changes 1998-05-22 01:12:06 +00:00
Nick Clifton 5422c7498b Fix operator precedence in if() statement. 1998-05-21 23:59:59 +00:00
Doug Evans 96ecb5a1e8 * gas/dvp/upper-2.[sd]: Test absent dest -> xyzw. 1998-05-21 22:16:04 +00:00
Nick Clifton 9c92d37083 Fixes to allow testsuite to pass (modulo problems with cofftag). 1998-05-21 22:04:56 +00:00
John Metzler c719b71428 Thu May 21 13:14:25 1998 John Metzler <jmetzler@cygnus.com>
* gnu-nat.c (init_gnu_ops): Initialization of target ops by assignment.
	(_initialize_gnu_nat):      Call new init
	* mac-nat.c (init_child_ops):          Ditto
	(_initialize_mac_nat):                 Ditto
	* monitor.c (init_base_monitor_ops):   Ditto
	(_initialize_remote_monitors) :        Ditto
	* ppc-bdm.c (init_bdm_ppc_ops):        Ditto
	(_initialize_bdm_ppc):                 Ditto
	* remote-adapt.c ( init_adapt_ops):    Ditto
	(_initialize_remote_adapt):            Ditto
	* remote-array.c (init_array_ops) :    Ditto
	(_initialize_array):                   Ditto
	* remote-bug (init_bug_ops) :          Ditto
	(_initialize_remote_bug):              Ditto
	* remote-e7000.c (init_e7000_ops):     Ditto
	(_initialize_remote_e7000) :           Ditto
	* remote-eb.c (init_eb_ops) :          Ditto
	(_initialize_remote_eb) :              Ditto
	*remote-es.c (init_es1800_ops) :       Ditto
	(init_es1800_child_ops) :              Ditto
	(_initialize_es1800) ;                 Ditto
	*remote-hms.c (init_hms_ops):          Ditto
	(_initialize_remote_hms) :             Ditto
	* remote-mm.c (init_mm_ops):           Ditto
	(_initialize_remote_mm) :              Ditto
	* remote-nindy.c (init_nindy_ops):     Ditto
	(_initialize_nindy):                   Ditto
	* remote_nrom.c (init_nrom_ops) :      Ditto
	(_initialize_remote_nrom) :            Ditto
	*remote-os9k (init_rombug_ops) :       Ditto
	(_initialize_remote_os9k) :            Ditto
	*remote-rdi.c (init_rdi_ops) :         Ditto
	(_initialize_remote_rdi) :             Ditto
	* remote-rdp.c (init_remote_rdp_ops) : Ditto
	(_initialize_remote_rdp) :             Ditto
	* remote-sds.c (init_sds_ops) :        Ditto
	(_initialize_remote_sds) :             Ditto
	* remote-sim.c (init_gdbsim_ops) :     Ditto
	(_initialize_remote_sim) :             Ditto
	* remote-st.c (init_st2000_ops):       Ditto
	(_initialize_remote_st2000):           Ditto
	*remote-udi.c (init_udi_ops) :         Ditto
	(_initialize_remote_udi) :             Ditto
	* remote-vx.c (init_vx_ops) :          Ditto
	(init_vx_run_ops) :                    Ditto
	(_initialize_vx) :                     Ditto
	* remote.c (init_remote_ops):          Ditto
	(init_extended_remote_ops):            Ditto
	(_initialize_remote):                  Ditto
	* sparcl-tdep.c (init_sparclite_ops):  Ditto
	(_initialize_sparcl_tdep):             Ditto
	* v850ice.c (init_850ice_ops):         Ditto
	(_initialize_v850ice):                 Ditto
	*win32-nat.c: (init_child_ops):        Ditto
	(_initialize_inftarg):                 Ditto
1998-05-21 20:20:39 +00:00
Gavin Romig-Koch 5e34097b8b gencode.c: Mark BEGEZALL as LIKELY. 1998-05-21 18:26:38 +00:00
Jason Molenda fe7fc334c6 remove errant ChangeLog header. 1998-05-21 18:07:33 +00:00
Elena Zannoni cb43207965 Thu May 21 13:56:24 1998 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
* gdbtk.c: reinserted the changes that were accidentally deleted:
        (_initialize_gdbtk): Use correct device names in
        cygwin-specific call (cosmetic change).
        (gdbtk_ignorable_warning): removed va_list parameter,
        which was unused.
        (_initialize_gdbtk): add cygwin32 specific code to
        allow `gdb -nw' to work when specified specified from a windows
        console-mode command line.

        * ChangeLog: moved Chris Faylor's comment to ChangeLog-gdbtk
1998-05-21 18:03:25 +00:00
Patrick Macdonald fab0ee0d0b * interp.c: modified name of GIF device
* sky-gpuif.[ch]:  IMT burst support and queue manipulation ( see
	                   ChangeLog.sky for complete details )
	* sky-gs.c: modified name of GIF device
1998-05-21 15:41:35 +00:00
Andrew Cagney 26feb3a83d Fix sign extension on 32 bit add/sub instructions. 1998-05-21 09:32:07 +00:00
Andrew Cagney 8404825993 * interp.c (sim_fetch_register): Convert internal r5900 regs to
target byte order
1998-05-21 08:18:21 +00:00
Andrew Cagney 643878d017 * sim-hw.c: Include ctype.h.
(do_hw_poll_read): Do not assume EAGAIN.
1998-05-21 08:17:31 +00:00
Jason Molenda 78af0a0094 Small typeos. 1998-05-20 23:29:03 +00:00
Jillian Ye e0459470a9 c_gen.pl: Added subroutine "print_comment"
and on/off option for "src line #"
1998-05-20 22:14:16 +00:00
Gavin Romig-Koch 116b98b89a * mips/tm-tx39.h (MIPS_DEFAULT_FPU_TYPE) : Defined as MIPS_FPU_NONE.
* mips/tm-tx39l.h : Same.
1998-05-20 19:31:04 +00:00
John Metzler 40fd928f8a Wed May 20 10:12:11 1998 John Metzler <jmetzler@cygnus.com>
* m32r-tdep.c: (decode_prologue): Handle frames compiled with -Os.
        Split out as separate function called by skip prologue and scan
        prologue. new formula handles optimization in which the prologue
        is interleaved with the body of the function. Also recognizes new
        variations of prologue encoding.  Use of frame pointer is
        essential to debugging, -fno-omit-frame-pointer
        (m32r_skip_prologue): Call decode prologue, ignore line info
        (m32r_scan_prologue): Call decode prologue, ignore line info
1998-05-20 17:13:20 +00:00
Doug Evans 66f1864d7e * m32r-sim.h (PROFILE_COUNT_PARINSNS): New macro.
* mloopx.in (extract): Set abuf.addr for proper fill nop counting.
	(execute): Count parallel insns.
	* sim-if.c (print_m32r_misc_cpu): Print count.
	* sim-main.h (M32R_MISC_PROFILE): New member parallel_count.
1998-05-20 11:59:32 +00:00
Doug Evans 6f7833f035 * cgen-trace.c (first_insn_p): New static local.
(trace_insn_init): Set it.
	(trace_insn_fini): Use TRACE_PREFIX.
	(trace_insn): Rewrite to use trace_prefix.
	* sim-trace.c (trace_prefix): Don't print filename arg if NULL.
	Adjust width accordingly.

	* sim-profile.h (PROFILE_DATA): New member profile_any_p.
	(PROFILE_ANY_P,PROFILE_INSN_P,PROFILE_MEMORY): New macros.
	(PROFILE_SCACHE_P,PROFILE_PC_P,PROFILE_CORE_P): New macros.
	(PROFILE_COUNT_INSN,PROFILE_COUNT_READ,PROFILE_COUNT_WRITE): Simplify.
	(PROFILE_COUNT_CORE): Simplify.
	* sim-profile.c (profile_option_handler): Compute profile_any_p.
1998-05-20 11:43:00 +00:00
Doug Evans 6ebf4a9559 Zero bottom two bits of pc in jmp,jl insns.
* sem.c,sem-switch.c: Regenerate.
	* semx.c: Regenerate.
1998-05-20 07:54:31 +00:00
Doug Evans 6f1cadd0ce * cgen-ops.h (ADDCFSI): Fix typo. 1998-05-20 07:01:05 +00:00
Jeff Law 3366d0655b * mips-opc.c (multu1): Add two operand variant for the r5900. 1998-05-20 06:21:01 +00:00
John Metzler 5d460ad9b5 Tue May 19 17:23:54 1998 John Metzler <jmetzler@cygnus.com>
* w89k-rom.c (_initialize_w89k ): Call new init function
	             (init_w89k_cmds): Convert to dynamic initialization of
	              monitor_ops data structure for forward compatability with
	              additions to the data structure.
	* dbug-rom.c (_initialize_dbug_rom): ditto
	             (init_dbug_cmds):       ditto
	* m32r-rom.c (_initialize_m32r_rom):  ditto
	             (init_m32r_cmds):        ditto
1998-05-20 00:30:42 +00:00
Nick Clifton 5519850dea Fix for PR15642 - apply label alignment adjustment to all labels at the given address. 1998-05-20 00:03:01 +00:00
Doug Evans f99354d0c0 * sim-if.c (do_trap): Treat traps 2-15 as hardware does. 1998-05-19 23:52:23 +00:00
Ian Lance Taylor 71842815b0 * reloc.c (bfd_check_overflow): Add casts before shifts which may
not fit in 32 bits.
	(_bfd_relocate_contents): Likewise.
1998-05-19 22:45:38 +00:00
Ian Lance Taylor 200b86ea4f * gas/mips/mips16.d: Correct to reflect bug fix to disassembler. 1998-05-19 22:17:38 +00:00
Ian Lance Taylor 7e9e8c361d * mips-dis.c (print_mips16_insn_arg): Handle type ']' correctly
with a shift count of 0.
1998-05-19 21:36:42 +00:00
Catherine Moore 7ccd2d11c4 *** empty log message *** 1998-05-19 13:20:47 +00:00
Catherine Moore a5002978e0 Use number_to_chars_bigendian and number_to_chars_littleendian to
write data in sparc_handle_align.
1998-05-19 13:03:09 +00:00
Nick Clifton 59bb547b06 Fix PR 15948 1998-05-19 00:12:10 +00:00
Doug Evans 93624d0b55 * write.c (fixup_segment): Change "segment" to "section" in
error message.
1998-05-18 23:06:10 +00:00
Nick Clifton be461cc321 Fix nightly testing bug. 1998-05-18 21:47:54 +00:00
Michael Meissner e13d507e0f Change subtraction of two symbols message; At end of file flush any debug_sym links 1998-05-18 20:56:45 +00:00
Keith Seitz d4d1c7b5b3 * dbxread.c (process_one_symbol): If block addresses are relative to
function start addresses, reset function_start_address whenever a new
        source file is seen.
1998-05-18 20:48:58 +00:00
Ian Lance Taylor b4c61dc900 From Jason Merrill <jason@cygnus.com>:
* ldlang.c (wild_sort): Correct order of sort.
	* scripttempl/elf.sc: Put *crtbegin.o before other .ctors and
	.dtors.
	* scripttempl/elfd10v.sc: Likewise.
start-sanitize-d30v
	* scripttempl/elfd30v.sc: Likewise.
end-sanitize-d30v
	* scripttempl/elfppc.sc: Likewise.
1998-05-18 20:21:22 +00:00
Jeff Law 1190b223b8 * config/tc-mips.c (validate_mips_insn): Handle ';' opcode completer.
(mips_ip): Likewise.
1998-05-18 17:51:56 +00:00
Frank Ch. Eigler 1cc17500c3 * Added tests for R5900 mult1 instructions. 1998-05-18 17:48:38 +00:00
Jeff Law cb6a332528 * vu0.s: Test vopmula/vopmsub with and without opcode
completer.
        * vu0.d: Corresponding changes.
1998-05-18 17:48:37 +00:00
Frank Ch. Eigler 10c3731d9c * Followup for SCEI PR 15853: 2-operand R5900 "mult1" instruction.
Mon May 18 14:27:06 1998  Frank Ch. Eigler  <fche@cygnus.com>
	* mips-opc.c (mult1): Add two-operand variety of mult1 for R5900.
1998-05-18 17:46:35 +00:00
Jeff Law 1124a4a7a7 * mips-dis.c (print_insn_arg): Handle ';' opcode completer.
(_print_insn_mips): Likewise.
        * vu0.h (vopmula, vopmsub): Correctly handle opcode/operand
        completers.
1998-05-18 17:46:34 +00:00
Doug Evans 496b3694af * sim/sky/sky.ld: Delete file. 1998-05-18 17:38:48 +00:00