binutils-gdb.git
26 years ago1998-10-12 Jason Molenda (jsm@bugshack.cygnus.com)
Jason Molenda [Tue, 13 Oct 1998 00:35:48 +0000 (00:35 +0000)]
1998-10-12  Jason Molenda  (jsm@bugshack.cygnus.com)

        * configure.in: Check for sys/debugreg.h, asm/debugreg.h.
        * i386v-nat.c: Include asm/debugreg.h, sys/debugreg.h if it is not
        present.

This is to work around a conflict where the Linux 2.1.x kernel and glibc
2.0.x are not in sync; including <sys/debugreg.h> will result in an error.
With luck, these losers will get their act together and we can trash
this hack in the near future.

26 years agoFix fise of R_M32R_18_PCREL relocation.
Nick Clifton [Mon, 12 Oct 1998 21:25:25 +0000 (21:25 +0000)]
Fix fise of R_M32R_18_PCREL relocation.

26 years agoCope with missing hi or lo relocs.
Nick Clifton [Mon, 12 Oct 1998 21:20:23 +0000 (21:20 +0000)]
Cope with missing hi or lo relocs.

26 years agoFix for PR 17008 - ignore conflicts when explicitly parallel instructions
Nick Clifton [Mon, 12 Oct 1998 18:09:31 +0000 (18:09 +0000)]
Fix for PR 17008 - ignore conflicts when explicitly parallel instructions
both set bits in the PSW as side effects.

26 years ago * m10300-opc.c: DSP instrutions which only write to one general
Jeff Law [Mon, 12 Oct 1998 17:30:40 +0000 (17:30 +0000)]
    * m10300-opc.c: DSP instrutions which only write to one general
        register have no restrictions on matching operands.

26 years ago * m10300-opc.c (lsr_add): Fix typo for "lsr_add imm,reg,reg,reg" case.
Jeff Law [Mon, 12 Oct 1998 16:46:31 +0000 (16:46 +0000)]
    * m10300-opc.c (lsr_add): Fix typo for "lsr_add imm,reg,reg,reg" case.
pr17742

26 years ago* configure.in (links): Link gdbtcl2 directory instead of gdbtcl.
Andrew Cagney [Mon, 12 Oct 1998 02:54:58 +0000 (02:54 +0000)]
* configure.in (links): Link gdbtcl2 directory instead of gdbtcl.
(ChangeLog entry already checked in).

26 years ago * dwarf2read.c (dwarf2_build_psymtabs_hard): Do not adjust the
Peter Schauer [Sun, 11 Oct 1998 19:54:57 +0000 (19:54 +0000)]
* dwarf2read.c (dwarf2_build_psymtabs_hard):  Do not adjust the
address range of a compilation unit without children.

* mdebugread.c (parse_partial_symbols):  Fix handling of stabs
continuations, use xmalloc and xrealloc.

26 years ago * rs6000-tdep.c: Don't include tm.h twice.
Mark Alexander [Sat, 10 Oct 1998 01:17:07 +0000 (01:17 +0000)]
* rs6000-tdep.c: Don't include tm.h twice.

26 years ago * interp.c: #include "itable.h" if WITH_IGEN.
Doug Evans [Sat, 10 Oct 1998 01:07:15 +0000 (01:07 +0000)]
* interp.c: #include "itable.h" if WITH_IGEN.
(get_insn_name): New function.
(sim_open): Initialize CPU_INSN_NAME,CPU_MAX_INSNS.
* sim-main.h (MAX_INSNS,INSN_NAME): Delete.

26 years ago Add pseudo-basic-block execution support.
Doug Evans [Fri, 9 Oct 1998 23:43:28 +0000 (23:43 +0000)]
Add pseudo-basic-block execution support.
* Makefile.in (SIM_OBJS): Add sim-reg.o, cgen-run.o, sim-stop.o.
(SIM_EXTRA_DEPS): Add include/opcode/cgen.h.
(INCLUDE_DEPS): Delete cpu-sim.h, include/opcode/cgen.h.
(mloop.c): Build pseudo-basic-block version.  Depend on stamp-cpu.
(stamp-decode): Delete, build decode files with other cpu files.
* arch.c,arch.h,cpuall.h: Regenerate.
* cpu.c,cpu.h,decode.c,decode.h,extract.c,model.c: Regenerate.
* sem-switch.c,sem.c: Regenerate.
* m32r-sim.h (M32R_MISC_PROFILE): New members load_regs,
load_regs_pending.
* m32r.c (m32rbf_fetch_register): Renamed from m32rb_fetch_register.
(m32rbf_store_register,m32rbf_h_cr_get,m32rbf_h_cr_set,
m32rbf_h_psw_get,m32rbf_h_psw_set,m32rbf_h_accum_get,
m32rbf_h_accum_set): Likewise.
(m32r_model_{init,update}_insn_cycles): Delete.
(m32rbf_model_insn_{before,after}): New fns.
(m32r_model_record_cti,m32r_model_record_cycles): Delete.
(m32rb_model_mark_get_h_gr,m32rb_model_mark_set_h_gr): Delete.
(m32rb_model_mark_busy_reg,m32rb_model_mark_unbusy_reg): Delete.
(check_load_stall): New fn.
(m32rbf_model_m32r_d_u_{exec,cmp,mac,cti,load,store}): New fns.
(m32rbf_model_test_u_exec): New fn.
* mloop.in: Rewrite, use pbb support.
* sim-if.c (sim_stop,sim_sync_stop,sim_resume): Delete.
(sim_fetch_register,sim_store_register): Delete.
* sim-main.h (CIA_GET,CIA_SET): Fix.
(SIM_ENGINE_HALT_HOOK,SIM_ENGINE_RESTART_HOOK): Delete.
* tconfig.in (WITH_SCACHE_PBB): Define.
(WITH_SCACHE_PBB_M32RBF): Define.
* traps.c (sim_engine_invalid_insn): Renamed from ..._illegal_....
(m32r_trap): Pass pc to sim_engine_halt.
* configure.in (SIM_AC_OPTION_SCACHE): Change 1024 to 16384.
* configure: Regenerate.
start-sanitize-m32rx
* Makefile.in (M32RX_OBJS): Delete semx.o, add extract.o.
(mloopx.c): Build pseudo-basic-block version.  Depend on stamp-xcpu.
(semx.o): Delete.
(extractx.o): Add.
(stamp-xdecode): Delete, build decode files with other cpu files.
* cpux.c,cpux.h,decodex.c,decodex.h,modelx.c: Regenerate.
* readx.c: Delete.
* semx.c: Delete.
* extractx.c: New file.
* semx-switch.c: New file.
* m32r-sim.h (BRANCH_NEW_PC): Delete.
(SEM_SKIP_INSN): New macro.
* m32rx.c (m32rxf_fetch_register): Renamed from m32rx_fetch_register.
(m32rxf_store_register,m32rxf_h_cr_get,m32rxf_h_cr_set,
m32rxf_h_psw_get,m32rxf_h_psw_set,m32rxf_h_accum_get,
m32rxf_h_accum_set,m32rxf_h_accums_get,m32rxf_h_accums_set): Likewise.
(m32rxf_model_insn_{before,after}): New fns.
(m32rx_model_mark_get_h_gr,m32rx_model_mark_set_h_gr): Delete.
(m32rx_model_mark_busy_reg,m32rx_model_mark_unbusy_reg): Delete.
(check_load_stall): New fn.
(m32rxf_model_m32rx_u_{exec,cmp,mac,cti,load,store}): New fns.
* mloopx.in: Rewrite, use pbb support.
* tconfig.in (WITH_SCACHE_PBB_M32RXF): Define.
(WITH_SEM_SWITCH_FULL): Change from 0 to 1.
end-sanitize-m32rx

26 years ago * Make-common.in (sim-reg.o): New rule.
Doug Evans [Fri, 9 Oct 1998 22:43:05 +0000 (22:43 +0000)]
* Make-common.in (sim-reg.o): New rule.
(cgen-run.o): New rule.
* cgen-ops.h: Delete many BI macros.  Change all UBI -> BI.
* cgen-run.c (prime_cpu): New function.
* cgen-scache.c: Add pseudo-basic-block (pbb) scaching support.
(scache_option_handler, case OPTION_PROFILE_SCACHE): Handle explicitly
mentioned cpu.
(scache_flush_cpu,scache_lookup,scache_lookup_or_alloc): New fns.
* cgen-sim.h (CGEN_INSN_VIRTUAL_TYPE): New enum.
(CGEN_INSN_VIRTUAL_P): New macro.
(SEM_PC): New typedef.
(SEMANTIC_FN): Change type of result to SEM_PC.
(SEM_SET_FULL_CODE,SEM_SET_FAST_CODE,SEM_SET_CODE): New macros.
(IDESC_CTI_P,IDESC_SKIP_P): New macros.
(SCACHE_MAP): New typedef.
(CPU_SCACHE): Add pbb support.
(scace_lookup,scache_lookup_or_alloc,scache_flush_cpu): Declare.
(SEM_BRANCH_INIT_EXTRACT,SEM_BRANCH_INIT,SEM_BRANCH_FINI): New macros.
(CGEN_CPU): New members running_p,insn_count,{fast,full}_engine_fn,
max_slice_insns.
(INSN_NAME): Delete.
(cgen_insn_name): Declare.
(sim_engine_invalid_insn): Renamed from sim_engine_illegal_insn.
* cgen-trace.c (trace_buf): Shrink from 1024 to 256 bytes.
(first_insn_p): Make static.
(trace_insn): Handle virtual insns specially.
(cgen_trace_printf): Ensure we haven't overflowed the buffer.
* cgen-types.h (UBI): Delete.
(MODE_TYPE): New enum.
(HOSTINT,HOSTUINT,HOSTPTR): Delete.
* cgen-utils.c (mode_names): Delete UBI.  Add INT,UINT,PTR.
(cgen_virtual_opcode_table): New global.
(cgen_insn_name): New function.
(sim_disassemble_insn): Ignore virtual insns.
* genmloop.sh: Delete top level loop generation.  Add pbb support.
* sim-cpu.h (CPU_INSN_NAME_FN): New typedef.
(sim_cpu_base): New members max_insns,insn_name,model_data.
(CPU_PC_GET,CPU_PC_SET): New macros.
(sim_pc_get,sim_pc_set): Declare.
* sim-model.c (model_set): Call model init fn.
* sim-model.h (MODEL_FN): New typedef.
(INSN_TIMING): New member model_fn.
(MODEL): New members num,init.
* sim-profile.c (sim_profile_print_bar): Renamed from print_bar.
All callers updated.
(profile_insn_init): New fn.
(profile_print_insn): Update, INSN_NAME -> CPU_INSN_NAME.
Exit early if insn profiling not supported.
(profile_print_memory): Update, MAX_MODES -> MODE_TARGET_MAX.
(profile_install): Record profile_insn_init as init fn.
(profile_uninstall): Free PROFILE_INSN_COUNT if non-null.
* sim-profile.h: Update, MAX_MODES -> MODE_TARGET_MAX.
(PROFILE_DATA): Delete member exec_time.
Change insn_count to pointer to array, rather than the array.
(sim_profile_print_bar): Declare.

26 years agoMerge with egcs-19981008
Jeff Law [Fri, 9 Oct 1998 22:18:38 +0000 (22:18 +0000)]
Merge with egcs-19981008

26 years agoregenerate m32r-opc.c, m32r-opc.h
Doug Evans [Fri, 9 Oct 1998 21:15:48 +0000 (21:15 +0000)]
regenerate m32r-opc.c, m32r-opc.h

26 years agoMerge egcs-19981008.
Jeff Law [Fri, 9 Oct 1998 21:10:04 +0000 (21:10 +0000)]
Merge egcs-19981008.

26 years ago * scripttempl/elf.sc: Merge .sdata.* etc sections.
Catherine Moore [Fri, 9 Oct 1998 21:07:11 +0000 (21:07 +0000)]
    * scripttempl/elf.sc:  Merge .sdata.* etc sections.
        * ldctor.c (ldctor_build_sets):  Set SEC_KEEP for
        ctor sections.

26 years ago * gdbtk-hooks.c (gdbtk_add_hooks): Install a hook for
Keith Seitz [Thu, 8 Oct 1998 23:05:32 +0000 (23:05 +0000)]
    * gdbtk-hooks.c (gdbtk_add_hooks): Install a hook for
        (new) file_changed_hook.
        (gdbtk_exec_file_changed): Rename to gdbtk_exec_file_display
        to mimic hook's name.
        (gdbtk_file_changed): New hook function.

26 years ago * main.c (main): Remove calls to {pre,post}_add_symbol_hooks.
Keith Seitz [Thu, 8 Oct 1998 23:04:53 +0000 (23:04 +0000)]
    * main.c (main): Remove calls to {pre,post}_add_symbol_hooks.
        There should be sufficient information/hooks now to eliminate
        this hack.

        * exec.c (file_command): Add a new hook here to inform ui's
        when the exec file has changed. Adding it here allows the
        ui to be informed after symbol reading.

        * gdbcore.h: Add declaration of file_changed_hook.

26 years agoThu Oct 8 15:33:08 1998 Geoffrey Noer <noer@cygnus.com>
Geoffrey Noer [Thu, 8 Oct 1998 22:47:18 +0000 (22:47 +0000)]
Thu Oct  8 15:33:08 1998  Geoffrey Noer  <noer@cygnus.com>

        * configure.in: call AC_EXEEXT instead of AM_EXEEXT and
        AM_CYGWIN32.
        * aclocal.m4: remove local AM_EXEEXT/AM_CYGWIN32 macros.
        * configure: regenerate

Thu Oct  8 15:33:08 1998  Geoffrey Noer  <noer@cygnus.com>

        From Mumit Khan  <khan@xraylith.wisc.edu>:
        * dlltool.c (scan_all_symbols): Don't re-export symbols exported
        by other DLLs.

Thu Oct  8 15:33:08 1998  Geoffrey Noer  <noer@cygnus.com>

        * Makefile.am (BUILD_DLLWRAP): Add.
        (BUILD_DLLWRAP, DLLWRAP_PROG): Add.
        (bin_PROGRAMS): Add dllwrap.
        * Makefile.in: regenerate with automake

        From Mumit Khan  <khan@xraylith.wisc.edu>:
        * dllwrap.c: New file from dllhelpers v0.2.1.
        (print_version): New function.
        (long_options): Add --version.
        (main): Handle.
        * dyn-string.h, dyn-string.c: New files from egcs-1.1/gcc.
        * configure.in (BUILD_DLLWRAP): Add.
        * configure: Regenerate.

26 years ago*** empty log message ***
Michael Snyder [Thu, 8 Oct 1998 22:45:53 +0000 (22:45 +0000)]
*** empty log message ***

26 years agoForgot to remove this file from .Sanitize.
Jason Molenda [Thu, 8 Oct 1998 22:33:29 +0000 (22:33 +0000)]
Forgot to remove this file from .Sanitize.

26 years agoApply patches from PRs 16299, 17008 and 17140
Nick Clifton [Thu, 8 Oct 1998 17:55:58 +0000 (17:55 +0000)]
Apply patches from PRs 16299, 17008 and 17140

26 years agoOoops - failed to check in first part of patch for PR 17438
Nick Clifton [Thu, 8 Oct 1998 17:19:55 +0000 (17:19 +0000)]
Ooops - failed to check in first part of patch for PR 17438

26 years ago * rs6000-tdep.c (get_saved_register): Define only if
Mark Alexander [Thu, 8 Oct 1998 15:59:23 +0000 (15:59 +0000)]
* rs6000-tdep.c (get_saved_register): Define only if
USE_GENERIC_DUMMY_FRAMES is defined.

26 years ago * m10300-opc.c (asr, lsr, asl): Fix am33 single bit shift opcode.
Jeff Law [Thu, 8 Oct 1998 12:06:51 +0000 (12:06 +0000)]
    * m10300-opc.c (asr, lsr, asl): Fix am33 single bit shift opcode.
pr17706

26 years agoHand sanitization.
Andrew Cagney [Thu, 8 Oct 1998 06:45:03 +0000 (06:45 +0000)]
Hand sanitization.

26 years agoAdd new config options --enable-carp (tempoary) and
Andrew Cagney [Thu, 8 Oct 1998 05:35:49 +0000 (05:35 +0000)]
Add new config options --enable-carp (tempoary) and
--enable-targets=... (more permenant).  Add dummy target `carp' with
associated directory (tempoary).
Expect a rewrite down the track.

26 years agoupdate
Geoffrey Noer [Thu, 8 Oct 1998 02:08:24 +0000 (02:08 +0000)]
update

26 years agocgen-run.c: new mainloop for cgen
Doug Evans [Wed, 7 Oct 1998 23:55:42 +0000 (23:55 +0000)]
cgen-run.c: new mainloop for cgen
sim-reg.c: generic sim_fetch/store_register interface fns

26 years agofix
Geoffrey Noer [Wed, 7 Oct 1998 21:26:00 +0000 (21:26 +0000)]
fix

26 years agoFix for PR 16299: Do not assume that bad relocations always have an associated symbol.
Nick Clifton [Wed, 7 Oct 1998 21:10:16 +0000 (21:10 +0000)]
Fix for PR 16299: Do not assume that bad relocations always have an associated symbol.

26 years agoTue Oct 6 18:20:10 1998 Geoffrey Noer <noer@cygnus.com>
Geoffrey Noer [Wed, 7 Oct 1998 01:22:11 +0000 (01:22 +0000)]
Tue Oct  6 18:20:10 1998  Geoffrey Noer  <noer@cygnus.com>

        * Makefile.am (windres_SOURCES): Add resres.c.
        (windres_OBJECTS): Add resres.o.
        * Makefile.in: regenerate with automake

        From Anders Norlander <anorland@hem2.passagen.se>.
        * resres.c: New file.  Implementation of read_res_file and
        write_res_file functions for windres.
        * rcparse.y: Handle CONTROL's with named classes.
        * resbin.c: Bug in res_to_bin_dialog and bin_to_res_dialog
        when dialog is extended: The version and signature fields should
        be reversed (despite what the docs say). Id is 32 bits long in
        extended dialogs.
        * resrc.c (write_rc_dialog): properly print controls with named
        classes.
        * windres.c (read_res_file, write_res_file): Remove stubs.
        * resres.c (write_res): Rename RT_ACCELERATORS to RT_ACCELERATOR.

26 years agoTue Oct 6 18:20:10 1998 Geoffrey Noer <noer@cygnus.com>
Geoffrey Noer [Wed, 7 Oct 1998 01:21:02 +0000 (01:21 +0000)]
Tue Oct  6 18:20:10 1998  Geoffrey Noer  <noer@cygnus.com>

        From Anders Norlander <anorland@hem2.passagen.se>.

        * resres.c: New file.  Implementation of read_res_file and
        write_res_file functions for windres.
        * rcparse.y: Handle CONTROL's with named classes.
        * resbin.c: Bug in res_to_bin_dialog and bin_to_res_dialog
        when dialog is extended: The version and signature fields should
        be reversed (despite what the docs say). Id is 32 bits long in
        extended dialogs.
        * resrc.c (write_rc_dialog): properly print controls with named
        classes.
        * windres.c (read_res_file, write_res_file): Remove stubs.
        * resres.c (write_res): Rename RT_ACCELERATORS to RT_ACCELERATOR.
        * Makefile.in (windres_SOURCES): Add resres.c.
        (windres_OBJECTS): Add resres.o.

26 years ago1998-10-06 Jason Molenda (jsm@bugshack.cygnus.com)
Jason Molenda [Tue, 6 Oct 1998 22:24:40 +0000 (22:24 +0000)]
1998-10-06  Jason Molenda  (jsm@bugshack.cygnus.com)

        Eliminate a few warnings from the compiler.
        * breakpoint.h: Add prototype.
        * breakpoint.c (do_enable_breakpoint): cast mem_cnt, i to (void).
        * configure.in: Check if strdup declaration is necessary.
        * configure: Regenerated.
        * defs.h: Add prototypes.
        * gdb_string.h: Only define strdup if necessary.
        * gdbthread.h: Add prototypes.
        * printcmd.c: Add prototyptes.
        (disassemble_command): Remove unused variable 'section'.
        * symtab.c: Add prototypes.
        * symtab.h: Include gnu-regex.h, add prototype.
        * thread.c: Add prototype.

26 years ago * tc-sparc.h (TC_FORCE_RELOCATION): Define.
Catherine Moore [Tue, 6 Oct 1998 14:37:23 +0000 (14:37 +0000)]
    * tc-sparc.h (TC_FORCE_RELOCATION):  Define.
        (elf32_sparc_force_relocation):  Declare.
        * tc-sparc.c (md_apply_fix3):  Handle vtable relocs.
        (tc_gen_reloc):  Handle vtable relocs.
        (elf32_sparc_force_relocation):  New.

26 years agoadd dwarf1.c
Gavin Romig-Koch [Tue, 6 Oct 1998 14:01:17 +0000 (14:01 +0000)]
add dwarf1.c

26 years agoSanitize anything mentioning CARP.
Andrew Cagney [Tue, 6 Oct 1998 07:37:20 +0000 (07:37 +0000)]
Sanitize anything mentioning CARP.

26 years ago From David Purves <purves@apogee.com>:
Stan Shebs [Tue, 6 Oct 1998 02:52:31 +0000 (02:52 +0000)]
From David Purves  <purves@apogee.com>:
* stabsread.c (rs6000_builtin_type): Create a complex float instead
of an error.
(read_sun_floating_type): Similarly.
(read_range_type): Create a complex float if self_subrange is
  true.

26 years ago * som.c (som_finish_writing): Perform some sanity checks when
Jeff Law [Mon, 5 Oct 1998 20:57:25 +0000 (20:57 +0000)]
    * som.c (som_finish_writing): Perform some sanity checks when
        writing an executable or shared library.
17075

26 years ago * c-lang.c (emit_char c_printchar c_printstr), c-lang.h (c_printstr)
Stu Grossman [Mon, 5 Oct 1998 19:42:04 +0000 (19:42 +0000)]
* c-lang.c (emit_char c_printchar c_printstr), c-lang.h (c_printstr)
ch-lang.c (chill_printstr chill_printchar) c-valprint.c (c_val_print)
ch-valprint.c (chill_val_print) expprint.c (print_subexp) f-lang.c
(f_printstr f_printchar emit_char) f-valprint.c (f_val_print) jv-lang.c
(java_printchar java_emit_char) jv-valprint.c (java_value_print
java_val_print) language.c (unk_lang_printchar unk_lang_printstr
unk_lang_emit_char) language.h (struct language_defn LA_PRINT_STRING
LA_EMIT_CHAR) m2-lang.c (m2_printstr m2_printchar emit_char) printcmd.c
(print_formatted) scm-lang.c (scm_printstr) valprint.c
(val_print_string) value.h (val_print_string):  Add emit_char routines
to language_desc struct to allow finer control over language specific
character output issues.  Add character width arg to printstr routines
to allow handling of wchar_t/Unicode strings.  Fix c_printstr to handle
wide characters.  Supply width argument to LA_PRINT_STRING and
val_print_string.

* jv-lang.c (java_object_type dynamics_objfile java_link_class_type
get_dynamics_objfile get_java_object_type) jv-lang.h
(get_java_object_type):  Make lots of things static.

* expprint.c (dump_prefix_expression dump_subexp):  Move opcode name
printing to common routine (op_name).
* (dump_subexp):  Add support for OP_SCOPE.

26 years ago * dwarf1.c : New file. Adds _bfd_dwarf1_find_nearest_line.
Gavin Romig-Koch [Mon, 5 Oct 1998 16:07:44 +0000 (16:07 +0000)]
* dwarf1.c : New file.  Adds _bfd_dwarf1_find_nearest_line.
* configure.in (elf): Add dwarf1.lo.
* elf_bfd.h (elf_ob_tdata): Add dwarf1_find_line_info.
* elf.c (_bfd_elf_find_nearest_line): Add call to
_bfd_dwarf1_find_nearest_line.
* elf32-mips.c (_bfd_mips_elf_find_nearest_line):
Add call to _bfd_dwarf1_find_nearest_line.
* configure: Rebuilt.

26 years agoelflink.h (elf_gc_sections): Do not allow garbage
Catherine Moore [Mon, 5 Oct 1998 15:21:26 +0000 (15:21 +0000)]
elflink.h (elf_gc_sections):  Do not allow garbage
        collection if dynamic sections have been created.

: ----------------------------------------------------------------------

26 years ago * ldmain.c (main): Error if --gc-sections and
Catherine Moore [Mon, 5 Oct 1998 14:48:32 +0000 (14:48 +0000)]
    * ldmain.c (main):  Error if --gc-sections and
        dyanmic linking.
        * scripttempl/v850.sc:  Add KEEP attribute to .init,
        .fini, .dtors and .ctors.  Add .data and .text
        wildcards to support section garbage collection.

26 years agoAdd vtable relocs.
Catherine Moore [Mon, 5 Oct 1998 14:41:43 +0000 (14:41 +0000)]
Add vtable relocs.

26 years ago * symbols.c (S_IS_FUNCTION): New.
Catherine Moore [Mon, 5 Oct 1998 14:30:25 +0000 (14:30 +0000)]
    * symbols.c (S_IS_FUNCTION):  New.
        * config/tc-v850.h (obj_fix_adjustable):  Define.
        (TC_FORCE_RELOCATION):  Define.
        (v850_force_relocation):  Declare.
        * config/tc-v850.c (tc_gen_reloc):  Use offset instead
        of fx_addnumber for VTABLE reloc addends.
        (md_apply_fix3):  Handle VTABLE relocs.
        (v850_fix_adjustable):  New.
        (v850_force_relocation):  New.

26 years ago * elf32-v850.c: Add HOWTO entries for R_V850_GNU_VTINHERIT and
Catherine Moore [Mon, 5 Oct 1998 14:18:10 +0000 (14:18 +0000)]
    * elf32-v850.c: Add HOWTO entries for R_V850_GNU_VTINHERIT and
        R_V850_GNU_VTENTRY.
        (v850_elf_check_relocs):  Handle VTINHERIT and VTENTRY relocs.
        (v850_elf_perform_relocation):  Likewise.
        (v850_elf_final_link_relocate):  Likewise.
        (v850_elf_relocate_section):  Likewise.
        (v850_elf_gc_sweep_hook):  New routine.
        (v850_elf_gc_mark_hook):  New routine.
        (elf_backend_can_gc_sections):  Define.

26 years ago * elf32-m68k.c (elf_m68k_gc_sweep_hook): Don't assume
Catherine Moore [Mon, 5 Oct 1998 14:08:53 +0000 (14:08 +0000)]
    * elf32-m68k.c (elf_m68k_gc_sweep_hook):  Don't assume
        that dynobj exists.

26 years agoMon Oct 5 00:34:00 1998 Martin M. Hunt <hunt@cygnus.com>
Martin Hunt [Mon, 5 Oct 1998 07:32:59 +0000 (07:32 +0000)]
Mon Oct  5 00:34:00 1998  Martin M. Hunt  <hunt@cygnus.com>

* gdbtk-cmds.c (gdb_set_bp_addr): New command. Sets a
breakpoint at an address. Use this instead of gdb_cmd "break"
because the syntax of the break command is broken and doesn't
allow you to create a thread-specific BP at an address.  Also
this is faster.

26 years ago * tc-hppa.c (fp_operand_format): Add some additional formats.
Jeff Law [Mon, 5 Oct 1998 06:52:58 +0000 (06:52 +0000)]
    * tc-hppa.c (fp_operand_format): Add some additional formats.
        (pa_ip): Do not automatically promote into pa2.0 mode.
        (pa_level): Handle ".level 2.0".
start-sanitize-cygnus
        (struct pa_it): New field "trunc".
        (pa_parse_fp_cnv_format): New function.
        (pa_parse_ftest_gfx_completer): New function.
        (pa_ip): Handle various new letters for PA2.0 support.
end-sanitize-cygnus

26 years ago * hppa.h: Add "fid".
Jeff Law [Mon, 5 Oct 1998 06:23:20 +0000 (06:23 +0000)]
    * hppa.h: Add "fid".
start-sanitize-cygnus
        Add PA2.0 floating point instructions, including butchered load/store
        with 14bit offset support.
end-sanitize-cygnus

26 years agoSun Oct 4 22:35:47 1998 Martin M. Hunt <hunt@cygnus.com>
Martin Hunt [Mon, 5 Oct 1998 05:35:01 +0000 (05:35 +0000)]
Sun Oct  4 22:35:47 1998  Martin M. Hunt  <hunt@cygnus.com>

* gdbtk-cmds.c (gdb_set_bp): Add an optional thread number.
(gdb_find_bp_at_line): New function. Returns a list of bpnums
at the specified line number.
(gdb_find_bp_at_addr): New function. Returns a list of bpnums
at an address..

26 years agoSun Oct 4 23:29:34 1998 David Edelsohn <edelsohn@mhpcc.edu>
Ian Lance Taylor [Mon, 5 Oct 1998 03:37:54 +0000 (03:37 +0000)]
Sun Oct  4 23:29:34 1998  David Edelsohn  <edelsohn@mhpcc.edu>

* rs6000-core.c (rs6000coff_core_file_matches_executable_p):
Declare size as bfd_size_type.
(rs6000coff_get_section_contents): Declare count as bfd_size_type.

26 years ago * elflink.h (elf_link_add_object_symbols): When a versioned symbol
Ian Lance Taylor [Mon, 5 Oct 1998 03:11:55 +0000 (03:11 +0000)]
* elflink.h (elf_link_add_object_symbols): When a versioned symbol
has a base which is already defined, only add the referenced
symbol to the dynamic symbol table if it is defined or referenced
by a regular file.

26 years ago * cpu-hppa.c (bfd_hppa20_arch): Define. Link it into the bfd_hppa_arch
Jeff Law [Mon, 5 Oct 1998 02:42:05 +0000 (02:42 +0000)]
    * cpu-hppa.c (bfd_hppa20_arch): Define.  Link it into the bfd_hppa_arch
        structure.
        * som.c (CPU_PA_RISC2_0): Define.
        (_PA_RISC2_0_ID): Likewise.
        (som_finish_writing): Use CPU_PA_RISC2_0 for the system_id as needed.
PA2.0 infrastructure.

26 years ago * elf32-i386.c (elf_i386_info_to_howto_rel): Handle vtable relocs
Ian Lance Taylor [Mon, 5 Oct 1998 01:19:36 +0000 (01:19 +0000)]
* elf32-i386.c (elf_i386_info_to_howto_rel): Handle vtable relocs
correctly.

26 years ago * i386.h (R_386_max): Change from 252 to 24.
Ian Lance Taylor [Mon, 5 Oct 1998 01:18:32 +0000 (01:18 +0000)]
* i386.h (R_386_max): Change from 252 to 24.

26 years agoSun Oct 4 21:00:00 1998 Alan Modra <alan@spri.levels.unisa.edu.au>
Ian Lance Taylor [Mon, 5 Oct 1998 01:01:27 +0000 (01:01 +0000)]
Sun Oct  4 21:00:00 1998  Alan Modra  <alan@spri.levels.unisa.edu.au>

From Robert Andrew Dale <rob@nb.net>
* i386.h (i386_optab): Add AMD 3DNow! instructions.
(AMD_3DNOW_OPCODE): Define.

26 years agoSun Oct 4 20:57:43 1998 Alan Modra <alan@spri.levels.unisa.edu.au>
Ian Lance Taylor [Mon, 5 Oct 1998 00:59:52 +0000 (00:59 +0000)]
Sun Oct  4 20:57:43 1998  Alan Modra  <alan@spri.levels.unisa.edu.au>

* config/tc-i386.c (md_assemble): Handle AMD_3DNOW_OPCODE.
* config/tc-i386.h (template.extension_opcode): Change to
        unsigned int to allow full range of 8-bit opcode suffixes.
(None): Redefine as 0xffff.

From Jeff B Epler <jepler@usgs.gov>
* doc/c-i386.texi (i386-SIMD): New section.

26 years agofix copyrights
Ian Lance Taylor [Mon, 5 Oct 1998 00:41:11 +0000 (00:41 +0000)]
fix copyrights

26 years ago From Nokubi Hirotaka <hnokubi@yyy.or.jp>:
Ian Lance Taylor [Mon, 5 Oct 1998 00:37:21 +0000 (00:37 +0000)]
From Nokubi Hirotaka <hnokubi@yyy.or.jp>:
* objcopy.1: Fix typo in --remove-leading-char docs.
* objdump.1: Fix formatting in --stabs docs.

26 years agoThe GDB engineers ate Steve's hacks; and there was much rejoicing.
Stan Shebs [Fri, 2 Oct 1998 23:35:11 +0000 (23:35 +0000)]
The GDB engineers ate Steve's hacks; and there was much rejoicing.

26 years agoSearch and destroy; kill references to WinGDB bits.
Stan Shebs [Fri, 2 Oct 1998 23:33:15 +0000 (23:33 +0000)]
Search and destroy; kill references to WinGDB bits.

* configure.host (i[3456]86-*-windows): Remove, no longer used.
* mswin: Remove directory, no longer used.

26 years agoFri Oct 2 18:52:20 1998 Fernando Nasser <fnasser@cygnus.com>
Fernando Nasser [Fri, 2 Oct 1998 22:57:12 +0000 (22:57 +0000)]
Fri Oct  2 18:52:20 1998  Fernando Nasser  <fnasser@cygnus.com>

        * sol-thread.c: Fixed prototypes and calls to supply_fpregset and
        fill_fpregset
PR 17053

26 years ago * gdbtk-hooks.c (gdbtk_exec_file_changed): New function which handles
Keith Seitz [Fri, 2 Oct 1998 19:55:41 +0000 (19:55 +0000)]
    * gdbtk-hooks.c (gdbtk_exec_file_changed): New function which handles
        exec_file changes.
        (gdbtk_add_hooks): Define exec_file_display_hook (to gdbtk_exec_file_changed)

        * gdbtk-cmds.c (gdb_stop): target_stop is ALWAYS defined, so
        compare against something a little more meaningful (target_ignore).

26 years ago * remote.c (remote_interrupt): Rewrite to use remote_stop.
Keith Seitz [Fri, 2 Oct 1998 19:54:42 +0000 (19:54 +0000)]
    * remote.c (remote_interrupt): Rewrite to use remote_stop.
        (remote_interrupt_twice): Remove. remote_stop now handles it.
        (remote_stop): New function which handles interrupting the
        remote target so that CLUI and GUI use the same core functions
        to achieve the same goal.
        (remote_wait): Change to handle remote_stop properly.
        [interrupted_already]: New static global to help remote_stop.
        [remote_ops, extended_remote_ops]: Add remote_stop for to_stop member.

        * target.c: Rename static function "ignore" to "target_ignore" and
        export it so that gdb can determin if some target vector member is
        actually not defined. Replace all occurances of ignore.

        * target.h: Export target_ignore.

26 years ago * target.c (target_xfer_memory): Handle requests with zero
Peter Schauer [Fri, 2 Oct 1998 11:02:00 +0000 (11:02 +0000)]
* target.c (target_xfer_memory):  Handle requests with zero
transfer length right away.

* values.c (unpack_double):  Set up code, length and signedness of
type _after_ checking for typedef.

26 years ago * read.c (discard_rest_of_line): New function.
Richard Henderson [Thu, 1 Oct 1998 22:39:35 +0000 (22:39 +0000)]
    * read.c (discard_rest_of_line): New function.
        * read.h: Declare it.
        * config/tc-alpha.c (s_alpha_mask, s_alpha_frame): Use it.

26 years agoEnhanced fix for PR 14826 - cope with the case where a symbol name matches
Nick Clifton [Thu, 1 Oct 1998 17:35:17 +0000 (17:35 +0000)]
Enhanced fix for PR 14826 - cope with the case where a symbol name matches
a register name

26 years ago* Fix for PR 16567, brought over from d30v branch.
Frank Ch. Eigler [Thu, 1 Oct 1998 11:48:25 +0000 (11:48 +0000)]
* Fix for PR 16567, brought over from d30v branch.
Thu Oct  1 15:39:27 EDT 1998 Frank Ch. Eigler <fche@cygnus.com>
* breakpoint.c (bpstat_stop_status): Do not consider an
untripped watchpoint as a "hit".

26 years agoMore replacing "exec" with "executable".
Andrew Cagney [Thu, 1 Oct 1998 11:41:41 +0000 (11:41 +0000)]
More replacing "exec" with "executable".

26 years agoReplace "exec" with "executable" in messages.
Andrew Cagney [Thu, 1 Oct 1998 11:19:11 +0000 (11:19 +0000)]
Replace "exec" with "executable" in messages.

26 years agoWed Sep 30 19:23:48 1998 Geoffrey Noer <noer@cygnus.com>
Geoffrey Noer [Thu, 1 Oct 1998 02:28:03 +0000 (02:28 +0000)]
Wed Sep 30 19:23:48 1998  Geoffrey Noer  <noer@cygnus.com>

        * Makefile.in: add bzip2 package building bits for user
        tools module
        * configure.in: ditto

26 years ago * gdbint.texinfo: Complete overhaul. Group descriptions more
Stan Shebs [Thu, 1 Oct 1998 01:46:28 +0000 (01:46 +0000)]
* gdbint.texinfo: Complete overhaul.  Group descriptions more
logically, add more info on generic algorithms, remove much
obsolete and/or wrong material.

26 years agoFix for PR 17063 - do not create a section called .call_table, instead create
Nick Clifton [Wed, 30 Sep 1998 18:37:55 +0000 (18:37 +0000)]
Fix for PR 17063 - do not create a section called .call_table, instead create
sections called .call_table_data and .call_table_text.

26 years agoFix PR 17042 - Do not attempt to resolve offsets to symbols in other sections
Nick Clifton [Wed, 30 Sep 1998 18:12:57 +0000 (18:12 +0000)]
Fix PR 17042 - Do not attempt to resolve offsets to symbols in other sections
at assembly time.

26 years agoFix PR 17469 - treat TRAP as another in the set of branch type instructions.
Nick Clifton [Wed, 30 Sep 1998 17:18:36 +0000 (17:18 +0000)]
Fix PR 17469 - treat TRAP as another in the set of branch type instructions.

26 years agoFix PR 17387: ignore auto increment for loads where the destination register
Nick Clifton [Wed, 30 Sep 1998 17:15:14 +0000 (17:15 +0000)]
Fix PR 17387: ignore auto increment for loads where the destination register
and the address register are the same.

26 years ago * Makefile.in (all-automake): fix dependencies.
Felix Lee [Wed, 30 Sep 1998 05:47:18 +0000 (05:47 +0000)]
    * Makefile.in (all-automake): fix dependencies.

26 years agoadd sanitization for special sky config args
Angela Marie Thomas [Wed, 30 Sep 1998 00:12:30 +0000 (00:12 +0000)]
add sanitization for special sky config args

26 years ago * gdb.gdbtk/browser.test: Fix tests which incorrectly assume
Keith Seitz [Tue, 29 Sep 1998 21:04:13 +0000 (21:04 +0000)]
    * gdb.gdbtk/browser.test: Fix tests which incorrectly assume
        that gdb knows _exactly_ which files belong to the user
        and which come from libraries.

26 years agochange armelf sanitization to CYGNUS LOCAL markers
Catherine Moore [Tue, 29 Sep 1998 18:59:02 +0000 (18:59 +0000)]
change armelf sanitization to CYGNUS LOCAL markers

26 years agoMon Sep 28 21:31:12 1998 Richard Henderson <rth@cygnus.com>
Richard Henderson [Tue, 29 Sep 1998 04:34:32 +0000 (04:34 +0000)]
Mon Sep 28 21:31:12 1998  Richard Henderson  <rth@cygnus.com>

        * ld-elfvers/vers.exp: Run tests on alpha-linux.
        * ld-elfvers/*.sym, ld-elfvers/*.dsym: Adjust patters to match
        Alpha's use of st_other.

1998-09-27  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

        * ld-elfvers/vers.exp (vers16, vers16a): New tests.
        * ld-elfvers/{vers16.*, vers16a.*}: New files.

26 years ago1998-09-27 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
Richard Henderson [Tue, 29 Sep 1998 03:53:21 +0000 (03:53 +0000)]
1998-09-27  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

        * elflink.h (elf_link_add_object_symbols): Undo last change.

26 years agoAdd brace missing from previous delta.
Nick Clifton [Mon, 28 Sep 1998 20:22:25 +0000 (20:22 +0000)]
Add brace missing from previous delta.

26 years agoRemove reference to depragmaize program.
Nick Clifton [Mon, 28 Sep 1998 20:09:25 +0000 (20:09 +0000)]
Remove reference to depragmaize program.

26 years agoApply fix from PR 14826 - generate an error if a register is supplied for a
Nick Clifton [Mon, 28 Sep 1998 18:02:50 +0000 (18:02 +0000)]
Apply fix from PR 14826 - generate an error if a register is supplied for a
operand that should not be a register.

26 years agoForgot to add specific files to sanitize section for dsp.
Jeff Johnston [Mon, 28 Sep 1998 15:58:14 +0000 (15:58 +0000)]
Forgot to add specific files to sanitize section for dsp.

26 years agoFri Sep 25 18:07:32 1998 Jeff Johnston <jjohnstn@cygnus.com>
Jeff Johnston [Fri, 25 Sep 1998 22:11:31 +0000 (22:11 +0000)]
Fri Sep 25 18:07:32 1998  Jeff Johnston  <jjohnstn@cygnus.com>

* configure.in (target_libs): Added target-libdsp.
* Makefile.in (TARGET_CONFIGDIRS): Added libdsp as target.

New libdsp component added.

26 years agoMerge with armelf980813:
Keith Seitz [Fri, 25 Sep 1998 19:04:46 +0000 (19:04 +0000)]
Merge with armelf980813:

        * rdi-share/unixcomm.c: If using cygwin32, also use the SERPORT and
        PARPORT defines for win32.
        (Unix_MatchValidSerialDevice): For cygwin32, valid serial port names
        start with "com", not "/dev/tty".
        (Unix_OpenSerial): Do not use O_NONBLOCK on cygwin32.

        * rdi-share/devsw.c (DevSW_Close): Free the device's state (SwitcherState)
        so that the device may be reopened.

        * remote-rdi.c (mywritec): Send all output through gdb's *_unfiltered
        functions, ignoring non-ASCII chars, so that non-tty UI's can snarf
        the output from fputs_hook.
        (mywrite): Ditto.
        (arm_rdi_open): Set inferior_pid.
        (arm_rdi_detach): Pop the target off the target stack so that
        users can attach and detach multiple times.
        (arm_rdi_close): Close the opened device and reset inferior_pid, too.

26 years agoAddtional fix for PR17045 - allowed delayed branches to have insns in the
Nick Clifton [Fri, 25 Sep 1998 17:06:05 +0000 (17:06 +0000)]
Addtional fix for PR17045 - allowed delayed branches to have insns in the
R container

26 years ago * gdbtk.c (gdbtk_wait): Don't run the timer for ice targets.
Keith Seitz [Fri, 25 Sep 1998 15:22:23 +0000 (15:22 +0000)]
    * gdbtk.c (gdbtk_wait): Don't run the timer for ice targets.

        * v850ice.c (WM_ADDR_TO_SYM): New message.
        (v850ice_wndproc): Add handler for WM_SOURCE.
        (v850ice_wait): Call the ui_loop_hook occasionally.
        (ice_cont): Acknowledge message before doing anything.
        (ice_stepi): Ack message and let gdbtk do stepping.
        (ice_nexti): Ack message and let gdbtk do stepping.
        (view_source): New function ICE calls to display source code.

26 years ago1998-09-24 Jason Molenda (jsm@bugshack.cygnus.com)
Jason Molenda [Fri, 25 Sep 1998 03:04:03 +0000 (03:04 +0000)]
1998-09-24  Jason Molenda  (jsm@bugshack.cygnus.com)

        * configure.in: Change --enable-warnings to --enable-build-warnings.
        * configure: Updated.

26 years agoAck, accidentally checked in a configure generated with an obsolete
Jason Molenda [Fri, 25 Sep 1998 01:54:25 +0000 (01:54 +0000)]
Ack, accidentally checked in a configure generated with an obsolete
version of autoconf.

26 years ago1998-09-24 Jason Molenda (jsm@bugshack.cygnus.com)
Jason Molenda [Fri, 25 Sep 1998 01:30:46 +0000 (01:30 +0000)]
1998-09-24  Jason Molenda  (jsm@bugshack.cygnus.com)

        * configure.in (WARN_CFLAGS): Add -Wmissing-prototypes.
        * configure: Regenerated.

26 years ago1998-09-24 Jason Molenda (jsm@bugshack.cygnus.com)
Jason Molenda [Fri, 25 Sep 1998 01:27:47 +0000 (01:27 +0000)]
1998-09-24  Jason Molenda  (jsm@bugshack.cygnus.com)

        * configure.in: Add --enable-warnings.
        Adjust whitespace of other --with and --enable options so that
        configure --help lines up correctly.
        * aclocal.m4: Ditto.
        * Makefile.in (WARN_CFLAGS): Add.  Set by configure.
        * configure: Regenerated.

26 years ago * remote-rdi.c: Fix formatting, remove some commented-out code.
Stan Shebs [Thu, 24 Sep 1998 22:48:48 +0000 (22:48 +0000)]
* remote-rdi.c: Fix formatting, remove some commented-out code.
(init_rdi_ops): Omit needless initializations.

26 years agoFic PR 17045: Do not allow insns in R bin if L bin contains a branch.
Nick Clifton [Thu, 24 Sep 1998 16:31:20 +0000 (16:31 +0000)]
Fic PR 17045: Do not allow insns in R bin if L bin contains a branch.

26 years agoFic PR 17045: Add FLAG_JSR attribute to DBT, REIT, RTD and TRAP insns.
Nick Clifton [Thu, 24 Sep 1998 16:26:44 +0000 (16:26 +0000)]
Fic PR 17045: Add FLAG_JSR attribute to DBT, REIT, RTD and TRAP insns.

26 years ago * elflink.h (elf_link_add_object_symbols): Don't record a dynamic
Richard Henderson [Wed, 23 Sep 1998 23:09:54 +0000 (23:09 +0000)]
    * elflink.h (elf_link_add_object_symbols): Don't record a dynamic
        symbol for the indirect alias to a versioned symbol.

26 years agoPR 17438 - fix parsing of MVTSYS and MVFSYS insns.
Nick Clifton [Wed, 23 Sep 1998 17:56:40 +0000 (17:56 +0000)]
PR 17438 - fix parsing of MVTSYS and MVFSYS insns.