Jason Molenda [Wed, 9 Dec 1998 00:38:46 +0000 (00:38 +0000)]
1998-12-08 Philippe De Muyter <phdm@macqel.be>
* config/xm-aix4.h (SIGWINCH_HANDLER): Function `aix_resize_window'
must accept a signal number as parameter.
* config/rs6000/xm-rs6000.h (SIGWINCH_HANDLER): Ditto.
* utils.c (initialize_utils): Give a parameter to `SIGWINCH_HANDLER'.
* inferior.h (register_valid): Variable's type is `SIGNED char', not
`char'.
* findvar.c (register_valid): Ditto.
* defs.h (make_cleanup_func): Protect parameter list by `PARAMS'.
* gdbthread.h (unbind_target_thread_vector): Likewise.
Jeff Law [Tue, 8 Dec 1998 22:52:54 +0000 (22:52 +0000)]
Fixes.
Jeff Law [Tue, 8 Dec 1998 22:51:49 +0000 (22:51 +0000)]
*** empty log message ***
Jeff Law [Tue, 8 Dec 1998 22:01:16 +0000 (22:01 +0000)]
Keep restore.c and restore.exp
Edith Epstein [Tue, 8 Dec 1998 21:57:35 +0000 (21:57 +0000)]
Tue Dec 8 15:09:44 1998 Edith Epstein <eepstein@sophia.cygnus.com>
Merged in m68k-linux patch from Andreas Schwab
1998-12-01 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
* Makefile.in, configure.host, configure.tgt: Add support for
m68k-linux.
* config/m68k/linux.mh: New file.
* config/m68k/linux.mt: New file.
* config/m68k/nm-linux.h: New file.
* config/m68k/tm-linux.h: New file.
* config/m68k/xm-linux.h: New file.
* gdb/m68klinux-nat.c: New file.
* gdbserver/low-linux.c: Add support for m68k-linux.
* gdb/config/m68k/tm-m68k.h (NUM_FREGS): New macro.
Ian Lance Taylor [Tue, 8 Dec 1998 21:55:15 +0000 (21:55 +0000)]
* libbfd.c (COERCE32): Cast through unsigned long and long to
avoid bug in old version of gcc.
Ian Lance Taylor [Tue, 8 Dec 1998 21:30:59 +0000 (21:30 +0000)]
* objdump.1: Fix typo (-d to -D). From Nokubi Hirotaka
<hnokubi@yyy.or.jp>.
Ian Lance Taylor [Tue, 8 Dec 1998 21:22:47 +0000 (21:22 +0000)]
* elf64-alpha.c (elf64_alpha_additional_program_headers): Remove.
(elf_backend_additional_program_headers): Don't define.
Edith Epstein [Tue, 8 Dec 1998 20:41:19 +0000 (20:41 +0000)]
Tue Dec 8 15:09:44 1998 Edith Epstein <eepstein@sophia.cygnus.com>
* config/m68k/tm-m68k.h (NUM_FREGS): m68k-linux patch.
Added NUM_FREGS macro.
* config/m68k/xm-linux.h: m68k-linux patch. New file.
* config/m68k/tm-linux.h: m68k-linux patch. New file.
* config/m68k/nm-linux.h: m68k-linux patch. New file.
* config/m68k/linux.mt: m68k-linux patch. New file.
* config/m68k/linux.mh: m68k-linux patch. New file.
* gdbserver/low-linux.c: m68k-linux patch. Added an ifdef
that checks the value of __GLIBC to decide whether or
not to include sys/reg.h.
* m68klinux-nat.c: m68k-linux patch. New file. Note
both m68k-tdep.c and m68klinux-nat.c contain definitions
for supply_gregset and supply_fpregset. The definitions
in m68k-tdep.c are valid is USE_PROC_FS is defined. Otherwise,
the definitions in m68klinux-nat.c will be used. This is a
bit of a hack. The supply_* routines do not belong in
*_tdep.c files. But, there are several lynx ports that currently
depend on these definitions.
* configure.tgt: m68k-linux patch. Added m68*-*-linux*
gdb_target.
* configure.host: m68k-linux patch. Added m68*-*-linux*
gdb_host.
* Makefile.in: m68k-linux patch. Added compile line for
m68klinux-nat.o
Ian Lance Taylor [Tue, 8 Dec 1998 20:01:58 +0000 (20:01 +0000)]
* read.c (output_leb128): Don't mark as inline.
David Taylor [Tue, 8 Dec 1998 19:01:34 +0000 (19:01 +0000)]
(generic_strcat_address): reformat to GNU coding
conventions. change sprintf call to an sprintf_vma call.
Dave Brolley [Tue, 8 Dec 1998 18:22:44 +0000 (18:22 +0000)]
Tue Dec 8 13:16:53 1998 Dave Brolley <brolley@cygnus.com>
* sim/fr30/testutils.inc (set_s_user): Correct Mask.
(set_s_system): Correct Mask.
* sim/fr30/ld.cgs (ld): Move previously failing test back
into place.
* sim/fr30/ldm0.cgs: New testcase.
* sim/fr30/ldm1.cgs: New testcase.
* sim/fr30/stm0.cgs: New testcase.
* sim/fr30/stm1.cgs: New testcase.
Dave Brolley [Tue, 8 Dec 1998 18:22:25 +0000 (18:22 +0000)]
Tue Dec 8 13:16:53 1998 Dave Brolley <brolley@cygnus.com>
* sim/fr30/ldm0.cgs: New testcase.
* sim/fr30/ldm1.cgs: New testcase.
* sim/fr30/stm0.cgs: New testcase.
* sim/fr30/stm1.cgs: New testcase.
Dave Brolley [Tue, 8 Dec 1998 18:19:13 +0000 (18:19 +0000)]
Tue Dec 8 13:16:53 1998 Dave Brolley <brolley@cygnus.com>
* sim/fr30/testutils.inc (set_s_user): Correct Mask.
(set_s_system): Correct Mask.
* sim/fr30/ld.cgs (ld): Move previously failing test back
into place.
Dave Brolley [Tue, 8 Dec 1998 18:14:38 +0000 (18:14 +0000)]
Tue Dec 8 13:12:44 1998 Dave Brolley <brolley@cygnus.com>
* fr30-asm.c,fr30-dis.c,fr30-opc.c,fr30-opc.h: Regenerated.
Andrew Macleod [Tue, 8 Dec 1998 17:05:38 +0000 (17:05 +0000)]
* config/tc-ppc.c (ppc_vbyte): Prototype and new function for
AIX .vbyte unaligned data support.
(md_pseudo_table): Add 'vbyte' to list of valid pseudos.
(ppc_elf_validate_fix): Add eh_frame to list of ELF relocatable
sections.
David Taylor [Tue, 8 Dec 1998 16:33:13 +0000 (16:33 +0000)]
The following changes were made by Jim Blandy
<jimb@zwingli.cygnus.com> and David Taylor
<taylor@texas.cygnus.com> as part of a project to merge in changes
made by HP; HP did not create ChangeLog entries.
* config/mp-enable-tui: New file.
(TUI_CFLAGS): Search devo's include directory, as long as we're
totally ruining modularity.
(INCLUDE_SRCDIR): New var.
(GDB_TUI_SRCDIR): Fix syntax error.
* configure.in: Check the --enable-tui flag; if it's set, include
a makefile fragment that #defines TUI and adds the needed #include
directories.
(*-*-hpux*): New host; use sysdep-hpux.h.
* Makefile.in (.c.o): Check the variable set in the makefile
fragment above.
* display.c (term_goto): declare it.
(insert_some_chars): set it.
(delete_chars): set it.
* readline.c: add tui include files surrounded by TUI.
(rl_reset): new function, move some of rl_abort functionality to
here.
(rl_abort): call rl_reset.
(rl_getc): tui changes.
(init_terminal_io): tui changes.
* readline.h (tui_version, fputc_unfiltered, fputs_unfiltered,
tui_tputs): declare if TUI is defined.
* rltty.c (prepare_terminal_settings): additional comment.
* signals.c: add tui include files surrounded by TUI. move #if
and #endif to column 1 so HP's compiler will accept them. Remove
declaration of tuiDoAndReturnToTop since it's declared in tui.h.
(rl_handle_sigwinch): call tuiDoAndReturnToTop if TUI defined.
(rl_handle_sigwinch_on_clear): define if TUI defined.
(rl_set_signals): if TUI, avoid infinite recursion.
(rl_clear_signals): install rl_handle_sigwinch_on_clear.
* sysdep-hpux.h: New file.
David Taylor [Tue, 8 Dec 1998 15:54:10 +0000 (15:54 +0000)]
The following changes were made by
Elena Zannoni <ezannoni@kwikemart.cygnus.com>,
David Taylor <taylor@texas.cygnus.com>, and
Edith Epstein <eepstein@sophia.cygnus.com> as part of a project to
merge in changes by HP; HP did not create ChangeLog entries.
* dis-buf.c (generic_strcat_address): new function.
* hppa-dis.c: Changes to improve hppa disassembly.
Changed formatting in : reg_names, fp_reg_names,control_reg,
New variables : sign_extension_names, deposit_names, conversion_names
float_test_names, compare_cond_names_double, add_cond_names_double,
logical_cond_names_double, unit_cond_names_double,
branch_push_pop_names, saturation_names, shift_names, mix_names,
New Macros : GET_COMPL_O, GET_PUSH_POP,MERGED_REG
Move some definitions to libhppa.h: GET_FIELD, GET_BIT
(fput_const): renamed as fput_hex_const
(print_insn_hppa):
- use the macros fputs_filtered and
fput_decimal_const whenever possible; calls to sign_extend require
2 params -- add a missing second param of 0.
- Some new code ifdefed for LOCAL_ONLY, all related to figuring out
architecture version number of current machine. HP folks are
trying to handle situation where the target program was compiled
for PA 1.x (32-bit), but is running on a PA 2.0 machine and
visa versa.
- added new cases : 'g', 'B', 'm'
- added cases specifically for PA 2.0
- changed the following cases : '"', 'n', 'N', 'p', 'Z',
- calls to fput_const become calls to fput_hex_const
Nick Clifton [Tue, 8 Dec 1998 15:44:06 +0000 (15:44 +0000)]
Fix pc relative relocs.
David Taylor [Tue, 8 Dec 1998 15:44:05 +0000 (15:44 +0000)]
HP merge changes by David Taylor, Edith Epstein, Jim Blandy, and Elena
Zannoni.
* hpux-core.c (hpux_core_core_file_p): this function now
understands HPUX 10.30 thread info. Yes, the thread stacks can be
found in the corefile! Also, in hpux_core_core_file_p, if we
encounter a section with an unknown type, don't punt. Instead,
just skip it. Also, count the number of sections of known type
that we encounter. If we encounter at least one good one, then
we'll declare that the file is a core file. If we encounter any
unknown ones but some known ones, then we'll issue a warning (but
still declare it to be a core file). Also, correctly decide when a
file is not a core.
(PROC_INFO_HAS_THREAD_ID): define if CORE_ANON_SHMEM defined.
(CORE_ANON_SHMEM): define if not defined.
(hpux_core_struct): add members lwpid and user_tid.
(core_kernel_thread_id, core_user_thread_id): new macros.
(make_bfd_asection): use bfd_alloc to allocate room for a copy of
the name before storing it in the bfd.
(hpux_core_core_file_p): handle threads.
* libhppa.h (GET_FIELD): protect against redefinition.
(HPPA_WIDE): define.
(GET_FIELD): define.
(GET_BIT): define.
(MASK): define.
(CATENATE): define.
(ELEVEN): define.
(sign_extend): redefine.
(assemble_6): define.
(assemble_12): rewrite.
(assemble_16): define.
(assemble_16a): define.
(assemble_17): rewrite.
(assemble_22): define.
Frank Ch. Eigler [Tue, 8 Dec 1998 12:23:26 +0000 (12:23 +0000)]
* sky->devo merge, final part of sim merge
[ChangeLog.sky]
1998-12-08 Frank Ch. Eigler <fche@cygnus.com>
* sim-main.h (sim_state): Add multi-phase load tracking fields.
* sky-gdb.c (sky_option_handler): Add --load-next option handling.
* mips.igen (BREAK): Add multi-phase load and printf code handling.
Frank Ch. Eigler [Tue, 8 Dec 1998 08:53:58 +0000 (08:53 +0000)]
* Test case for PR 18452.
1998-12-08 Frank Ch. Eigler <fche@cygnus.com>
* do-2wordops.S: New test for double-word load-like operations.
Jim Wilson [Tue, 8 Dec 1998 07:40:07 +0000 (07:40 +0000)]
i960 cgen simulator support.
* Makefile.am (CFILES): Add i960c-asm, i960c-dis.c, i960c-opc.c.
(ALL_MACHINES): Add i960c-asm.lo, i960c-dis.lo, i960-opc.lo.
start-sanitize-cygnus
(CLEANFILES): Add stamp-i960.
(I960_DEPS): Define.
(i960c-opc.h, i960c-opc.c, i960c-asm.c, i960c-dis.c, stamp-i960):
New makefile rules.
end-sanitize-cygnus
(i960-asm.lo, i960c-dis.lo, i960c-opc.lo): New Makefile rules.
* Makefile.in: Rebuilt.
* configure.in (bfd_i960_arch): Add i960c-opc.lo, i960-asm.o,
i960-dis.c to ta.
* i960-dis.c (print_insn_i960): Rename to print_insn_i960_orig.
* i960c-asm.c, i960c-dis.c, i960c-opc.c, i960c-opc.h: New files.
Ian Lance Taylor [Tue, 8 Dec 1998 02:11:38 +0000 (02:11 +0000)]
Mon Dec 7 21:10:09 1998 J.J. van der Heijden <j.j.vanderheijden@student.utwente.nl>
* configure.tgt (i[3456]86-*-mingw32*): Add cygwin target specific
files.
Jim Blandy [Mon, 7 Dec 1998 23:15:12 +0000 (23:15 +0000)]
*** empty log message ***
Jason Molenda [Mon, 7 Dec 1998 23:07:17 +0000 (23:07 +0000)]
1998-12-07 Jason Molenda (jsm@bugshack.cygnus.com)
* config/i386/xm-cygwin.h: Remove REQUEST_QUIT definition.
* config/powerpc/xm-cygwin.h: Ditto.
PR 17664.
With this define in place, you can't type "q" to get out of GDB's pager
under Cygwin.
Jim Blandy [Mon, 7 Dec 1998 20:28:54 +0000 (20:28 +0000)]
* rs6000-tdep.c (pop_frame): Correctly find the registers saved in
the stack frame. Their offset from the previous stack frame is in
fdata.gpr_offset and fdata.fpr_offset, not fdata.offset.
(gdb.base/return.exp)
* config/rs6000/tm-rs6000.h: Doc fixes.
Jim Blandy [Mon, 7 Dec 1998 20:28:31 +0000 (20:28 +0000)]
*** empty log message ***
Dave Brolley [Mon, 7 Dec 1998 19:34:45 +0000 (19:34 +0000)]
Mon Dec 7 14:33:44 1998 Dave Brolley <brolley@cygnus.com>
* fr30-asm.c,fr30-dis.c,fr30-opc.c,fr30-opc.h: Regenerated.
Nick Clifton [Mon, 7 Dec 1998 15:54:34 +0000 (15:54 +0000)]
Imrpve handling of erroneous input.
Catherine Moore [Mon, 7 Dec 1998 15:54:33 +0000 (15:54 +0000)]
Check for BFD_RELOC_ARM_PCREL_BRANCH in elf32_arm_force_relocation.
Nick Clifton [Mon, 7 Dec 1998 13:23:17 +0000 (13:23 +0000)]
Use signed values for signed relocaitons.
Ian Lance Taylor [Mon, 7 Dec 1998 03:41:40 +0000 (03:41 +0000)]
* configure.in: Define TARGET_BYTES_{BIG,LITTLE}_ENDIAN after
checking the target type.
(mips-dec-bsd*): Set endian to little.
* configure: Rebuild.
Ian Lance Taylor [Mon, 7 Dec 1998 03:39:20 +0000 (03:39 +0000)]
* mipsbsd.c (MY(set_arch_mach)): Make static.
* aoutx.h (NAME(aout,machine_type)): For bfd_arch_mips, use
bfd_mach_mips* macros rather than simple numbers.
Ian Lance Taylor [Mon, 7 Dec 1998 02:58:45 +0000 (02:58 +0000)]
* gprof.texi (Symspecs): Mention that you have to add any
underscore yourself when naming a symbol.
Ian Lance Taylor [Mon, 7 Dec 1998 02:47:22 +0000 (02:47 +0000)]
COFF weak symbol support, based on patches from Mark Elbrecht
<snowball3@usa.net>:
* coffcode.h (coff_slurp_symbol_table): Handle C_WEAKEXT.
* coffgen.c (coff_renumber_symbols): Handle weak symbols.
(coff_write_alien_symbol): Likewise.
* cofflink.c (coff_link_check_ar_symbols): Likewise.
(coff_link_add_symbols): Likewise.
(_bfd_coff_link_input_bfd): Likewise.
(_bfd_coff_write_global_sym): Likewise.
Ian Lance Taylor [Mon, 7 Dec 1998 02:46:56 +0000 (02:46 +0000)]
COFF weak symbol support, based on patches from Mark Elbrecht
<snowball3@usa.net>:
* config/obj-coff.h (S_IS_WEAK): Define if not BFD_ASSEMBLER.
* config/obj-coff.c (obj_coff_weak): New static function.
(obj_coff_endef) [both versions]: Handle weak symbols.
(coff_frob_symbol): Likewise.
(yank_symbols): Likewise.
(obj_pseudo_table): Add "weak".
Ian Lance Taylor [Mon, 7 Dec 1998 01:07:02 +0000 (01:07 +0000)]
* objdump.c (SFILE): Add size field.
(objdump_sprintf): Merge both versions into one. Increase buffer
size as needed to avoid overflow.
(disassemble_bytes): Change buf from 1000 bytes to 50. Change
initialization and use of sfile to match changes to
objdump_sprintf.
Ian Lance Taylor [Mon, 7 Dec 1998 00:33:13 +0000 (00:33 +0000)]
* elf.c (copy_private_bfd_data): Always initialize the
includes_phdrs field.
Ian Lance Taylor [Mon, 7 Dec 1998 00:01:16 +0000 (00:01 +0000)]
* mips-opc.c (mips_builtin_opcodes): Add dmfc2 and dmtc2.
Ian Lance Taylor [Sun, 6 Dec 1998 23:02:41 +0000 (23:02 +0000)]
* elflink.h (elf_fix_symbol_flags): Check for case where a non-ELF
file defines a symbol first mentioned in an ELF file.
Ian Lance Taylor [Sun, 6 Dec 1998 22:14:30 +0000 (22:14 +0000)]
* bfd-in.h: Always define BFD_HOST_64_BIT and BFD_HOST_U_64_BIT if
possible, rather than only if BFD64.
* elflink.h (compute_bucket_count): Just check BFD_HOST_U_64_BIT,
not __GNUC__.
* bfd-in2.h: Rebuild.
Ian Lance Taylor [Sun, 6 Dec 1998 21:56:13 +0000 (21:56 +0000)]
* srec.c (srec_set_section_contents): Correct test to avoid
switching to 4 byte addresses after seeing a second section which
requires 3 byte addresses. From Joel Schantz
<joel.schantz@argosys.boeing.com>.
Ian Lance Taylor [Sun, 6 Dec 1998 21:48:34 +0000 (21:48 +0000)]
* configure.in (m68k-*-gnu*): New target. From Aymeric Vincent
<aymeric.vincent@emi.u-bordeaux.fr>.
* aclocal.m4: Rebuild with current tools.
* configure: Rebuild.
Ian Lance Taylor [Sun, 6 Dec 1998 21:37:41 +0000 (21:37 +0000)]
rebuild correctly
Ian Lance Taylor [Sun, 6 Dec 1998 21:34:37 +0000 (21:34 +0000)]
* configure.tgt (m68*-*-gnu*): New target. From Aymeric Vincent
<aymeric.vincent@emi.u-bordeaux.fr>.
Ian Lance Taylor [Sun, 6 Dec 1998 21:31:24 +0000 (21:31 +0000)]
* config.bfd (m68*-*-gnu*): New target. From Aymeric Vincent
<aymeric.vincent@emi.u-bordeaux.fr>.
Ian Lance Taylor [Sun, 6 Dec 1998 20:10:52 +0000 (20:10 +0000)]
* config/tc-alpha.c (emit_ldgp): Give an error message rather than
an assertion failure for a case we can't handle when OBJ_ECOFF.
Ian Lance Taylor [Sun, 6 Dec 1998 19:09:24 +0000 (19:09 +0000)]
* ppc-opc.c (powerpc_opcodes): Add PowerPC403 GC[X] instructions.
From Saitoh Masanobu <msaitoh@spa.is.uec.ac.jp>.
Ian Lance Taylor [Sun, 6 Dec 1998 18:28:53 +0000 (18:28 +0000)]
* strip.1: Fix typo (-V to -v). From Issei Hirayama
<iss@mail.wbs.or.jp>.
Ian Lance Taylor [Sun, 6 Dec 1998 18:22:55 +0000 (18:22 +0000)]
* i386.h (i386_optab): Permit w suffix on processor control and
status word instructions.
Ian Lance Taylor [Sun, 6 Dec 1998 18:01:41 +0000 (18:01 +0000)]
Sun Dec 6 12:59:37 1998 H.J. Lu <hjl@gnu.org>
* ld-elfvers/vers1.c: Add missing return types and values.
* ld-elfvers/vers2.c: Likewise.
* ld-elfvers/vers3.c: Likewise.
* ld-elfvers/vers4.c: Likewise.
* ld-elfvers/vers5.c: Likewise.
* ld-elfvers/vers6.c: Likewise.
* ld-elfvers/vers7.c: Likewise.
* ld-elfvers/vers9.c: Likewise.
* ld-elfvers/vers15.c: Likewise.
Ian Lance Taylor [Sun, 6 Dec 1998 17:52:58 +0000 (17:52 +0000)]
* expr.c (operator): And with 0xff to avoid problems with signed
char.
Frank Ch. Eigler [Sat, 5 Dec 1998 11:46:32 +0000 (11:46 +0000)]
* gxtool silence tweak
Frank Ch. Eigler [Sat, 5 Dec 1998 10:32:12 +0000 (10:32 +0000)]
* gx prototype: simulator I/O bug fix
1998-12-05 Frank Ch. Eigler <fche@elastic.org>
* gx-translate.c (m32r_emit_short_insn): Correct ABI result
handling for TRAP insn.
Doug Evans [Sat, 5 Dec 1998 08:47:32 +0000 (08:47 +0000)]
(profile_print_addr_range): Pretty up output a little.
Doug Evans [Sat, 5 Dec 1998 08:09:18 +0000 (08:09 +0000)]
* configure.in: Call SIM_AC_OPTION_INLINE.
* 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.
Doug Evans [Sat, 5 Dec 1998 07:56:13 +0000 (07:56 +0000)]
* cgen-defs.h: New file, old cgen-sim.h.
* 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.
Doug Evans [Sat, 5 Dec 1998 02:33:31 +0000 (02:33 +0000)]
* sim-memopt.c (sim_memory_uninstall): Result type is `void'.
Doug Evans [Sat, 5 Dec 1998 02:19:39 +0000 (02:19 +0000)]
address range support
Doug Evans [Sat, 5 Dec 1998 01:46:33 +0000 (01:46 +0000)]
* fr30-opc.c: Regenerate.
Jim Blandy [Fri, 4 Dec 1998 23:24:21 +0000 (23:24 +0000)]
*** empty log message ***
Jim Blandy [Fri, 4 Dec 1998 23:17:38 +0000 (23:17 +0000)]
*** empty log message ***
Dave Brolley [Fri, 4 Dec 1998 22:08:56 +0000 (22:08 +0000)]
Fri Dec 4 17:08:08 1998 Dave Brolley <brolley@cygnus.com>
* fr30-asm.c,fr30-dis.c,fr30-opc.c,fr30-opc.h: Regenerated.
Nick Clifton [Fri, 4 Dec 1998 10:14:35 +0000 (10:14 +0000)]
Change default start address to 0x10000 so that it fits in 20 bits
Doug Evans [Fri, 4 Dec 1998 08:22:27 +0000 (08:22 +0000)]
* cpu.h,decode.c,sem-switch.c,sem.c: Regenerate.
* cpux.h,decodex.c,modelx.c,semx-switch.c: Regenerate.
Jason Molenda [Fri, 4 Dec 1998 04:46:18 +0000 (04:46 +0000)]
1998-12-03 Jason Molenda (jsm@bugshack.cygnus.com)
* 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.
Andrew Cagney [Fri, 4 Dec 1998 04:45:05 +0000 (04:45 +0000)]
* gen-engine.c (print_run_body): Prefix instruction_address.
Frank Ch. Eigler [Fri, 4 Dec 1998 04:17:08 +0000 (04:17 +0000)]
* Test case for PR 18364, over from d30v branch.
1998-12-04 Frank Ch. Eigler <fche@cygnus.com>
* do-shifts.S: Update an older test case.
Stan Shebs [Thu, 3 Dec 1998 23:29:54 +0000 (23:29 +0000)]
* remote.texi: Changed wording that implied that the GDB remote
protocol caches register values instead of GDB itself.
Dave Brolley [Thu, 3 Dec 1998 22:38:13 +0000 (22:38 +0000)]
Thu Dec 3 14:20:03 1998 Dave Brolley <brolley@cygnus.com>
* 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.
Dave Brolley [Thu, 3 Dec 1998 19:27:35 +0000 (19:27 +0000)]
Thu Dec 3 14:26:20 1998 Dave Brolley <brolley@cygnus.com>
* fr30-asm.c,fr30-dis.c,fr30-opc.c,fr30-opc.h: Regenerated.
Dave Brolley [Thu, 3 Dec 1998 19:22:56 +0000 (19:22 +0000)]
Thu Dec 3 14:20:03 1998 Dave Brolley <brolley@cygnus.com>
* sim/fr30: New Directory.
Nick Clifton [Thu, 3 Dec 1998 17:03:56 +0000 (17:03 +0000)]
Fix typo in orevious delta
Nick Clifton [Thu, 3 Dec 1998 17:02:49 +0000 (17:02 +0000)]
change BFD_RELOC_FR30_32 to BFD_RELOC_FR30_48
Nick Clifton [Thu, 3 Dec 1998 16:53:03 +0000 (16:53 +0000)]
Add support for R_FR30_48 reloc.
Zdenek Radouch [Thu, 3 Dec 1998 15:40:00 +0000 (15:40 +0000)]
FR30 updates/checkpoint.
Zdenek Radouch [Thu, 3 Dec 1998 15:37:08 +0000 (15:37 +0000)]
fr30 update.
Zdenek Radouch [Thu, 3 Dec 1998 15:36:26 +0000 (15:36 +0000)]
Still some bogus code; checkpoint.
Zdenek Radouch [Thu, 3 Dec 1998 15:35:40 +0000 (15:35 +0000)]
Still a lot of bogus code; just a checkpoint.
Nick Clifton [Thu, 3 Dec 1998 13:19:21 +0000 (13:19 +0000)]
Updated to match latest assembler output.
Doug Evans [Thu, 3 Dec 1998 08:14:46 +0000 (08:14 +0000)]
* fr30-asm.c,fr30-dis.c,fr30-opc.c,fr30-opc.h: Regenerate.
Andrew Cagney [Thu, 3 Dec 1998 05:34:25 +0000 (05:34 +0000)]
Clean up function return types. Functions not returning values,
functions unnecessarily returning values.
Stan Shebs [Thu, 3 Dec 1998 04:08:14 +0000 (04:08 +0000)]
From Brendan Kehoe:
* gdb.c++/cplusfuncs.cc, misc.cc, virtfunc.cc: Add now-required
int return types.
Ulrich Drepper [Thu, 3 Dec 1998 02:00:20 +0000 (02:00 +0000)]
Update.
Ulrich Drepper [Thu, 3 Dec 1998 01:59:23 +0000 (01:59 +0000)]
(process_mips_specific): Print .conflict section content.
Michael Snyder [Thu, 3 Dec 1998 00:50:54 +0000 (00:50 +0000)]
Wed Dec 2 15:11:38 1998 Michael Snyder <msnyder@cleaver.cygnus.com>
* 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.
Ulrich Drepper [Wed, 2 Dec 1998 23:38:04 +0000 (23:38 +0000)]
Update.
Ulrich Drepper [Wed, 2 Dec 1998 23:37:54 +0000 (23:37 +0000)]
(process_mips_specific): Print l_flags in liblist in textual form.
Ulrich Drepper [Wed, 2 Dec 1998 23:36:56 +0000 (23:36 +0000)]
Add more LL_* options from Irix 6.5.
Michael Snyder [Wed, 2 Dec 1998 23:27:40 +0000 (23:27 +0000)]
spelling correction.
Michael Snyder [Wed, 2 Dec 1998 23:22:58 +0000 (23:22 +0000)]
Wed Dec 2 15:11:38 1998 Michael Snyder <msnyder@cleaver.cygnus.com>
* 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.
Ulrich Drepper [Wed, 2 Dec 1998 21:47:13 +0000 (21:47 +0000)]
Update.
Ulrich Drepper [Wed, 2 Dec 1998 21:46:19 +0000 (21:46 +0000)]
Add R_MIPS_JALR and adjust R_MIPS_max appropriately.
Doug Evans [Wed, 2 Dec 1998 20:44:29 +0000 (20:44 +0000)]
add docs for r5900 arg characters
Nick Clifton [Wed, 2 Dec 1998 15:53:48 +0000 (15:53 +0000)]
Enable relocs for ldi:20 insn
Ian Lance Taylor [Wed, 2 Dec 1998 05:59:07 +0000 (05:59 +0000)]
* elflink.h (elf_adjust_dynamic_symbol): Warn on an attempt to
link against a dynamic symbol with no type or size.
Stan Shebs [Wed, 2 Dec 1998 01:55:32 +0000 (01:55 +0000)]
* gdbint.texinfo: Add some info about symbol readers.
(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.
Ulrich Drepper [Tue, 1 Dec 1998 20:50:27 +0000 (20:50 +0000)]
Update.
Jim Wilson [Tue, 1 Dec 1998 20:17:18 +0000 (20:17 +0000)]
patch for PR 18243.
* 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.