aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
1998-12-05 * configure.in: Call SIM_AC_OPTION_INLINE.Doug Evans11-796/+1068
* configure: Regenerate. * sim-main.h: Protect against multiple inclusion. Don't include cgen-scache.h,cgen-cpu.h,cgen-trace.h,cpuall.h. Done by cgen-sim.h now. * tconfig.in (SIM_HAVE_MODEL): Delete, moved to cgen-types.h. * cpuall.h: Regenerate. * cpu.h,decode.c,sem-switch.c,sem.c: Regenerate. * mloop.in (extract16): Make static inline again. Simplify with call to @cpu@_fill_argbuf,@cpu@_fill_argbuf_tp. (extract32): Ditto. Simplify with call to @cpu@_fill_argbuf,@cpu@_fill_argbuf_tp. (execute): Test ARGBUF_PROFILE_P before profiling. Update calls to TRACE_INSN_INIT,TRACE_INSN_FINI. * cpux.h,decodex.c,modelx.c,semx-switch.c: Regenerate. * mloopx.in: Rewrite.
1998-12-05 * cgen-defs.h: New file, old cgen-sim.h.Doug Evans6-132/+554
* cgen-sim.h: Simple header that includes others. * sim-arange.c: New file. * sim-arange.h: New file. * sim-basics.h: Include it. * Make-common.in (SIM_NEW_COMMON_OBJS): Add sim-arange.o. (sim-arange.o): Add rule for. * sim-cpu.h (sim_cpu_msg_prefix): Add prototype. (sim_io_eprintf_cpu): Add prototype. * sim-inline.h (HAVE_INLINE): Define if GNUC. (INLINE2): New macro. (EXTERN_INLINE): New macro. * sim-module.c (sim_post_argv_init): Initialize cpu backlink before calling module init fns. * sim-profile.h (OPTION_PROFILE_*): Move into enum. (profile_init): New function. (profile_options): New option --profile-range. (profile_option_handler): Handle --profile-range. (profile_print_insn): Qualify address range specific section titles. (profile_print_addr_ranges): New function. (profile_info): Print address ranges if specified. (profile_install): Set profile_init init fn. * sim-profile.h (PROFILE_DATA): New member `range'. * sim-trace.c (trace_init): New function. (trace_options): New option --trace-range. (trace_option_handler): Handle --trace-range. (trace_install): Set trace_init init fn. * sim-trace.h (TRACE_DATA): New member `range'. * sim-utils.c (sim_cpu_msg_prefix): New function. (sim_io_eprintf_cpu): New function. * cgen-engine.h (PC_IN_TRACE_RANGE_P): New macro. (PC_IN_PROFILE_RANGE_P): New macro. * cgen-trace.c (trace_insn_init): Set current_insn to NULL. (trace_insn_fini): New arg abuf. All callers updated. Exit early if trace_insn not called. Check ARGBUF_PROFILE_P before printing cycle counts. * cgen-trace.h (trace_insn_fini): Update prototype. (TRACE_RESULT_P): New macro. (TRACE_INSN_INIT,TRACE_INSN_FINI): New arg abuf. All callers updated. (TRACE_INSN): Check ARGBUF_TRACE_P. (TRACE_EXTRACT,TRACE_RESULT): New arg abuf. All callers updated. * cgen-types.h (SIM_INLINE): Delete. (SIM_HAVE_MODEL,SIM_HAVE_ADDR_RANGE): Define. * cgen-utils.c: Don't include cgen-engine.h * genmloop.sh (@cpu@_fill_argbuf): New function. (@cpu@_fill_argbuf_tp): New function. (@cpu@_emit_before,@cpu@_emit_after): New functions. (@cpu@_pbb_begin): Prefix cti_sc,insn_count with '_'. (SET_CTI_VPC,SET_INSN_COUNT): Update. (@cpu@_pbb_before): Check ARGBUF_PROFILE_P before calling doing profiling. Update call to TRACE_INSN_INIT,TRACE_INSN_FINI. (@cpu@_pbb_after): Check ARGBUF_PROFILE_P before calling doing profiling. Update call to TRACE_INSN_FINI.
1998-12-05* sim-memopt.c (sim_memory_uninstall): Result type is `void'.Doug Evans1-0/+2
1998-12-05address range supportDoug Evans4-0/+389
1998-12-05 * fr30-opc.c: Regenerate.Doug Evans2-3/+7
1998-12-04*** empty log message ***Jim Blandy1-1/+1
1998-12-04*** empty log message ***Jim Blandy1-0/+18
1998-12-04Fri Dec 4 17:08:08 1998 Dave Brolley <brolley@cygnus.com>Dave Brolley5-163/+389
* fr30-asm.c,fr30-dis.c,fr30-opc.c,fr30-opc.h: Regenerated.
1998-12-04Change default start address to 0x10000 so that it fits in 20 bitsNick Clifton2-2/+15
1998-12-04 * cpu.h,decode.c,sem-switch.c,sem.c: Regenerate.Doug Evans8-4170/+13693
* cpux.h,decodex.c,modelx.c,semx-switch.c: Regenerate.
1998-12-041998-12-03 Jason Molenda (jsm@bugshack.cygnus.com)Jason Molenda2-1/+8
* monitor.c (monitor_read_memory): Zero out pattern buffers before calling re_search. (parse_register_dump): Ditto. PR 18049. This bug had existed erratically since I upgraded to the new gnu-regex.c this last summer. The problem is mostly in parse_register_dump; the allocated structure has some random values in it and there is a flag set in the register_pattern structure by the gnu-regex library which indicates that the values in the re_registers should be trusted. If those arbitrary contents aren't zero, gnu-regex tries to run realloc on them and we get a core dump on some hosts for some targets when the moon is just right.
1998-12-04* gen-engine.c (print_run_body): Prefix instruction_address.Andrew Cagney1-2/+18
1998-12-04* Test case for PR 18364, over from d30v branch.Frank Ch. Eigler1-0/+12
1998-12-04 Frank Ch. Eigler <fche@cygnus.com> * do-shifts.S: Update an older test case.
1998-12-03 * remote.texi: Changed wording that implied that the GDB remoteStan Shebs2-3/+7
protocol caches register values instead of GDB itself.
1998-12-03Thu Dec 3 14:20:03 1998 Dave Brolley <brolley@cygnus.com>Dave Brolley3-3/+116
* sim/fr30/ld.cgs: Implement more loads. * sim/fr30/call.cgs: New testcase. * sim/fr30/testutils.inc (testr_h_dr): New macro. (set_s_user,set_s_system): New macros.
1998-12-03Thu Dec 3 14:26:20 1998 Dave Brolley <brolley@cygnus.com>Dave Brolley2-249/+616
* fr30-asm.c,fr30-dis.c,fr30-opc.c,fr30-opc.h: Regenerated.
1998-12-03Thu Dec 3 14:20:03 1998 Dave Brolley <brolley@cygnus.com>Dave Brolley50-0/+2838
* sim/fr30: New Directory.
1998-12-03Fix typo in orevious deltaNick Clifton1-1/+1
1998-12-03change BFD_RELOC_FR30_32 to BFD_RELOC_FR30_48Nick Clifton2-3/+6
1998-12-03Add support for R_FR30_48 reloc.Nick Clifton1-118/+28
1998-12-03FR30 updates/checkpoint.Zdenek Radouch1-0/+9
1998-12-03fr30 update.Zdenek Radouch1-0/+3
1998-12-03Still some bogus code; checkpoint.Zdenek Radouch1-601/+24
1998-12-03Still a lot of bogus code; just a checkpoint.Zdenek Radouch1-115/+90
1998-12-03Updated to match latest assembler output.Nick Clifton1-0/+14
1998-12-03 * fr30-asm.c,fr30-dis.c,fr30-opc.c,fr30-opc.h: Regenerate.Doug Evans5-563/+786
1998-12-03Clean up function return types. Functions not returning values,Andrew Cagney10-19/+44
functions unnecessarily returning values.
1998-12-03 From Brendan Kehoe:Stan Shebs1-1/+22
* gdb.c++/cplusfuncs.cc, misc.cc, virtfunc.cc: Add now-required int return types.
1998-12-03Update.Ulrich Drepper2-0/+5
1998-12-03(process_mips_specific): Print .conflict section content.Ulrich Drepper1-2/+66
1998-12-03Wed Dec 2 15:11:38 1998 Michael Snyder <msnyder@cleaver.cygnus.com>Michael Snyder1-0/+6
* m32r-tdep.c (decode_prologue): If no branch or push fp is found, but there's a stack adjust, then use that as the end of prologue. (m32r_skip_prologue): don't skip past the first line if there is line info. (m32r_virtual_frame_pointer): new function. (m32r_fix_call_dummy): no return value needed.
1998-12-02Update.Ulrich Drepper2-6/+22
1998-12-02(process_mips_specific): Print l_flags in liblist in textual form.Ulrich Drepper1-88/+101
1998-12-02Add more LL_* options from Irix 6.5.Ulrich Drepper1-0/+13
1998-12-02spelling correction.Michael Snyder1-8/+43
1998-12-02Wed Dec 2 15:11:38 1998 Michael Snyder <msnyder@cleaver.cygnus.com>Michael Snyder3-28/+49
* tracepoint.c: Move default definition of TARGET_VIRTUAL_FRAME_POINTER from here to target.h. * target.h: Add default definition of TARGET_VIRTUAL_FRAME_POINTER. * ax-gdb.c (gen_frame_args_address, gen_frame_locals_address): use TARGET_VIRTUAL_FRAME_POINTER to determine frame pointer. (gen_trace_for_expr): new argument, address of tracepoint, gets passed to new_agent_expr and added to struct agent_expr. (is_nontrivial_conversion): call to new_agent_expr now requires a dummy argument. (agent_command): use get_current_frame() to get current PC scope; pass it to gen_trace_for_expr. * ax-general.c (new_agent_expr): new argument, address of tracepoint; store it in new field of struct agent_expr. * ax.h (struct agent_expr): add new field for tracepoint address. * ax-gdb.h: change prototypes to match above changes.
1998-12-02Update.Ulrich Drepper1-0/+4
1998-12-02Add R_MIPS_JALR and adjust R_MIPS_max appropriately.Ulrich Drepper1-3/+22
1998-12-02add docs for r5900 arg charactersDoug Evans1-0/+27
1998-12-02Enable relocs for ldi:20 insnNick Clifton1-0/+5
1998-12-02 * elflink.h (elf_adjust_dynamic_symbol): Warn on an attempt toIan Lance Taylor1-0/+12
link against a dynamic symbol with no type or size.
1998-12-02 * gdbint.texinfo: Add some info about symbol readers.Stan Shebs1-0/+8
(CHILL_PRODUCER, etc): Comment out descriptions, not useful. (IN_SOLIB_CALL_TRAMPOLINE): Rename info from IN_SOLIB_TRAMPOLINE. (IN_SOLIB_RETURN_TRAMPOLINE): Describe. (KERNEL_DEBUGGING, MIPSEL): No info about these, remove.
1998-12-01Update.Ulrich Drepper1-6/+12
1998-12-01patch for PR 18243.Jim Wilson1-0/+6
* coff-h8300.c (h8300_bfd_link_add_symbols): Make reloc_size, reloc_count and i long instead of unsigned long. Handle error return from bfd_canonicalize_reloc.
1998-12-01* A few more improvements to gx jit prototype.Frank Ch. Eigler14-264/+614
[common/ChangeLog] 1998-12-01 Frank Ch. Eigler <fche@elastic.org> * sim-gx-run.c (sim_engine_run): Use new tgx_info struct to collect run-time arguments to gx block. * sim-gx.h (sim_gx_function): Corresponding signature change. * sim-gx.c (sim_gx_compiled_block_f): Remove nonfunctional code to again compile a gx block source file. (sim_gx_compiled_block_dispose): Uninstall obsoleted gx block shared libraries. (sim_gx_block_translate): Always emit new "gx_label_NNNN" labels, for basic block entry points, even if !__GNUC__. [m32r-gx/ChangeLog] 1998-12-01 Frank Ch. Eigler <fche@elastic.org> * Makefile.in (SIM_OBJS): Don't build sim-core.o. * configure.in: Added --enable-sim-inline support. Look for "getenv()" function. * configure: Rebuilt. * config.in: Rebuilt. * gx-translate.c: Include "sim-inline.c" for sim-core inlining. (m32r_gx_{load,store}*): Update signature. (tgx_emit_pre_function): Emit new "tgx_info" struct, update callback function signatures. (m32r_emit_*_insn): Use new callback signatures. For all short branches in optimized mode, emit direct "goto gx_label_NNNN". (tgx_optimize_test): If the GX_OPTIMIZE environment variable is set, allow its integer value to override the optimization heuristic. * m32r-sim.h: New empty placeholder file. * sim-main.c: New empty placeholder file. * sim-if.c (sim_create_inferior): Use NULL instead of &abort for unimplemented register fondling functions. * sim-main.h: Add multiple inclusion guard. Update callback function signatures. (tgx_info): New struct for collecting gx block invocation arguments.
1998-12-01Detect the absence of a symbol hash table.Nick Clifton1-0/+5
1998-12-01Cleanup open comments.Andrew Cagney1-3/+6
1998-12-01 * config/fr30/tm-fr30.h (INNER_THAN): Add parameters.Doug Evans2-1/+5
1998-11-30* cgen-utils.c (cgen_virtual_opcode_table): Update.Doug Evans1-0/+9
1998-11-30 * cgen-dis.c (hash_insn_array): CGEN_INSN_VALUE ->Doug Evans1-1/+5
CGEN_INSN_BASE_VALUE. * cgen-asm.in (insert_normal): Change start,length to unsigned int. New args word_offset, word_length. Rewrite. (FLD): Define. (insert_1): Fix lsb0 case. * cgen-dis.in (extract_normal): Change start,length to unsigned int. New args word_offset, word_length. Rewrite. (FLD): Define. (extract_1): Fix lsb0 case. * cgen-opc.in (FLD): Define. * m32r-opc.c,m32r-opc.h,m32r-asm.c,m32r-dis.c: Regenerate. * fr30-opc.c,fr30-opc.h,fr30-asm.c,fr30-dis.c: Regenerate.