OSDN Git Service

pf3gnuchains/sourceware.git
23 years agoFix file corrupted before initial checkin.
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>
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>
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* config/tc-sh.c (md_apply_fix) [BFD_RELOC_32, BFD_RELOC_16]: Use
aoliva [Tue, 15 Aug 2000 16:04:37 +0000 (16:04 +0000)]
* config/tc-sh.c (md_apply_fix) [BFD_RELOC_32, BFD_RELOC_16]: Use
md_number_to_chars.

23 years ago* configure.in (libstdcxx_flags): Use libstdc++-v3/src/INCLUDES.
aoliva [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
nickc [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 agoAllow "bx pc" in ARM mode.
nickc [Mon, 14 Aug 2000 21:20:02 +0000 (21:20 +0000)]
Allow "bx pc" in ARM mode.

23 years ago * tc-i386.c (md_assemble): Skip suffix check if the opcode modifier
dnovillo [Mon, 14 Aug 2000 21:12:47 +0000 (21:12 +0000)]
* tc-i386.c (md_assemble): Skip suffix check if the opcode modifier
has the IgnoreSize bit set.

23 years agoAdd support for IA-64 specific elf header flags.
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 agoSilently accept -d as an alias for -g for compatability with old BSD systems.
nickc [Mon, 14 Aug 2000 19:47:01 +0000 (19:47 +0000)]
Silently accept -d as an alias for -g for compatability with old BSD systems.

23 years agoSet the debug flag for storage types C_ARG, C_REGPARM, C_FIELD, C_MOS, C_MOE,
nickc [Mon, 14 Aug 2000 19:41:40 +0000 (19:41 +0000)]
Set the debug flag for storage types C_ARG, C_REGPARM, C_FIELD, C_MOS, C_MOE,
C_MOU, and C_EOS.

23 years ago2000-08-14 Jason Eckhardt <jle@cygnus.com>
jle [Mon, 14 Aug 2000 18:50:12 +0000 (18:50 +0000)]
2000-08-14  Jason Eckhardt  <jle@cygnus.com>

        * NEWS: Mention i860 support.

23 years ago2000-08-14 Jimmy Guo <guo@cup.hp.com>
guo [Mon, 14 Aug 2000 18:03:50 +0000 (18:03 +0000)]
2000-08-14  Jimmy Guo  <guo@cup.hp.com>

* runtest.exp: Eliminate from test_top_dirs entries that
        are subdirectories of other entries, to avoid redundant
        testing on *.exp files in these subdirectories.

23 years ago2000-08-14 Jimmy Guo <guo@cup.hp.com>
guo [Mon, 14 Aug 2000 18:00:52 +0000 (18:00 +0000)]
2000-08-14  Jimmy Guo  <guo@cup.hp.com>

* runtest.exp: Reapply part of the backed out change to
runtest.exp -- handle multiple directories in TCL variables
dir_to_run and cmdline_dir_to_run.

23 years ago * config/tc-mn10300.h (DWARF2_LINE_MIN_INSN_LENGTH): Define.
law [Mon, 14 Aug 2000 17:49:55 +0000 (17:49 +0000)]
    * config/tc-mn10300.h (DWARF2_LINE_MIN_INSN_LENGTH): Define.

23 years ago* doc/c-arm.texi (ARM Directives): Fix warnings from makeinfo.
schwab [Mon, 14 Aug 2000 09:02:45 +0000 (09:02 +0000)]
* doc/c-arm.texi (ARM Directives): Fix warnings from makeinfo.

23 years ago* scripttempl/elf.sc: Fix last change to use correct comment
schwab [Mon, 14 Aug 2000 08:59:39 +0000 (08:59 +0000)]
* scripttempl/elf.sc: Fix last change to use correct comment
syntax.

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

23 years ago2000-08-11 Andreas Schwab <schwab@suse.de>
jle [Sat, 12 Aug 2000 16:05:44 +0000 (16:05 +0000)]
2000-08-11  Andreas Schwab  <schwab@suse.de>

        * doc/c-i860.texi (Opcodes for i860): Remove braces from @item
        argument.

23 years ago* mkvers.sh: Properly trap exit removal of temp file. Remove debugging
cgf [Sat, 12 Aug 2000 05:48:51 +0000 (05:48 +0000)]
* mkvers.sh: Properly trap exit removal of temp file.  Remove debugging
statement.

23 years agoCorrect order in include files.
cgf [Sat, 12 Aug 2000 05:47:12 +0000 (05:47 +0000)]
Correct order in include files.

23 years ago* poll.cc: Make winsup.h the first include file, re 2000-08-02 change.
cgf [Sat, 12 Aug 2000 05:39:41 +0000 (05:39 +0000)]
* poll.cc: Make winsup.h the first include file, re 2000-08-02 change.

23 years ago* winsup.h: Split out dtable definitions into separate header file.
cgf [Sat, 12 Aug 2000 05:35:42 +0000 (05:35 +0000)]
* winsup.h: Split out dtable definitions into separate header file.
* dtable.h: New file.
* sigproc.h: Eliminate pinfo.h usage here.  Use it in source files that need
it.

23 years ago* Makefile.in: Use dtable.o rather than hinfo.o.
cgf [Sat, 12 Aug 2000 05:09:27 +0000 (05:09 +0000)]
* Makefile.in: Use dtable.o rather than hinfo.o.

23 years agoRename hinfo -> dtable. Name the former dtable array 'fdtab'.
cgf [Sat, 12 Aug 2000 04:48:44 +0000 (04:48 +0000)]
Rename hinfo -> dtable.  Name the former dtable array 'fdtab'.

23 years agoAdd formatted register info.
cagney [Sat, 12 Aug 2000 03:28:41 +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 [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 ago2000-08-11 Carlo Wood <carlo@alinoe.com>
hjl [Sat, 12 Aug 2000 00:47:47 +0000 (00:47 +0000)]
2000-08-11  Carlo Wood <carlo@alinoe.com>

* addr2line.c (main): Add const to char *.

23 years ago * poll.cc: Allow any descriptor and any number of descriptors.
corinna [Fri, 11 Aug 2000 20:34:24 +0000 (20:34 +0000)]
    * poll.cc: Allow any descriptor and any number of descriptors.
        Allocate fd_set struct sdynamically.

23 years ago* i386-linux-nat.c [! HAVE_PTRACE_GETFPXREGS] (fetch_fpxregs,
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
cagney [Fri, 11 Aug 2000 19:09:54 +0000 (19:09 +0000)]
Restore GET_SAVED_REGISTERS

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

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

* config/obj-bout.c: Fix formatting.

23 years ago* ar.c (main): Don't crash if called with no arguments
geoffk [Fri, 11 Aug 2000 18:26:28 +0000 (18:26 +0000)]
* ar.c (main): Don't crash if called with no arguments
or only '-X32_64' as an argument.

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

* expr.c: Fix formatting.

23 years ago* dcache.c (dcache_info): Don't print cache state if last_cache
jtc [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.
aoliva [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 agoFix premature use of fdtab.
cgf [Fri, 11 Aug 2000 13:49:42 +0000 (13:49 +0000)]
Fix premature use of fdtab.

23 years ago * poll.cc: Add bounds checking for file descriptors. Return POLLNVAL
corinna [Fri, 11 Aug 2000 12:51:46 +0000 (12:51 +0000)]
    * poll.cc: Add bounds checking for file descriptors. Return POLLNVAL
        if fd is invalid. Return POLLERR for each valid fd if cygwin_select
        returned with error.
        include/sys/poll.h: Change POLLERR comment according to above change.

23 years agoEnable multi-arch for the mn10300.
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.
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,
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.
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 [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 ago* syslog.cc (syslog): Use a less malloc-intensive method for allocating the
cgf [Fri, 11 Aug 2000 01:56:05 +0000 (01:56 +0000)]
* syslog.cc (syslog): Use a less malloc-intensive method for allocating the
buffer.  Also fix a buffer overrun.

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

23 years agoRename gdbarch_update() to gdbarch_update_p()
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>
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().
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.
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
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 agoDJ is sole setup maintainer now.
cgf [Thu, 10 Aug 2000 23:51:25 +0000 (23:51 +0000)]
DJ is sole setup maintainer now.

23 years ago* scripttempl/elf.sc: Add a comment giving the correspondence
geoffk [Thu, 10 Aug 2000 23:43:57 +0000 (23:43 +0000)]
* scripttempl/elf.sc: Add a comment giving the correspondence
between sections, per-datum sections, and linkonce sections.  Make
the comment true even for .bss, .sdata, .sdata2, .sbss, and
.sbss2.

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

        * doc/c-i860.texi: Flesh out the i860 section more.

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

* expr.c: Fix formatting.

23 years agoChange comment.
cgf [Thu, 10 Aug 2000 22:24:58 +0000 (22:24 +0000)]
Change comment.

23 years agocomment changes.
cgf [Thu, 10 Aug 2000 22:22:09 +0000 (22:22 +0000)]
comment changes.

23 years agoMinor change.
cgf [Thu, 10 Aug 2000 22:04:38 +0000 (22:04 +0000)]
Minor change.

23 years agoMinor change.
cgf [Thu, 10 Aug 2000 22:02:41 +0000 (22:02 +0000)]
Minor change.

23 years agoMinor change.
cgf [Thu, 10 Aug 2000 21:54:44 +0000 (21:54 +0000)]
Minor change.

23 years ago2000-08-10 Kazu Hirata <kazu@hxi.com>
kazu [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 [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>
jle [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 ago2000-08-10 Jason Eckhardt <jle@cygnus.com>
jle [Thu, 10 Aug 2000 20:40:39 +0000 (20:40 +0000)]
2000-08-10  Jason Eckhardt  <jle@cygnus.com>

        * emulparams/elf32_i860.sh: New file.
        * configure.tgt: Recognize new target i860-stardent-{sysv4*|elf*}.
        * Makefile.am (ALL_EMULATIONS): Add eelf32_i860.o.
        (eelf32_i860.c): New rule.
        * Makefile.in: Regenerate.

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

23 years ago* winsup.h: Change strchr inline for strange gcc problem.
cgf [Thu, 10 Aug 2000 19:33:54 +0000 (19:33 +0000)]
* winsup.h: Change strchr inline for strange gcc problem.
* select.cc (select_stuff::wait): Bounds check w4 array.

23 years ago* dir.cc (readdir): Ensure that errno is *only* set when we've run out of
cgf [Thu, 10 Aug 2000 19:20:11 +0000 (19:20 +0000)]
* dir.cc (readdir): Ensure that errno is *only* set when we've run out of
filenames.
* fhandler.cc (fhandler_disk_file::fstat): Use modern method for saving errno,
making it effective for the whole function.

23 years agoAdd defintion of ENTRY
nickc [Thu, 10 Aug 2000 19:07:26 +0000 (19:07 +0000)]
Add defintion of ENTRY

23 years ago * MAINTAINERS: Added myself with write-after-approval access.
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 Kazu Hirata <kazu@hxi.com>
kazu [Thu, 10 Aug 2000 19:00:07 +0000 (19:00 +0000)]
2000-08-10  Kazu Hirata  <kazu@hxi.com>

* symbols.c: Fix formatting.

23 years ago2000-08-10 Fernando Nasser <fnasser@cygnus.com>
fnasser [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,
jtc [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>
ezannoni [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.
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>
fnasser [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.
fnasser [Thu, 10 Aug 2000 15:59:55 +0000 (15:59 +0000)]
Fix typos.

23 years ago2000-08-10 Fernando Nasser <fnasser@cygnus.com>
fnasser [Thu, 10 Aug 2000 15:55:05 +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.
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.
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
eliz [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
crux [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.
tromey [Thu, 10 Aug 2000 08:42:09 +0000 (08:42 +0000)]
* jv-valprint.c (java_value_print): Only print non-null Strings.

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

23 years agoRecode to clean up function prologues and epilogue and to allow the functions
nickc [Wed, 9 Aug 2000 21:55:54 +0000 (21:55 +0000)]
Recode to clean up function prologues and epilogue and to allow the functions
 to be used in a Thumb based toolchain.

23 years ago2000-08-09 Fernando Nasser <fnasser@cygnus.com>
fnasser [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>
msnyder [Wed, 9 Aug 2000 20:09:00 +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.
aoliva [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 agoUse elf on Unixware 7.
amodra [Wed, 9 Aug 2000 14:40:52 +0000 (14:40 +0000)]
Use elf on Unixware 7.

23 years ago2000-08-08 Jason Eckhardt <jle@cygnus.com>
jle [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:
jle [Wed, 9 Aug 2000 03:33:41 +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 ago* select.cc (allocfd_set): Zero allocated fd_set.
cgf [Wed, 9 Aug 2000 02:33:47 +0000 (02:33 +0000)]
* select.cc (allocfd_set): Zero allocated fd_set.
(cygwin_select): Move fd_set copying logic from ::wait to here.  Use common
return through sell.poll.
(select_stuff::wait): Just return success or failure and let caller fill in
fd_set.
* pinfo.h (pinfo): Eliminate self-referential pointer to sidbuf since pinfo
structure exists at random locations now.
* fork.cc (fork): Use 'use_psid' element to control when the psid is relevant.
* shared.cc (sec_user): Ditto.
* spawn.cc (spawn_guts): Ditto.
* uinfo.cc (internal_getlogin): Ditto.
* syscall.cc (seteuid): Ditto.  Set use_psid element.

23 years agoRefer to -rpath not --rpath in error message
nickc [Wed, 9 Aug 2000 00:51:41 +0000 (00:51 +0000)]
Refer to -rpath not --rpath in error message

23 years ago2000-08-08 Fernando Nasser <fnasser@cygnus.com>
fnasser [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 Kazu Hirata <kazu@hxi.com>
kazu [Tue, 8 Aug 2000 22:18:42 +0000 (22:18 +0000)]
2000-08-08  Kazu Hirata  <kazu@hxi.com>

* gasp.c: Fix formatting.

23 years ago2000-08-08 Fernando Nasser <fnasser@cygnus.com>
fnasser [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 agoDefine __bss_size symbol to indicate the final size of .bss section.
nickc [Tue, 8 Aug 2000 22:04:32 +0000 (22:04 +0000)]
Define __bss_size symbol to indicate the final size of .bss section.

23 years ago2000-08-09 Kazu Hirata <kazu@hxi.com>
kazu [Tue, 8 Aug 2000 21:42:59 +0000 (21:42 +0000)]
2000-08-09  Kazu Hirata  <kazu@hxi.com>

* hash.c: Fix formatting.

23 years agoMake sure the 2 bytes of the jump address are in the same frag.
nickc [Tue, 8 Aug 2000 21:40:33 +0000 (21:40 +0000)]
Make sure the 2 bytes of the jump address are in the same frag.
Accept 68hc12 register indirect modes.

Mention 68HC11 & 68HC12 support in NEWS.

23 years ago* fhandler_serial.cc (tcsendbreak): "sleeptime" argument to usleep()
dj [Tue, 8 Aug 2000 20:46:47 +0000 (20:46 +0000)]
* fhandler_serial.cc (tcsendbreak): "sleeptime" argument to usleep()
must be in units of microseconds, not milliseconds.

23 years ago* include/userenv.h: New header file.
corinna [Tue, 8 Aug 2000 20:00:35 +0000 (20:00 +0000)]
* include/userenv.h: New header file.
* lib/userenv.def: New stub for userenv.dll.