OSDN Git Service

pf3gnuchains/pf3gnuchains4x.git
23 years agoFix file corrupted before initial checkin.
Jim Wilson [Tue, 15 Aug 2000 19:42:44 +0000 (19:42 +0000)]
Fix file corrupted before initial checkin.
* ia64-ic.tbl: Add missing entries.

23 years ago2000-08-15 Dave Brolley <brolley@redhat.com>
Dave Brolley [Tue, 15 Aug 2000 18:49:50 +0000 (18:49 +0000)]
2000-08-15  Dave Brolley  <brolley@redhat.com>

* sim-profile.c (profile_print_speed): Print cpu frequency if not zero.

23 years ago2000-08-15 Dave Brolley <brolley@redhat.com>
Dave Brolley [Tue, 15 Aug 2000 18:39:02 +0000 (18:39 +0000)]
2000-08-15  Dave Brolley  <brolley@redhat.com>

* sim-profile.h (PROFILE_DATA): Add cpu_freq.
(PROFILE_CPU_FREQ): New macro.
* sim-profile.c (OPTION_PROFILE_CPU_FREQUENCY): New enumerator.
(profile-options): Add profile-cpu-frequency.
(parse_frequency): New function.
(profile_option_handler): Handle OPTION_PROFILE_CPU_FREQUENCY.
(profile_print_speed): Print cpu frequency and simulated execution time.
Re-indent other items to match.

23 years ago* configure.in (libstdcxx_flags): Use libstdc++-v3/src/INCLUDES.
Alexandre Oliva [Tue, 15 Aug 2000 08:01:29 +0000 (08:01 +0000)]
* configure.in (libstdcxx_flags): Use libstdc++-v3/src/INCLUDES.

23 years agoCompute write back value for post increment loads before
Nick Clifton [Tue, 15 Aug 2000 00:10:52 +0000 (00:10 +0000)]
Compute write back value for post increment loads before
performing the load in case the offset register is overwritten.

23 years agoAdd support for IA-64 specific elf header flags.
Jim Wilson [Mon, 14 Aug 2000 20:13:39 +0000 (20:13 +0000)]
Add support for IA-64 specific elf header flags.
bfd/
2000-08-14  Jim Wilson  <wilson@cygnus.com>
* elf64-ia64.c (elf64_ia64_merge_private_bfd_data): Handle
EF_IA_64_REDUCEDFP, EF_IA_64_CONS_GP, and EF_IA_64_NOFUNCDESC_CONS_GP.
(elf64_ia64_print_private_bfd_data): Likewise.  Also handle
EF_IA_64_ABSOLUTE.
gas/
2000-08-14  Jim Wilson  <wilson@cygnus.com>
* config/tc-ia64.c (md_longopts): Add -mconstant-gp and -mauto-pic.
(md_parse_option):  Add OPTION_MCONSTANT_GP and OPTION_MAUTO_PIC.
(md_begin): Change assignment to md.flag to OR in the new bit.
include/elf/
2000-08-14  Jim Wilson  <wilson@cygnus.com>
* elf/ia64.h (EF_IA_64_REDUCEDFP, EF_IA_64_CONS_GP,
EF_IA_64_NOFUNCDESC_CONS_GP, EF_IA_64_ABSOLUTE): Define.

23 years agoProtoization.
Kevin Buettner [Sun, 13 Aug 2000 01:22:17 +0000 (01:22 +0000)]
Protoization.

23 years agoAdd formatted register info.
Andrew Cagney [Sat, 12 Aug 2000 03:28:42 +0000 (03:28 +0000)]
Add formatted register info.
Convert more of mn10300 to multi-arch.
Fix mips vs mn10300

23 years ago * configure.in (CC_FOR_TARGET, CHILL_FOR_TARGET,
Jason Merrill [Sat, 12 Aug 2000 00:49:39 +0000 (00:49 +0000)]
    * configure.in (CC_FOR_TARGET, CHILL_FOR_TARGET,
        CXX_FOR_TARGET): Add -B$$r/gcc/ here.
        (FLAGS_FOR_TARGET): Not here.
        (CHILL_FOR_TARGET, CXX_FOR_TARGET): Don't check the list of languages.

23 years ago* i386-linux-nat.c [! HAVE_PTRACE_GETFPXREGS] (fetch_fpxregs,
Mark Kettenis [Fri, 11 Aug 2000 19:45:21 +0000 (19:45 +0000)]
* i386-linux-nat.c [! HAVE_PTRACE_GETFPXREGS] (fetch_fpxregs,
store_fpxregs): Return 0.

23 years agoRestore GET_SAVED_REGISTERS
Andrew Cagney [Fri, 11 Aug 2000 19:09:55 +0000 (19:09 +0000)]
Restore GET_SAVED_REGISTERS

23 years agoUse address mapping levels for 68hc11 simulator (kill overlap hack)
Stephane Carrez [Fri, 11 Aug 2000 18:44:59 +0000 (18:44 +0000)]
Use address mapping levels for 68hc11 simulator (kill overlap hack)

23 years ago* dcache.c (dcache_info): Don't print cache state if last_cache
J.T. Conklin [Fri, 11 Aug 2000 14:47:38 +0000 (14:47 +0000)]
* dcache.c (dcache_info): Don't print cache state if last_cache
is NULL.

23 years ago* elf32-sh.c (sh_elf_set_mach_from_flags): Make it static.
Alexandre Oliva [Fri, 11 Aug 2000 14:35:41 +0000 (14:35 +0000)]
* elf32-sh.c (sh_elf_set_mach_from_flags): Make it static.

23 years agoEnable multi-arch for the mn10300.
Andrew Cagney [Fri, 11 Aug 2000 07:54:49 +0000 (07:54 +0000)]
Enable multi-arch for the mn10300.

23 years agoAdapt support for SSE registers in Linux/x86 for Linux 2.4.
Mark Kettenis [Fri, 11 Aug 2000 04:51:00 +0000 (04:51 +0000)]
Adapt support for SSE registers in Linux/x86 for Linux 2.4.
* i386-linux-nat.c: Various doc fixes.  Include "i387-nat.h".
(GETFPXREGS_SUPPLIES): Renamed from GETXFPREGS_SUPPLIES.
(have_ptrace_getfpxregs): Renamed from have_ptrace_getxfpregs.
(convert_to_gregset): Removed.  Moved logic to ...
(fill_gregset): ... here.  Simplified function.
(fetch_regs): Use perror_with_name for error reporting.
(store_regs): Add `regno' parameter.  Use perror_with_name for
error reporting.  Call fill_gregset instead of convert_to_gregset.
(FPREG_ADDR): Remove.
(supply_fpregset): Implement by calling i387_supply_fsave.
(convert_to_fpregset): Remove.
(fill_fpregset): Implement by calling i387_fill_fsave.
(fetch_fpregs): Use perror_with_name fro error reporting.
(store_fpregs) Add `regno' parameter.  Use perror_with_name fro
error reporting.  Call fill_fpregset instead of
convert_to_fpregset.
(supply_xfpregset, convert_to_xfpregset): Removed.
(supply_fpxregset, fill_fpxregset): New functions.
(fetch_fpxregs): Renamed from fetch_xfpregs.  Use perror_with_name
for error reporting.  Call supply_fpxregset instead of
supply_xfpregset.
(store_xfpregs): Removed.
(store_fpxregs): New function.
(fetch_inferior_registers): Adjust for xfp -> fpx change.  Tweak
message in call to internal_error.
(store_inferior_registers): Adjust for xfp ->fpx change.  Pass
REGNO to store_regs, store_fpregs and store_fpxregs.
(fetch_core_registers): Adjust for xfp -> fpx change.
* acconfig.h (HAVE_PTRACE_GETFPXREGS): Renamed from
HAVE_PTRACE_GETXFPREGS.
* config.in: Regenerated.
* configure.in: Replace check for PTRACE_GETXFPREGS with check for
PTRACE_GETFPXREGS.  Remove comment about Cygnus SSE extensions.
* configure: Regenerated.
* config/i386/linux.mh (NATDEPFILES): Add i387-nat.o.
* config/i386/tm-linux.h: Base definition of HAVE_SSE_REGS on
HAVE_PTRACE_GETFPXREGS instead of HAVE_PTRACE_GETXFPREGS.

23 years ago * regcache.c (TARGET_WRITE_PC, TARGET_READ_PC, TARGET_READ_FP,
Andrew Cagney [Fri, 11 Aug 2000 03:19:22 +0000 (03:19 +0000)]
    * regcache.c (TARGET_WRITE_PC, TARGET_READ_PC, TARGET_READ_FP,
        TARGET_WRITE_FP, TARGET_READ_SP, TARGET_WRITE_SP): Move
        initialization from here.
        * gdbarch.sh: To here.
        * gdbarch.h, gdbarch.c: Regenerate.

23 years agoMove TARGET_*_PTR to gdbarch.h.
Andrew Cagney [Fri, 11 Aug 2000 02:55:38 +0000 (02:55 +0000)]
Move TARGET_*_PTR to gdbarch.h.

23 years ago2000-08-10 Kazu Hirata <kazu@hxi.com>
Kazu Hirata [Fri, 11 Aug 2000 02:03:02 +0000 (02:03 +0000)]
2000-08-10  Kazu Hirata  <kazu@hxi.com>

* compile.c (decode): Clean up the code.

23 years agoEliminate redundant pst test.
Andrew Cagney [Fri, 11 Aug 2000 01:47:47 +0000 (01:47 +0000)]
Eliminate redundant pst test.

23 years agoRename gdbarch_update() to gdbarch_update_p()
Andrew Cagney [Fri, 11 Aug 2000 01:30:11 +0000 (01:30 +0000)]
Rename gdbarch_update() to gdbarch_update_p()

23 years ago2000-08-10 Jimmy Guo <guo@cup.hp.com>
Jimmy Guo [Fri, 11 Aug 2000 01:02:35 +0000 (01:02 +0000)]
2000-08-10 Jimmy Guo <guo@cup.hp.com>

* c-lang.c: Set case sensitivity on for c_language_defn,
cplus_language_defn, and asm_language_defn.
* ch-lang.c: Set case sensitivity on for chill_language_defn.
* f-lang.c: Set case sensivitity off for f_language_defn.
* jv-lang.c: Set case sensitivity on for java_language_defn.
* language.h: Add enum case_mode, case_sensitivity.
* language.c: Define case_mode, case_sensitivity.  Set case
sensitivity on for unknown_language_defn, auto_language_defn,
and local_language_defn.
(show_case_command,set_case_command,set_case_str): New static func.
(set_type_range_case): New static func, replaces set_type_range ().
(set_language_command,set_type_command,set_range_command,set_language):
Call set_type_range_case ().
(language_info): Print case sensitivity setting.
(_initialize_language): Add set/show commands for 'case-sensitive'.
Set default case mode 'auto'.  Set default language 'auto'.
* m2-lang.c: Set case sensitivity on for m2_language_defn.
* p-lang.c: Set case sensitivity on for pascal_language_defn.
* scm-lang.c: Set case sensitivity off for scm_language_defn.
* symtab.c (lookup_symbol): Downcase symbol name if case sensivitity
is off.

23 years agoEliminate use of MIN().
Andrew Cagney [Fri, 11 Aug 2000 00:48:51 +0000 (00:48 +0000)]
Eliminate use of MIN().

23 years agoUpdate my contact email for hp tests maintainership.
Jimmy Guo [Fri, 11 Aug 2000 00:25:19 +0000 (00:25 +0000)]
Update my contact email for hp tests maintainership.

23 years ago * sparc-tdep.c (sparc_init_extra_frame_info): Fix number of
Andrew Cagney [Thu, 10 Aug 2000 23:53:45 +0000 (23:53 +0000)]
    * sparc-tdep.c (sparc_init_extra_frame_info): Fix number of
        arguments to fetch_instruction.

23 years ago2000-08-10 Kazu Hirata <kazu@hxi.com>
Kazu Hirata [Thu, 10 Aug 2000 21:37:46 +0000 (21:37 +0000)]
2000-08-10  Kazu Hirata  <kazu@hxi.com>

* gdba.el: Fix a typo.

23 years ago2000-08-10 Kazu Hirata <kazu@hxi.com>
Kazu Hirata [Thu, 10 Aug 2000 21:17:46 +0000 (21:17 +0000)]
2000-08-10  Kazu Hirata  <kazu@hxi.com>

* hppa_tdep.c: Fix a comment typo.

23 years ago2000-08-10 Jason Eckhardt <jle@cygnus.com>
Jason Eckhardt [Thu, 10 Aug 2000 21:09:42 +0000 (21:09 +0000)]
2000-08-10  Jason Eckhardt  <jle@cygnus.com>

        * elf32-i860.c (elf32_i860_relocate_section): New function.
        (i860_final_link_relocate): New function.
        (elf32_i860_relocate_splitn): New function.
        (elf32_i860_relocate_pc16): New function.
        (elf32_i860_relocate_highadj): New function.
        (elf32_i860_howto): Minor adjustments to some relocations.
        (elf_info_to_howto_rel): Define.
        (elf_backend_relocate_section): Define.

23 years agoFix formatting
Nick Clifton [Thu, 10 Aug 2000 19:41:07 +0000 (19:41 +0000)]
Fix formatting

23 years ago * MAINTAINERS: Added myself with write-after-approval access.
Tom Tromey [Thu, 10 Aug 2000 19:02:06 +0000 (19:02 +0000)]
* MAINTAINERS: Added myself with write-after-approval access.

23 years ago2000-08-10 Fernando Nasser <fnasser@cygnus.com>
Fernando Nasser [Thu, 10 Aug 2000 19:00:06 +0000 (19:00 +0000)]
2000-08-10  Fernando Nasser  <fnasser@cygnus.com>

* targetselection.itb (init_target_db): Add 115200 baud option to
target remote.

23 years ago* monitor.c (monitor_open): If a dcache has already been created,
J.T. Conklin [Thu, 10 Aug 2000 18:54:27 +0000 (18:54 +0000)]
* monitor.c (monitor_open): If a dcache has already been created,
invalidate it rather than creating another.
* ocd.c (ocd_open): Likewise.
* remote-nindy.c (nindy_open): Likewise.
* remote-sds.c (sds_open): Likewise.
* remote-utils.c (gr_open): Likewise.
* remote.c (remote_open_1, remote_cisco_open): Likewise.

* dcache.c (dcache_alloc): Changed to take address of line as an
argument, and to invalidate cache line before returning.
(dcache_peek_byte): Updated.
(dcache_poke_byte): Updated.
-------------------------------------------------------------------

23 years ago2000-08-10 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
Elena Zannoni [Thu, 10 Aug 2000 18:26:56 +0000 (18:26 +0000)]
2000-08-10  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>

From Greg McGary <greg@mcgary.org>:
* partial-stab.h: Don't crash if pst is null.

23 years agoAdapt support for SSE registers in Linux/x86 for Linux 2.4.
Mark Kettenis [Thu, 10 Aug 2000 17:04:33 +0000 (17:04 +0000)]
Adapt support for SSE registers in Linux/x86 for Linux 2.4.
* i386-linux-nat.c: Various doc fixes.  Include "i387-nat.h".
(GETFPXREGS_SUPPLIES): Renamed from GETXFPREGS_SUPPLIES.
(have_ptrace_getfpxregs): Renamed from have_ptrace_getxfpregs.
(convert_to_gregset): Removed.  Moved logic to ...
(fill_gregset): ... here.  Simplified function.
(fetch_regs): Use perror_with_name for error reporting.
(store_regs): Add `regno' parameter.  Use perror_with_name for
error reporting.  Call fill_gregset instead of convert_to_gregset.
(FPREG_ADDR): Remove.
(supply_fpregset): Implement by calling i387_supply_fsave.
(convert_to_fpregset): Remove.
(fill_fpregset): Implement by calling i387_fill_fsave.
(fetch_fpregs): Use perror_with_name fro error reporting.
(store_fpregs) Add `regno' parameter.  Use perror_with_name fro
error reporting.  Call fill_fpregset instead of
convert_to_fpregset.
(supply_xfpregset, convert_to_xfpregset): Removed.
(supply_fpxregset, fill_fpxregset): New functions.
(fetch_fpxregs): Renamed from fetch_xfpregs.  Use perror_with_name
for error reporting.  Call supply_fpxregset instead of
supply_xfpregset.
(store_xfpregs): Removed.
(store_fpxregs): New function.
(fetch_inferior_registers): Adjust for xfp -> fpx change.  Tweak
message in call to internal_error.
(store_inferior_registers): Adjust for xfp ->fpx change.  Pass
REGNO to store_regs, store_fpregs and store_fpxregs.
(fetch_core_registers): Adjust for xfp -> fpx change.
* acconfig.h (HAVE_PTRACE_GETFPXREGS): Renamed from
HAVE_PTRACE_GETXFPREGS.
* config.in: Regenerated.
* configure.in: Replace check for PTRACE_GETXFPREGS with check for
PTRACE_GETFPXREGS.  Remove comment about Cygnus SSE extensions.
* configure: Regenerated.
* config/i386/linux.mh (NATDEPFILES): Add i387-nat.o.
* config/i386/tm-linux.h: Base definition of HAVE_SSE_REGS on
HAVE_PTRACE_GETFPXREGS instead of HAVE_PTRACE_GETXFPREGS.

23 years ago2000-08-10 Fernando Nasser <fnasser@cygnus.com>
Fernando Nasser [Thu, 10 Aug 2000 16:02:52 +0000 (16:02 +0000)]
2000-08-10  Fernando Nasser  <fnasser@cygnus.com>

* targetselection.itb (change_baud): Don't set baud for ETX.

23 years agoFix typos.
Fernando Nasser [Thu, 10 Aug 2000 15:59:55 +0000 (15:59 +0000)]
Fix typos.

23 years ago2000-08-10 Fernando Nasser <fnasser@cygnus.com>
Fernando Nasser [Thu, 10 Aug 2000 15:55:06 +0000 (15:55 +0000)]
2000-08-10  Fernando Nasser  <fnasser@cygnus.com>

* srctextwin.itb (jump_to_here): New method. Implements the
"Jump to Here" popup menu option.
(build_popups): Add the "Jump to Here" option to the popup menu.
* srctextwin.ith: Add declaration of jump_to_here().

23 years ago* i387-nat.h (i387_supply_fsave, i387_fill_fsave): Make extern.
Mark Kettenis [Thu, 10 Aug 2000 14:54:51 +0000 (14:54 +0000)]
* i387-nat.h (i387_supply_fsave, i387_fill_fsave): Make extern.
(i387_supply_fxsave, i387_fill_fxsave): New prototypes.
* i387-nat.c (i387_supply_fsave): Declare `val' as `unsigned int'.
(fxsave_offset): New variable.
(FXSAVE_ADDR): New macro.
(i387_supply_fxsave, i387_fill_fxsave, i387_tag): New functions.

23 years ago* gdbint.texinfo (Overall Structure): Spelling fix.
Mark Kettenis [Thu, 10 Aug 2000 13:42:29 +0000 (13:42 +0000)]
* gdbint.texinfo (Overall Structure): Spelling fix.

23 years ago * gdbint.texinfo (Target Architecture Definition): Document that
Eli Zaretskii [Thu, 10 Aug 2000 11:05:52 +0000 (11:05 +0000)]
* gdbint.texinfo (Target Architecture Definition): Document that
REGISTER_CONVERT_TO_VIRTUAL should only be called on a register
for which REGISTER_CONVERTIBLE returns a zero value.

23 years agoFix bug in sh_elf_reloc_loop
Bernd Schmidt [Thu, 10 Aug 2000 10:00:56 +0000 (10:00 +0000)]
Fix bug in sh_elf_reloc_loop

23 years ago * jv-valprint.c (java_value_print): Only print non-null Strings.
Tom Tromey [Thu, 10 Aug 2000 08:42:10 +0000 (08:42 +0000)]
* jv-valprint.c (java_value_print): Only print non-null Strings.

23 years agoProtoization.
Kevin Buettner [Thu, 10 Aug 2000 00:58:09 +0000 (00:58 +0000)]
Protoization.

23 years ago2000-08-09 Fernando Nasser <fnasser@cygnus.com>
Fernando Nasser [Wed, 9 Aug 2000 21:01:51 +0000 (21:01 +0000)]
2000-08-09  Fernando Nasser  <fnasser@cygnus.com>

* srctxtwin.itb (FillSource): Add comments.

23 years ago2000-08-09 Michael Snyder <msnyder@cleaver.cygnus.com>
Michael Snyder [Wed, 9 Aug 2000 20:09:01 +0000 (20:09 +0000)]
2000-08-09  Michael Snyder  <msnyder@cleaver.cygnus.com>

        * blockframe.c (sigtramp_saved_pc): Use dynamic allocation,
        since TARGET_PTR_BIT is no longer a constant (MULTI_ARCH).
        * irix4-nat.c (get_longjmp_target): Ditto.
        * irix5-nat.c (get_longjmp_target): Ditto.
        * jv-valprint.c (java_value_print): Ditto.
        * m3-nat.c (get_cprocs):            Ditto.
        * m68k-tdep.c (get_longjmp_target): Ditto.
        * mips-nat.c  (get_longjmp_target): Ditto.
        * mipsv4-nat.c(get_longjmp_target): Ditto.
        * pa64solib.c (read_dynamic_info):  Ditto.
        * solib.c (elf_locate_base):        Ditto.

23 years ago* am33.igen: Warning clean-up.
Alexandre Oliva [Wed, 9 Aug 2000 18:42:04 +0000 (18:42 +0000)]
* am33.igen: Warning clean-up.
(movm): Initialize PC and mask.
(mov, movbu, movhu): Set srcreg2 from RI0.
(bsch): Initialize c.
(sat16_cmp): Actually do the comparison.
(mov_llt): Do not overwrite dstreg with uninitialized variable.

23 years ago2000-08-08 Jason Eckhardt <jle@cygnus.com>
Jason Eckhardt [Wed, 9 Aug 2000 03:35:46 +0000 (03:35 +0000)]
2000-08-08  Jason Eckhardt  <jle@cygnus.com>

       * i860-dis.c (print_br_address): Change third argument from int
        to long.

23 years agogas:
Jason Eckhardt [Wed, 9 Aug 2000 03:33:42 +0000 (03:33 +0000)]
gas:
2000-08-08  Jason Eckhardt  <jle@cygnus.com>

* config/tc-i860.h: Rework completely for BFD_ASSEMBLER.
(i860_fix_info): New enum.
(MD_APPLY_FIX3): Define.
(WORKING_DOT_WORD): Define.
(TC_HANDLES_FX_DONE): Define.
(DIFF_EXPR_OK): Define.
(LISTING_HEADER): Define.
(TARGET_FORMAT): Select target format based on endian flag.
(TARGET_BYTES_BIG_ENDIAN): Default to little endian.
(target_big_endian): Add external declaration.

* config/tc-i860.c: All existing code reworked completely. Other
new code shown below.
(SYNTAX_SVR4): Define.
(target_warn_expand): New variable.
(md_shortopts): Declare and define (-Qy, -Qn, and -V options).
(md_longopts): Declare and define with new options (-EL, -EB,
and -mwarn-expand).
(md_show_usage): New function.
(md_operand): New function.
(obtain_reloc_for_imm16): New function.
(md_apply_fix3): New function.
(tc_gen_reloc): New function.

include:
2000-08-08  Jason Eckhardt  <jle@cygnus.com>

* opcode/i860.h: Small formatting adjustments.

opcode:
2000-08-08  Jason Eckhardt  <jle@cygnus.com>

* i860-dis.c (print_br_address): Change third argument from int
to long.

bfd:
2000-08-08  Jason Eckhardt  <jle@cygnus.com>
* elf32-i860.c (elf32_i860_howto_table): Updated some fields.

23 years ago2000-08-08 Fernando Nasser <fnasser@cygnus.com>
Fernando Nasser [Tue, 8 Aug 2000 22:24:26 +0000 (22:24 +0000)]
2000-08-08  Fernando Nasser  <fnasser@cygnus.com>

* srctxtwin.itb (FillSource): Add comments.

23 years ago2000-08-08 Fernando Nasser <fnasser@cygnus.com>
Fernando Nasser [Tue, 8 Aug 2000 22:14:16 +0000 (22:14 +0000)]
2000-08-08  Fernando Nasser  <fnasser@cygnus.com>

* srctxtwin.itb (LoadFromCache): Do not cache if cannot stat the file.
This lead to problems trying to access a incomplete cache entry later.

23 years agoremove build_parse entry about buffer overrun.
David Taylor [Tue, 8 Aug 2000 03:23:14 +0000 (03:23 +0000)]
remove build_parse entry about buffer overrun.

23 years agoProtoize.
Kevin Buettner [Tue, 8 Aug 2000 00:17:39 +0000 (00:17 +0000)]
Protoize.

23 years ago * ia64-dis.c (print_insn_ia64): Get byte skip count correct
Richard Henderson [Mon, 7 Aug 2000 21:44:26 +0000 (21:44 +0000)]
    * ia64-dis.c (print_insn_ia64): Get byte skip count correct
        for MLI templates.  Handle IA64_OPND_TGT64.

23 years agoApply Nick Clifton's suggestion.
Kazu Hirata [Mon, 7 Aug 2000 19:46:11 +0000 (19:46 +0000)]
Apply Nick Clifton's suggestion.

23 years ago2000-08-07 Kazu Hirata <kazu@hxi.com>
Kazu Hirata [Mon, 7 Aug 2000 19:39:55 +0000 (19:39 +0000)]
2000-08-07  Kazu Hirata  <kazu@hxi.com>

* ieee.c: Fix a comment typo.
* elf64-ia64.c: Likewise.

23 years agoRemove spurious CYGNUS LOCAL comments
Nick Clifton [Mon, 7 Aug 2000 18:54:49 +0000 (18:54 +0000)]
Remove spurious CYGNUS LOCAL comments

23 years ago2000-08-07 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
Elena Zannoni [Mon, 7 Aug 2000 15:16:15 +0000 (15:16 +0000)]
2000-08-07  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>

* objfiles.h (SECT_OFF_BSS): Don't detect invalid sect_index_bss
  here, let the users of the macro do it.
* symtab.h (ANOFFSET): Detect here if the section index is not
  initialized.
* xcoffread.c (find_targ_sec): Don't treat .bss as special,
  because some objfiles may not have that section at all.
* coffread.c (cs_to_section): Ditto.
* elfread.c (elf_symtab_read): Detect an uninitialized index
  value.
(elfstab_offset_sections): The macro ANOFFSET cannot be used as an
  lvalue anymore.
* remote.c (get_offsets, remote_cisco_objfile_relocate): Don't use
  ANOFFSET as an lvalue.
* objfiles.c (objfile_relocate, objfile_relocate): Don't use
  ANOFFSET as an lvalue.
* symfile.c (default_symfile_offsets): Don't use ANOFFSET as an
  lvalue.

23 years ago* configure.in (FLAGS_FOR_TARGET): invert test for xgcc, should mean
DJ Delorie [Mon, 7 Aug 2000 15:02:09 +0000 (15:02 +0000)]
* configure.in (FLAGS_FOR_TARGET): invert test for xgcc, should mean
"if we're also building gcc, and it's a gcc that will run on the
build machine, we want to use its includes instead of the system's
default includes".

23 years agoparse.c (build_parse): don't write off the end of the std_regs array.
David Taylor [Mon, 7 Aug 2000 14:27:36 +0000 (14:27 +0000)]
parse.c (build_parse): don't write off the end of the std_regs array.

23 years ago* solib.c (bfd_lookup_symbol): Fall back on the dynamic symbol
Mark Kettenis [Mon, 7 Aug 2000 10:56:22 +0000 (10:56 +0000)]
* solib.c (bfd_lookup_symbol): Fall back on the dynamic symbol
table if the symbol couldn't be found in the normal symbol table
(i.e. if the shared object in question was stripped).

23 years agoProtoize ch-exp.c, core-regset.c.
Kevin Buettner [Mon, 7 Aug 2000 03:07:59 +0000 (03:07 +0000)]
Protoize ch-exp.c, core-regset.c.

23 years agoMinor reformat.
Christopher Faylor [Sun, 6 Aug 2000 23:26:40 +0000 (23:26 +0000)]
Minor reformat.

23 years ago* win32-nat.c: Perform various gcc warning cleanups.
Christopher Faylor [Sun, 6 Aug 2000 23:25:32 +0000 (23:25 +0000)]
* win32-nat.c: Perform various gcc warning cleanups.
(safe_symbol_file_add_cleanup): Reset stdout to saved stdout, not stderr.
(dll_symbol_command): Pass OBJF_USERLOADED to safe_symbol_file_add.
(get_child_debug_event): Always reset last_sig.  Always reset inferior pid
appropriately.
(do_initial_child_stuff): New function.  Called when attaching or starting a
new inferior process.
(child_attach): Use do_initial_child_stuff.
(child_create_inferior): Ditto.
* config/i386/cygwin.mh (NAT_FILE): Set to modern location.
* config/i386/tm-cygwin.h: Define ATTACH_NO_WAIT.

23 years ago * avr-dis.c (avr_operand): Use PARAMS macro in declaration.
Denis Chertykov [Sun, 6 Aug 2000 14:12:36 +0000 (14:12 +0000)]
* avr-dis.c (avr_operand): Use PARAMS macro in declaration.
Change return type from void to int.  Check the combination
of operands, return 1 if valid.  Fix to avoid BUF overflow.
Report undefined combinations of operands in COMMENT.
Report internal errors to stderr.  Output the adiw/sbiw
constant operand in both decimal and hex.
(print_insn_avr): Disassemble ldd/std with displacement of 0
as ld/st.  Check avr_operand () return value, handle invalid
combinations of operands like unknown opcodes.

23 years ago * avr.h (AVR_UNDEF_P, AVR_SKIP_P, AVR_DISP0_P): New macros.
Denis Chertykov [Sun, 6 Aug 2000 14:09:14 +0000 (14:09 +0000)]
* avr.h (AVR_UNDEF_P, AVR_SKIP_P, AVR_DISP0_P): New macros.
Move related opcodes closer to each other.
Minor changes in comments, list undefined opcodes.

23 years ago * go32-nat.c: (go32_wait): If child_cwd[] is empty, initialize
Eli Zaretskii [Sun, 6 Aug 2000 07:19:38 +0000 (07:19 +0000)]
* go32-nat.c: (go32_wait): If child_cwd[] is empty, initialize
it to GDB's current directory.
(go32_create_inferior, init_go32_ops): Initialize child_cwd[] to
an empty string, to signal an uninitialized value.
From Robert Hoehne <robert.hoehne@gmx.net>.

23 years ago2000-08-05 Jason Eckhardt <jle@cygnus.com>
Jason Eckhardt [Sat, 5 Aug 2000 16:48:52 +0000 (16:48 +0000)]
2000-08-05  Jason Eckhardt  <jle@cygnus.com>

        * elf32-i860 (elf32_i860_howto_table): New structure.
        (lookup_howto): New function.
        (elf32_i860_reloc_type_lookup): New function.
        (elf32_i860_info_to_howto_rela): New function.
        (elf_code_to_howto_index): New structure.
        (elf_info_to_howto): Re-define as elf32_i860_info_to_howto_rela.
        (bfd_elf32_bfd_reloc_type_lookup): Re-define as
        elf32_i860_reloc_type_lookup.

23 years agoFixup SYMBOL_SECTION for objfiles_relocate().
Kevin Buettner [Fri, 4 Aug 2000 23:13:50 +0000 (23:13 +0000)]
Fixup SYMBOL_SECTION for objfiles_relocate().

23 years agoAdd code for (re)building the minimal symbol hash tables.
Kevin Buettner [Fri, 4 Aug 2000 18:41:05 +0000 (18:41 +0000)]
Add code for (re)building the minimal symbol hash tables.

23 years agoFix date in comment.
Kevin Buettner [Fri, 4 Aug 2000 16:51:47 +0000 (16:51 +0000)]
Fix date in comment.

23 years agoDWARF2.1 64-bit support.
Kevin Buettner [Fri, 4 Aug 2000 16:25:30 +0000 (16:25 +0000)]
DWARF2.1 64-bit support.

23 years ago * som.c (struct fixup_format): Constify `format'.
Jeff Law [Fri, 4 Aug 2000 15:17:37 +0000 (15:17 +0000)]
    * som.c (struct fixup_format): Constify `format'.
        (som_hppa_howto_table): Use SOM_HOWTO macro.
        (try_prev_fixup, hppa_som_reloc): Decorate unused parameter.
        (som_bfd_reloc_type_lookup): Likewise.
        (compare_subspaces): Remove unused `count1', `count2'.
        (som_begin_writing): Remove unused `total_reloc_size'.
        (som_bfd_derive_misc_symbol_info): Decorate unused parameter.
        (som_print_symbol, som_bfd_is_local_label_name): Likewise.
        (som_set_reloc_info): Constify `cp'. Remove unused `addend'.
        (som_find_nearest_line): Decorate unused parameter(s).
        (som_sizeof_headers, som_get_symbol_info, som_write_armap): Likewise.
        (som_bfd_link_split_section): Likewise.

23 years agoRe-implement ``set/show remote Z-packet ...'' commands so that each Z
Andrew Cagney [Fri, 4 Aug 2000 09:32:19 +0000 (09:32 +0000)]
Re-implement ``set/show remote Z-packet ...'' commands so that each Z
packet sub-type can be explicitly controled.

23 years agoRevert SER_HARDWIRE regression.
Andrew Cagney [Fri, 4 Aug 2000 09:27:18 +0000 (09:27 +0000)]
Revert SER_HARDWIRE regression.

23 years agoMissing GDBARCH updates for EXTRA_STACK_ALIGNMENT needed.
Andrew Cagney [Fri, 4 Aug 2000 04:00:44 +0000 (04:00 +0000)]
Missing GDBARCH updates for EXTRA_STACK_ALIGNMENT needed.

23 years agoMulti-arch EXTRA_STACK_ALIGNMENT_NEEDED (nee NO_EXTRA_ALIGNMENT_NEEDED).
Andrew Cagney [Fri, 4 Aug 2000 03:17:57 +0000 (03:17 +0000)]
Multi-arch EXTRA_STACK_ALIGNMENT_NEEDED (nee NO_EXTRA_ALIGNMENT_NEEDED).

23 years ago2000-08-04 Ben Elliston <bje@redhat.com>
Ben Elliston [Fri, 4 Aug 2000 02:21:43 +0000 (02:21 +0000)]
2000-08-04  Ben Elliston  <bje@redhat.com>

* cgen-dis.in, cgen-asm.in, cgen-ibld.in: New files.
* cgen.sh: Likewise.

23 years agoIf the destination of a BLX instruction is aligned on a half word boundary,
Nick Clifton [Fri, 4 Aug 2000 00:07:42 +0000 (00:07 +0000)]
If the destination of a BLX instruction is aligned on a half word boundary,
set the H bit.

23 years ago* configure.in (libstdcxx_flags): Don't use `"'.
Alexandre Oliva [Thu, 3 Aug 2000 23:54:09 +0000 (23:54 +0000)]
* configure.in (libstdcxx_flags): Don't use `"'.

23 years agoRestore reverted code. Fix bug in reverted code which was eliminating too
Nick Clifton [Thu, 3 Aug 2000 19:40:29 +0000 (19:40 +0000)]
Restore reverted code.  Fix bug in reverted code which was eliminating too
many segments.

23 years ago* config-ml.in: Adjust multilib search paths to the
Alexandre Oliva [Thu, 3 Aug 2000 19:20:16 +0000 (19:20 +0000)]
* config-ml.in: Adjust multilib search paths to the
appropriate multilib tree.

23 years agoStephane Carrez maintainer of 68hc11 target
Stephane Carrez [Thu, 3 Aug 2000 19:17:27 +0000 (19:17 +0000)]
Stephane Carrez maintainer of 68hc11 target

23 years agoProtoization.
Kevin Buettner [Thu, 3 Aug 2000 18:17:58 +0000 (18:17 +0000)]
Protoization.

23 years ago2000-08-03 H.J. Lu <hjl@gnu.org>
H.J. Lu [Thu, 3 Aug 2000 13:50:35 +0000 (13:50 +0000)]
2000-08-03  H.J. Lu  <hjl@gnu.org>

* section.c: Back out the change made by Nick Clifton
<nickc@cygnus.com> on 2000-07-31. It breaks stripping dynamic
binaries.
* bfd-in2.h: Likewise.
* elf.c: Likewise.

23 years ago* elf32-sh.c (sh_elf_reloc_loop): Warning removal.
Alexandre Oliva [Thu, 3 Aug 2000 09:30:50 +0000 (09:30 +0000)]
* elf32-sh.c (sh_elf_reloc_loop): Warning removal.

23 years agoThu Aug 3 15:02:23 2000 Andrew Cagney <cagney@b1.cygnus.com>
Andrew Cagney [Thu, 3 Aug 2000 08:41:23 +0000 (08:41 +0000)]
Thu Aug  3 15:02:23 2000  Andrew Cagney  <cagney@b1.cygnus.com>

* remote-mips.c (mips_expect, mips_expect_timeout, common_open,
  fputs_readable): Make string pointer arguments constant.

23 years agoMinor tweeks.
Andrew Cagney [Thu, 3 Aug 2000 08:39:21 +0000 (08:39 +0000)]
Minor tweeks.

23 years agoList things for 5.1.
Andrew Cagney [Thu, 3 Aug 2000 05:49:02 +0000 (05:49 +0000)]
List things for 5.1.

23 years agoProtoization.
Kevin Buettner [Thu, 3 Aug 2000 02:48:09 +0000 (02:48 +0000)]
Protoization.

23 years ago* configure.in (CHILL_FOR_TARGET, CXX_FOR_TARGET): Convert blanks to
Alexandre Oliva [Thu, 3 Aug 2000 02:22:11 +0000 (02:22 +0000)]
* configure.in (CHILL_FOR_TARGET, CXX_FOR_TARGET): Convert blanks to
commas in $LANGUAGES.

23 years ago* gdb.hp/gdb.aCC/namespace.exp: Remove. Moved to gdb.c++.
Jimmy Guo [Thu, 3 Aug 2000 00:47:59 +0000 (00:47 +0000)]
* gdb.hp/gdb.aCC/namespace.exp: Remove.  Moved to gdb.c++.
* gdb.hp/gdb.aCC/namespace.cc: Remove. Moved to gdb.c++.

23 years ago* gdbarch.sh: Add print_p field for CALL_DUMMY_BREAKPINT_OFFSET
Jimmy Guo [Wed, 2 Aug 2000 22:18:42 +0000 (22:18 +0000)]
* gdbarch.sh: Add print_p field for CALL_DUMMY_BREAKPINT_OFFSET
to be printed only if CALL_DUMMY_BREAKPOINT_OFFSET_P.

* gdbarch.c: Regenerated.

23 years ago* gdb.base/sizeof.c: include <stdio.h>.
Jimmy Guo [Wed, 2 Aug 2000 22:13:01 +0000 (22:13 +0000)]
* gdb.base/sizeof.c: include <stdio.h>.

23 years ago* gdb.c++/classes.exp: Use gdb_test instead of send_gdb to
Jimmy Guo [Wed, 2 Aug 2000 22:10:10 +0000 (22:10 +0000)]
* gdb.c++/classes.exp: Use gdb_test instead of send_gdb to
'finish', otherwise uncaptured gdb_prompt would potentially
throw remaining test points out of sync.

23 years agoFix memory leaks for IA-64 opcode idescs.
Jim Wilson [Wed, 2 Aug 2000 21:24:54 +0000 (21:24 +0000)]
Fix memory leaks for IA-64 opcode idescs.
gas/
* config/tc-ia64.c (emit_one_bundle): Call ia64_free_opcode
before ia64_find_opcode.
(md_assemble): Likewise.
opcodes/
* ia64-dis.c (print_insn_ia64): Call ia64_free_opcode at end.

24 years ago2000-08-01 Alexandre Oliva <aoliva@redhat.com>
DJ Delorie [Wed, 2 Aug 2000 18:56:20 +0000 (18:56 +0000)]
2000-08-01  Alexandre Oliva  <aoliva@redhat.com>

* configure.in (qCXX_FOR_TARGET): Use echo instead of expr.

2000-07-31  Alexandre Oliva  <aoliva@redhat.com>

* configure.in (qCXX_FOR_TARGET): Quote `&' characters in
CXX_FOR_TARGET for sed.

2000-07-30  Alexandre Oliva  <aoliva@redhat.com>

* configure.in (CC_FOR_TARGET, CHILL_FOR_TARGET, CXX_FOR_TARGET):
Do not override if already set in the environment or in configure.
Don't duplicate $(FLAGS_FOR_TARGET) if it already appears in them.
(FLAGS_FOR_TARGET): Don't use host directories on Canadian crosses.

24 years ago2000-08-02 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
Elena Zannoni [Wed, 2 Aug 2000 14:52:10 +0000 (14:52 +0000)]
2000-08-02  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>

* remote-vx.c (vx_add_symbols): Fix typos.

24 years agoThu Jul 27 17:38:35 2000 Andrew Cagney <cagney@b1.cygnus.com>
Andrew Cagney [Wed, 2 Aug 2000 11:11:47 +0000 (11:11 +0000)]
Thu Jul 27 17:38:35 2000  Andrew Cagney  <cagney@b1.cygnus.com>

        * configure.in (targetfile): Ignore TM_FILE, don't just issue
        warning.
        (tm_h, xm_h, nm_h, GDB_TM_FILE, GDB_XM_FILE, GDB_NM_FILE): Define.
        * acconfig.h (GDB_XM_FILE, GDB_TM_FILE, GDB_NM_FILE): Add.
        * config/nm-empty.h: Delete.
        * defs.h (xm.h, nm.h, tm.h): Only include when GDB_XM_FILE,
        GDB_NM_FILE or GDB_TM_FILE defined.
        * Makefile.in (defs_h): Replace tm.h, xm.h and nm.h with tm_h,
        xm_h and nm_h macro that are defined by configure.
        (tm_h, xm_h, tm_h): New.
        * configure, config.in: Regenerate
        * TODO: Update.

24 years agoMulti-arch REGISTER_SIM_REGNO. Update d10v.
Andrew Cagney [Wed, 2 Aug 2000 11:05:50 +0000 (11:05 +0000)]
Multi-arch REGISTER_SIM_REGNO. Update d10v.

24 years agoUse add_set_auto_boolean_cmd() to implement ``set remote ?-packet''
Andrew Cagney [Wed, 2 Aug 2000 05:40:25 +0000 (05:40 +0000)]
Use add_set_auto_boolean_cmd() to implement ``set remote ?-packet''
command.