OSDN Git Service

pf3gnuchains/sourceware.git
22 years ago* Makefile.in (ALLDEPFILES): Add sparc64nbsd-nat.c,
thorpej [Fri, 31 May 2002 00:59:13 +0000 (00:59 +0000)]
* Makefile.in (ALLDEPFILES): Add sparc64nbsd-nat.c,
sparcnbsd-nat.c, and sparcnbsd-tdep.c.
(sparc64nbsd-nat.o)
(sparcnbsd-nat.o)
(sparcnbsd-tdep.o): New dependency lists.
* NEWS: Note new UltraSPARC NetBSD native configuration.
* configure.host (sparc64-*-netbsd*): New host.
* configure.tgt (sparc-*-netbsdelf*)
(sparc-*-netbsd*): Set gdb_target to nbsd.
(sparc64-*-netbsd*): New target.
* sparc64nbsd-nat.c: New file.
* sparcnbsd-nat.c: New file.
* sparcnbsd-tdep.c: New file.
* sparcnbsd-tdep.h: New file.
* config/sparc/nbsd.mt: New file.
* config/sparc/nbsd64.mh: New file.
* config/sparc/nbsd64.mt: New file.
* config/sparc/nbsdaout.mh (NATDEPFILES): Remove corelow.o,
sparc-nat.o, and solib.o.  Add sparcnbsd-nat.o.
(HOST_IPC): Remove.
* config/sparc/nbsdaout.mt: Remove.
* config/sparc/nbsdelf.mh (NATDEPFILES): Remove corelow.o,
sparc-nat.o, and solib.o.  Add sparcnbsd-nat.o.
(HOST_IPC): Remove.
* config/sparc/nbsdelf.mt: Remove.
* config/sparc/nm-nbsd.h: Update copyright years.  Remove all
sparc-nat.c compatiblity defines.
* config/sparc/tm-nbsd.h: Update copyright years.  Include solib.h.
(GDB_MULTI_ARCH): Set to GDB_MULTI_ARCH_PARTIAL.
* config/sparc/tm-nbsd64.h: New file.
* config/sparc/tm-nbsdaout.h: Remove.
* config/sparc/xm-nbsd.h: Remove.

22 years ago* Makefile.in (sparc-tdep.o): Add osabi.h to dependency list.
thorpej [Fri, 31 May 2002 00:19:43 +0000 (00:19 +0000)]
* Makefile.in (sparc-tdep.o): Add osabi.h to dependency list.
* sparc-tdep.c: Include osabi.h.
(gdbarch_tdep): Add osabi member.
(_initialize_sparc_tdep): Use gdbarch_register.
(sparc_gdbarch_init): Use generic OS ABI framework.
(sparc_dump_tdep): New function.

22 years ago* fhandler_disk_file.cc (fhandler_disk_file::fstat): Always call fstat_by_name
cgf [Fri, 31 May 2002 00:15:21 +0000 (00:15 +0000)]
* fhandler_disk_file.cc (fhandler_disk_file::fstat): Always call fstat_by_name
if fd is not opened to allow fstat_by_name to properly set errno.
* fhandler.cc (binmode): Default to binmode when mode is not known.

22 years ago*** empty log message ***
gdbadmin [Fri, 31 May 2002 00:00:06 +0000 (00:00 +0000)]
*** empty log message ***

22 years agodaily update
amodra [Fri, 31 May 2002 00:00:06 +0000 (00:00 +0000)]
daily update

22 years ago * config/tc-mips.c (OPTION_NO_M7000_HILO_FIX): Rename to
ths [Thu, 30 May 2002 23:38:15 +0000 (23:38 +0000)]
* config/tc-mips.c (OPTION_NO_M7000_HILO_FIX): Rename to
OPTION_MNO_7000_HILO_FIX. Add alternate "mno-fix7000"
command line switch conforming to gcc conventions.
* doc/c-mips.texi: Document -mno-fix7000 instead of no-mfix-7000.

22 years ago * config/tc-mips.c (macro_build_jalr): New Function.
ths [Thu, 30 May 2002 23:32:44 +0000 (23:32 +0000)]
* config/tc-mips.c (macro_build_jalr): New Function.
(md_begin): NewABI uses big GOTs.
(macro_build): Recognize BFD_RELOC_MIPS_GOT_DISP,
BFD_RELOC_MIPS_GOT_PAGE, BFD_RELOC_MIPS_GOT_OFST as valid.
(load_address): Add some NewABI PIC support.
(macro): Likewise.
(md_apply_fix): Special handling for BFD_RELOC_MIPS_JALR.
(tc_gen_reloc): Don't encode NewABI vtables in REL relocations.

22 years agoMake safe_read_memory_integer() return non-zero result when successful.
kevinb [Thu, 30 May 2002 22:41:24 +0000 (22:41 +0000)]
Make safe_read_memory_integer() return non-zero result when successful.

22 years ago * doc/c-alpha.texi: Add docs for tls relocations.
rth [Thu, 30 May 2002 22:34:40 +0000 (22:34 +0000)]
    * doc/c-alpha.texi: Add docs for tls relocations.

22 years ago * config/tc-mips.c (load_address): Use mips_gp_register instead
ths [Thu, 30 May 2002 22:29:18 +0000 (22:29 +0000)]
* config/tc-mips.c (load_address): Use mips_gp_register instead
of hardcoded value. Remove dbl parameter, use HAVE_32BIT_ADDRESSES
instead.
(macro): Use mips_gp_register instead of hardcoded value.

22 years agoinclude/elf/
rth [Thu, 30 May 2002 22:01:27 +0000 (22:01 +0000)]
include/elf/
        * alpha.h (R_ALPHA_TLSGD, R_ALPHA_TLSLDM, R_ALPHA_DTPMOD64,
        R_ALPHA_GOTDTPREL, R_ALPHA_DTPREL64, R_ALPHA_DTPRELHI,
        R_ALPHA_DTPRELLO, R_ALPHA_DTPREL16, R_ALPHA_GOTTPREL, R_ALPHA_TPREL64,
        R_ALPHA_TPRELHI, R_ALPHA_TPRELLO, R_ALPHA_TPREL16): New.

bfd/
        * elf64-alpha.c (ALPHA_ELF_LINK_HASH_LU_TLSGD,
        ALPHA_ELF_LINK_HASH_LU_TLSLDM, ALPHA_ELF_LINK_HASH_LU_FUNC): New.
        (ALPHA_ELF_GOT_ENTRY_RELOCS_DONE): Remove.
        (ALPHA_ELF_GOT_ENTRY_RELOCS_XLATED): Remove.
        (struct alpha_elf_got_entry): Add reloc_type, reloc_done, reloc_xlated.
        (struct alpha_elf_obj_tdata): Rename total_got_entries and
        n_local_got_entries to total_got_size and local_got_size.
        (elf64_alpha_howto, elf64_alpha_reloc_map): Update for TLS relocs.
        (alpha_got_entry_size): New.
        (elf64_alpha_relax_with_lituse): Use it.
        (elf64_alpha_relax_without_lituse): Likewise.
        (MAX_GOT_SIZE): Rename from MAX_GOT_ENTRIES.
        (get_got_entry): New.
        (elf64_alpha_check_relocs): Handle TLS relocs.  Reorganize.
        (elf64_alpha_adjust_dynamic_symbol): Test LU_FUNC as a mask.
        (elf64_alpha_merge_ind_symbols): Check gotent->reloc_type.
        (elf64_alpha_can_merge_gots, elf64_alpha_merge_gots): Likewise.
        (elf64_alpha_calc_got_offsets_for_symbol): Use alpha_got_entry_size.
        (elf64_alpha_calc_got_offsets): Likewise.
        (alpha_dynamic_entries_for_reloc): New.
        (elf64_alpha_calc_dynrel_sizes): Use it.
        (elf64_alpha_size_dynamic_sections): Likewise.
        (elf64_alpha_relocate_section): Handle TLS relocations.
        * reloc.c: Add Alpha TLS relocations.
        * bfd-in2.h, libbfd.h: Rebuild.

gas/
        * expr.h (operatorT): Add O_md17..O_md32.
        * config/tc-alpha.c (O_lituse_tlsgd, O_lituse_tlsldm, O_tlsgd,
        O_tlsldm, O_gotdtprel, O_dtprelhi, O_dtprello, O_dtprel, O_gottprel,
        O_tprelhi, O_tprello, O_tprel): New.
        (USER_RELOC_P, alpha_reloc_op_tag, debug_exp): Include them.
        (DUMMY_RELOC_LITUSE_TLSGD, DUMMY_RELOC_LITUSE_TLSLDM): New.
        (LITUSE_TLSGD, LITUSE_TLSLDM): New.
        (struct alpha_reloc_tag): Add master, saw_tlsgd, saw_tlsld,
        saw_lu_tlsgd, saw_lu_tlsldm.  Make multi_section_p a bit field.
        (md_apply_fix3): Handle TLS relocations.
        (alpha_force_relocation, alpha_fix_adjustable): Likewise.
        (alpha_adjust_symtab_relocs): Sort LITERAL relocs after the
        associated TLS reloc.  Check lituse_tls relocs match up.
        (emit_insn): Handle TLS relocations.
        (ldX_op): Remove.

gas/testsuite/
        * gas/alpha/elf-tls-1.s, gas/alpha/elf-tls-1.d: New.
        * gas/alpha/elf-tls-2.s, gas/alpha/elf-tls-1.l: New.
        * gas/alpha/elf-tls-3.s, gas/alpha/elf-tls-1.l: New.
        * gas/alpha/alpha.exp: Run them.

22 years ago * ld-bootstrap/bootstrap.exp: Test --relax.
rth [Thu, 30 May 2002 21:39:41 +0000 (21:39 +0000)]
    * ld-bootstrap/bootstrap.exp: Test --relax.

22 years ago * config/tc-mips.c (mips_gprel_offset): New variable.
ths [Thu, 30 May 2002 21:06:11 +0000 (21:06 +0000)]
* config/tc-mips.c (mips_gprel_offset): New variable.
(s_gpvalue): Use it.

22 years ago2002-05-30 Jeff Johnston <jjohnstn@redhat.com>
jjohnstn [Thu, 30 May 2002 20:50:56 +0000 (20:50 +0000)]
2002-05-30  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/sys/linux/Makefile.am: Add support for new files.
        * libc/sys/linux/Makefile.in: Regenerated.
        * libc/sys/linux/ids.c: Add __getuid weak alias for getuid.
        * libc/sys/linux/signal.c: Change to use real-time syscalls for
        sigsuspend, sigprocmask, and sigpending.  Also remove sigaction as
        it is in a separate file now.
        * libc/sys/linux/machine/i386/Makefile.am
        * libc/sys/linux/machine/i386/Makefile.in
        * libc/sys/linux/sys/signal.h: Add include of <bits/signum.h>.
        * libc/sys/linux/sigaction.c: New file.
        * libc/sys/linux/sigqueue.c: Ditto.
        * libc/sys/linux/sigwait.c: Ditto.
        * libc/sys/linux/machine/i386/sigaction.c: Ditto.
        * libc/sys/linux/kernel_sigaction.h: Ditto.

22 years ago* mkpasswd.cc (main): Don't reset to binmode if stdout is a terminal.
cgf [Thu, 30 May 2002 19:35:51 +0000 (19:35 +0000)]
* mkpasswd.cc (main): Don't reset to binmode if stdout is a terminal.

22 years ago2002-05-30 Michael Chastain <mec@shout.net>
chastain [Thu, 30 May 2002 19:09:44 +0000 (19:09 +0000)]
2002-05-30  Michael Chastain  <mec@shout.net>
From Benjamin Kosnik  <bkoz@redhat.com>

* gdb.c++/m-static.cc: New file.
* gdb.c++/m-static.exp: New file.

22 years agod10v fixes.
trix [Thu, 30 May 2002 16:16:26 +0000 (16:16 +0000)]
d10v fixes.

22 years agoSome d10v gas tests.
trix [Thu, 30 May 2002 16:12:16 +0000 (16:12 +0000)]
Some d10v gas tests.

22 years ago2002-05-30 Frank Ch. Eigler <fche@redhat.com>
fche [Thu, 30 May 2002 15:28:43 +0000 (15:28 +0000)]
2002-05-30  Frank Ch. Eigler  <fche@redhat.com>

* m32r.cxx (syscall_trap): Pass exit rc to cfgroot.

22 years agoFix for invalid conflict warning.
trix [Thu, 30 May 2002 15:25:37 +0000 (15:25 +0000)]
Fix for invalid conflict warning.

22 years ago2002-05-30 Frank Ch. Eigler <fche@redhat.com>
fche [Thu, 30 May 2002 15:23:58 +0000 (15:23 +0000)]
2002-05-30  Frank Ch. Eigler  <fche@redhat.com>

* compConfig.cxx (stop): Store incoming code in new "stop-code"
attribute.
* sid-control-cfgroot.xml: Document this.
* sid-control-cfgroot.txt: Regenerated.

22 years ago* lf.c (lf_print__gnu_copyleft): Convert multiline strings to
dj [Thu, 30 May 2002 15:07:06 +0000 (15:07 +0000)]
* lf.c (lf_print__gnu_copyleft): Convert multiline strings to
compatible format.
* gen-idecode.c (print_run_until_stop_body): Likewise.
* gen-model.c (gen_model_c): Likewise.

22 years agoRemove double printed import table lines; add Bound-To comment.
nickc [Thu, 30 May 2002 11:06:08 +0000 (11:06 +0000)]
Remove double printed import table lines; add Bound-To comment.

22 years ago * include/ntdef.h (ANSI_STRING, PANSI_STRING, OEM_STRING, POEM_STRING):
corinna [Thu, 30 May 2002 08:20:51 +0000 (08:20 +0000)]
* include/ntdef.h (ANSI_STRING, PANSI_STRING, OEM_STRING, POEM_STRING):
Add missing typedefs.

22 years ago * autoload.cc: Replace autoload statments for ZwXXX by NtXXX.
corinna [Thu, 30 May 2002 07:45:28 +0000 (07:45 +0000)]
* autoload.cc: Replace autoload statments for ZwXXX by NtXXX.
Drop ZwQuerySystemInformation since NtQuerySystemInformation was
already available.
* fhandler_proc.cc (format_proc_uptime): Replace call to
ZwQuerySystemInformation by call to NtQuerySystemInformation.
(format_proc_stat): Ditto.
* fhandler_process.cc (format_process_stat): Replace call to
ZwQueryInformationProcess by call to NtQueryInformationProcess.
(get_process_state): Ditto.
(get_mem_values): Ditto.  Replace call to ZwQueryVirtualMemory by
call to NtQueryVirtualMemory.
* ntdll.h: Cleanup.  Drop ZwQuerySystemInformation since
NtQuerySystemInformation was already available.  Replace declarations
of ZwXXX functions by declarations of NtXXX.
* pinfo.cc (winpids::enumNT): Replace call to ZwQuerySystemInformation
by call to NtQuerySystemInformation.

22 years ago* mount.cc (main): Make -b the default.
cgf [Thu, 30 May 2002 03:42:19 +0000 (03:42 +0000)]
* mount.cc (main): Make -b the default.

22 years agospeling fxi
cgf [Thu, 30 May 2002 03:14:04 +0000 (03:14 +0000)]
speling fxi

22 years ago* NEWS: Add entry for VAX ELF support.
thorpej [Thu, 30 May 2002 02:58:03 +0000 (02:58 +0000)]
* NEWS: Add entry for VAX ELF support.

22 years ago* configure.in (vax-*-netbsd*): Don't build gas for this
thorpej [Thu, 30 May 2002 02:47:47 +0000 (02:47 +0000)]
* configure.in (vax-*-netbsd*): Don't build gas for this
platform.

22 years ago2002-05-29 Matt Thomas <matt@3am-software.com>
thorpej [Thu, 30 May 2002 02:40:00 +0000 (02:40 +0000)]
2002-05-29  Matt Thomas  <matt@3am-software.com>
            Jason Thorpe  <thorpej@wasabisystems.com>

* Makefile.am (ALL_EMULATIONS): Add eelf32vax.o and evaxnbsd.o.
(eelf32vax.c)
(evaxnbsd.c): New rules.
* Makefile.in: Regenerate.
* configure.tgt (vax-*-netbsdelf*)
(vax-*-netbsdaout*)
(vax-*-netbsd*): New targets.
* emulparams/elf32vax.sh: New file.
* emulparams/vaxnbsd.sh: New file.

22 years ago2002-05-29 Matt Thomas <matt@3am-software.com>
thorpej [Thu, 30 May 2002 02:14:10 +0000 (02:14 +0000)]
2002-05-29  Matt Thomas  <matt@3am-software.com>

* Makefile.am (BFD32_BACKENDS): Add elf32-vax.lo.
(BFD32_BACKENDS_CFILES): Add elf32-vax.c.
(elf32-vax.lo): New rule.
* Makefile.in: Regenerate.
* configure.in (bfd_elf32_vax_vec)
(vaxnetbsd_vec): New vectors.
* configure: Regenerate.
* config.bfd (vax-*-netbsdelf*)
(vax-*-netbsdaout*)
(vax-*-netbsd*): New targets.
* elf32-vax.c: New file.
* reloc.c: Add VAX relocations.
* bfd-in2.h: Regenerate.
* targets.c (_bfd_target_vector): Add bfd_elf32_vax_vec.

22 years ago2002-05-29 Matt Thomas <matt@3am-software.com>
thorpej [Thu, 30 May 2002 01:43:48 +0000 (01:43 +0000)]
2002-05-29  Matt Thomas  <matt@3am-software.com>

* vax.h: New file

22 years agoFix typo in previous entry.
thorpej [Thu, 30 May 2002 01:31:03 +0000 (01:31 +0000)]
Fix typo in previous entry.

22 years ago* Makefile.in (ppc_tdep_h): Define.
thorpej [Thu, 30 May 2002 01:21:51 +0000 (01:21 +0000)]
* Makefile.in (ppc_tdep_h): Define.
(ppc-linux-nat.o)
(ppc-linux-tdep.o)
(rs6000-tdep.o): Use $(ppc_tdep_h).
(ppc-sysv-tdep.o)
(ppcnbsd-nat.o)
(ppcnbsd-tdep.o): New dependency lists.
* ppc-tdep.h: Use generic OS ABI framework.
* ppc-linux-tdep.c (_initialize_ppc_linux_tdep,
ppc_linux_init_abi): New functions.
(ppc_sysv_abi_broken_use_struct_convention)
(ppc_sysv_abi_use_struct_convention)
(ppc_sysv_abi_push_arguments): Move to...
* ppc-sysv-tdep.c: ...here.
* ppcnbsd-nat.c: Don't include gdbcore.h and regcache.h.
* rs6000-tdep.c (process_note_abi_tag_sections)
(get_elfosabi): Remove.
(rs6000_gdbarch_init): Use generic OS ABI framework.
(rs6000_dump_tdep): New function.
(_initialize_rs6000_tdep): Use gdbarch_register.
* config/powerpc/linux.mt (TDEPFILES): Add ppc-sysv-tdep.o.
* config/powerpc/nbsd.mh (NATDEPFILES): Remove solib-legacy.o.
* config/powerpc/aix.mt (TDEPFILES): Use ppc-sysv-tdep.o instead
of ppc-linux-tdep.o.
* config/powerpc/nbsd.mt (TDEPFILES): Likewise.
* config/powerpc/ppc-eabi.mt (TDEPFILES): Likewise.
* config/powerpc/ppc-sim.mt (TDEPFILES): Likewise.
* config/powerpc/ppcle-eabi.mt (TDEPFILES): Likewise.
* config/powerpc/ppcle-sim.mt (TDEPFILES): Likewise.
* config/powerpc/vxworks.mt (TDEPFILES): Likewise.

22 years ago * MAINTAINERS: Add self as M68k maintainer.
bje [Thu, 30 May 2002 01:14:21 +0000 (01:14 +0000)]
* MAINTAINERS: Add self as M68k maintainer.

22 years ago* macroscope.c (default_macro_scope): Put `void' in empty argument
jimb [Thu, 30 May 2002 00:02:03 +0000 (00:02 +0000)]
* macroscope.c (default_macro_scope): Put `void' in empty argument
list.

22 years ago*** empty log message ***
gdbadmin [Thu, 30 May 2002 00:00:05 +0000 (00:00 +0000)]
*** empty log message ***

22 years ago* config.bfd (arm-*-netbsd*): Add bfd_elf32_littlearm_vec
thorpej [Wed, 29 May 2002 21:10:16 +0000 (21:10 +0000)]
* config.bfd (arm-*-netbsd*): Add bfd_elf32_littlearm_vec
and bfd_elf32_bigarm_vec to targ_selvecs.

22 years ago* include/sys/cygwin.h (EXTERNAL_PINFO_VERSION): Reinstate.
cgf [Wed, 29 May 2002 21:00:51 +0000 (21:00 +0000)]
* include/sys/cygwin.h (EXTERNAL_PINFO_VERSION): Reinstate.
* external.cc (fillout_pinfo): Use it.

22 years ago * ps.cc (main): Use uid or uid32 member of struct external_pinfo
corinna [Wed, 29 May 2002 20:10:27 +0000 (20:10 +0000)]
* ps.cc (main): Use uid or uid32 member of struct external_pinfo
dependent of the value of the struct's version member.

22 years ago * external.cc (fillout_pinfo): Use new version define.
corinna [Wed, 29 May 2002 20:07:49 +0000 (20:07 +0000)]
* external.cc (fillout_pinfo): Use new version define.
* include/sys/cygwin.h (external_pinfo): Define
EXTERNAL_PINFO_VERSION_16_BIT and EXTERNAL_PINFO_VERSION_32_BIT
instead of just EXTERNAL_PINFO_VERSION.

22 years ago* peXXigen.c (pe_print_idata): Fix seg faults on printing import tables with
cgf [Wed, 29 May 2002 20:06:25 +0000 (20:06 +0000)]
* peXXigen.c (pe_print_idata): Fix seg faults on printing import tables with
auto-imported symbols.

22 years agoSet the FSR and FAR registers if a Data Abort is detected.
nickc [Wed, 29 May 2002 19:01:36 +0000 (19:01 +0000)]
Set the FSR and FAR registers if a Data Abort is detected.

22 years ago* external.cc (fillout_pinfo): Set new version field in external_pinfo
cgf [Wed, 29 May 2002 17:12:05 +0000 (17:12 +0000)]
* external.cc (fillout_pinfo): Set new version field in external_pinfo
structure.
* include/sys/cygwin.h (external_pinfo): Replace strace_file with version
field.

22 years ago* Makefile.in (arch-utils.o): Add $(sim_regno_h).
cagney [Wed, 29 May 2002 16:39:50 +0000 (16:39 +0000)]
* Makefile.in (arch-utils.o): Add $(sim_regno_h).
* arch-utils.c: Include "sim-regno.h".
* gdbarch.sh: Don't include "sim-regno.h".
* gdbarch.h, gdbarch.c: Regenerate.
* sim-regno.h (legacy_register_sim_regno): Move declaration from
here.
* arch-utils.h (legacy_register_sim_regno): To here.
* remote-sim.c (legacy_register_sim_regno): Move function from
here.
* arch-utils.c (legacy_register_sim_regno): To here.

22 years agoFix genreation of arm <->thumb glue stubs by ensuring that they are in the last secti...
nickc [Wed, 29 May 2002 16:02:54 +0000 (16:02 +0000)]
Fix genreation of arm <->thumb glue stubs by ensuring that they are in the last section linked.

22 years ago * ps.cc (main): Change print format for uid to unsigned. Use uid32
corinna [Wed, 29 May 2002 15:07:14 +0000 (15:07 +0000)]
* ps.cc (main): Change print format for uid to unsigned.  Use uid32
member of struct external_pinfo instead of uid.

22 years ago Change internal uid datatype from __uid16_t to __uid32_t
corinna [Wed, 29 May 2002 15:04:26 +0000 (15:04 +0000)]
Change internal uid datatype from __uid16_t to __uid32_t
throughout.
* cygwin.din: Export new symbols getpwuid32, getpwuid_r32, getuid32,
geteuid32, setuid32, seteuid32.
* passwd.cc (getpwuid32): New function.
(getpwuid_r32): Ditto.
* syscalls.cc (seteuid32): Ditto.
(setuid32): Ditto.
* uinfo.cc (getuid32): Ditto.
(geteuid32): Ditto.
* winsup.h (uid16touid32): New macro, correclt casting from __uid16_t
to __uid32_t.
(gid16togid32): Ditto fir gids.
(getuid32): Declare.
(geteuid32): Ditto.
(getpwuid32): Ditto.
* include/sys/cygwin.h (struct external_pinfo): Add members uid32 and
gid32.

22 years agoMove declaration and initialisation of saw_line and saw_func out of for loop.
nickc [Wed, 29 May 2002 08:46:58 +0000 (08:46 +0000)]
Move declaration and initialisation of saw_line and saw_func out of for loop.
(Actual patch accidentally checked in yesterday!)

22 years ago * include/cygwin/socket.h: Protect some symbols against multiple
corinna [Wed, 29 May 2002 07:38:50 +0000 (07:38 +0000)]
* include/cygwin/socket.h: Protect some symbols against multiple
definition.
* include/netinet/ip.h: Ditto.
* include/netinet/tcp.h: Ditto.

* include/netinet/ip.h: Replace by BSD derived version of the file.
* include/netinet/tcp.h: Ditto.
* include/netinet/udp.h: New file.
* include/cygwin/ip.h: Remove.

22 years ago * passwd.c (prog_name): New global variable.
corinna [Wed, 29 May 2002 07:13:09 +0000 (07:13 +0000)]
* passwd.c (prog_name): New global variable.
(longopts): Ditto.
(opts): Ditto.
(usage): Standardize output. Accomodate new options.
(print_version): New function.
(main): Accomodate longopts and new --help, --version options.

22 years ago* dtable.cc (dtable::init_std_file_from_handle): Attempt stronger detection of
cgf [Wed, 29 May 2002 05:15:43 +0000 (05:15 +0000)]
* dtable.cc (dtable::init_std_file_from_handle): Attempt stronger detection of
invalid handle.
(handle_to_fn): Detect pathological condition where NT resets the buffer
pointer to NULL on an invalid handle.

22 years ago * binutils-all/objcopy.exp (strip_test_with_saving_a_symbol):
amodra [Wed, 29 May 2002 05:00:31 +0000 (05:00 +0000)]
* binutils-all/objcopy.exp (strip_test_with_saving_a_symbol):
Revert 2001-11-15.  Instead allow `D main'.

22 years ago * elf64-ppc.c (ppc64_elf_get_symbol_info): New function.
amodra [Wed, 29 May 2002 05:00:01 +0000 (05:00 +0000)]
* elf64-ppc.c (ppc64_elf_get_symbol_info): New function.
(bfd_elf64_get_symbol_info): Define.
* elfxx-target.h (bfd_elfNN_get_symbol_info): Only define if undef.

22 years agoclarify changelog
cgf [Wed, 29 May 2002 03:42:12 +0000 (03:42 +0000)]
clarify changelog

22 years ago* fhandler_disk_file.cc (fhandler_disk_file::fstat_helper): Properly check for
cgf [Wed, 29 May 2002 03:06:37 +0000 (03:06 +0000)]
* fhandler_disk_file.cc (fhandler_disk_file::fstat_helper): Properly check for
whether we should be opening the file to search for #! characters.  Set
path_conv structure execability, too, if found.

22 years ago2002-05-28 Michael Snyder <msnyder@redhat.com>
msnyder [Wed, 29 May 2002 02:23:20 +0000 (02:23 +0000)]
2002-05-28  Michael Snyder  <msnyder@redhat.com>

* gdb.base/call-ar-st.exp: Allow for reduced floating point
        precision.

22 years ago* sim-regno.h: New file.
cagney [Wed, 29 May 2002 01:51:13 +0000 (01:51 +0000)]
* sim-regno.h: New file.
* Makefile.in (sim_regno_h): Define.
(d10v-tdep.o, remote-sim.o): Add dependency on $(sim_regno_h).
* remote-sim.c: Include "sim-regno.h" and "gdb_assert.h".
(legacy_register_sim_regno): New function.
(one2one_register_sim_regno): New function.
(gdbsim_fetch_register): Rewrite.
(gdbsim_store_register): Only store a register when
REGISTER_SIM_REGNO is valid.
* d10v-tdep.c: Include "sim-regno.h".
(d10v_ts2_register_sim_regno): Add legacy_regiter_sim_regno check.
(d10v_ts3_register_sim_regno): Ditto.
* gdbarch.sh: Include "sim-regno.h".
(REGISTER_SIM_REGNO): Set default to legacy_register_sim_regno.
* gdbarch.h, gdbarch.c: Regenerate.
* arch-utils.h (default_register_sim_regno): Delete declaration.
* arch-utils.c (default_register_sim_regno): Delete function.

22 years ago * cpu-h8300.c: Make default h8300 machine first in machine list.
amodra [Wed, 29 May 2002 00:58:45 +0000 (00:58 +0000)]
* cpu-h8300.c: Make default h8300 machine first in machine list.

22 years ago*** empty log message ***
gdbadmin [Wed, 29 May 2002 00:00:05 +0000 (00:00 +0000)]
*** empty log message ***

22 years agodaily update
amodra [Wed, 29 May 2002 00:00:05 +0000 (00:00 +0000)]
daily update

22 years ago2002-05-28 Jeff Johnston <jjohnstn@redhat.com>
jjohnstn [Tue, 28 May 2002 22:26:31 +0000 (22:26 +0000)]
2002-05-28  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/sys/linux/Makefile.am: Add support for cfspeed.c and
        tcsendbrk.c.
        * libc/sys/linux/Makefile.in: Regenerated.
        * libc/sys/linux/termios.c: Add tcflow(), tcflush(),
        tcgetpgrp(), and tcsetpgrp() functions.
        * libc/sys/linux/sys/termios.h: Add include of machine/termios.h
        to get __MAX_BAUD rate.
        * libc/sys/linux/machine/i386/include/termios.h: New file.
        * libc/include/machine/termios.h: Ditto.
        * libc/sys/linux/cfspeed.c: Ditto.
        * libc/sys/linux/tcsendbrk.c: Ditto.

22 years ago2002-05-28 Marek Michalkiewicz <marekm@amelek.gda.pl>
marekm [Tue, 28 May 2002 20:06:26 +0000 (20:06 +0000)]
2002-05-28  Marek Michalkiewicz  <marekm@amelek.gda.pl>

* configure.in (noconfigdirs): Don't compile libiberty, libstdcxx
and libgcj for AVR.

22 years ago * config/tc-mips.c: Replace GP in comments by $gp.
ths [Tue, 28 May 2002 19:23:08 +0000 (19:23 +0000)]
* config/tc-mips.c: Replace GP in comments by $gp.
(mips_big_got): Initialize.
(mips_trap): Initialize.
(load_address): Use mips_gp_register instead of hardcoded value.
Remove dbl parameter, use HAVE_32BIT_ADDRESSES instead.
(macro): Use mips_gp_register instead of hardcoded value.
(macro2): Change load_address calls.
(md_pcrel_from): Comment formatting.
(s_cpload): Use mips_gp_register instead of hardcoded value.
(s_cprestore): Likewise. Comment formatting.
(s_gpword): Fix data type.
(s_cpadd): Use mips_gp_register instead of hardcoded value.
(nopic_need_relax): Replace GP in comments by $gp.
(mips_elf_final_processing): Better comment.

22 years ago* ppcnbsd-nat.c: Rewrite.
thorpej [Tue, 28 May 2002 18:43:00 +0000 (18:43 +0000)]
* ppcnbsd-nat.c: Rewrite.
* ppcnbsd-tdep.c: New file.
* ppcnbsd-tdep.h: New file.
* config/powerpc/nbsd.mh (NATDEPFILES): Remove corelow.o,
solib.o, and solib-svr4.o.
* config/powerpc/nbsd.mt (TDEPFILES): Add ppcnbsd-tdep.o,
nbsd-tdep.o, and corelow.o.

22 years agoAdd DLX target
nickc [Tue, 28 May 2002 17:56:42 +0000 (17:56 +0000)]
Add DLX target

22 years ago2002-05-28 Elena Zannoni <ezannoni@redhat.com>
ezannoni [Tue, 28 May 2002 15:49:51 +0000 (15:49 +0000)]
2002-05-28  Elena Zannoni  <ezannoni@redhat.com>

* interp.c (sim_create_inferior): Add comment.

From Alan Matsuoka <alanm@redhat.com>:
From 2001-04-27 Jason Eckhardt <jle@cygnus.com>:
* simops.c (OP_4400): Output "mvf0f" instead of "mf0f".
(OP_4401): Output "mvf0t" instead of "mf0t".
(OP_460B): Do not output a flag register.
(OP_4609): Do not output a flag register.

22 years ago* MAINTAINERS (--enable-gdb-build-warnings): Rewrite script to use
cagney [Tue, 28 May 2002 15:16:28 +0000 (15:16 +0000)]
* MAINTAINERS (--enable-gdb-build-warnings): Rewrite script to use
`tr' and `sed'.  Mention that `broken' targets are not expected to
build.

22 years ago * ps.cc (usage): Fix typo.
corinna [Tue, 28 May 2002 14:59:36 +0000 (14:59 +0000)]
* ps.cc (usage): Fix typo.

22 years ago * security.cc (set_security_attribute): Call getegid32() instead of
corinna [Tue, 28 May 2002 14:58:13 +0000 (14:58 +0000)]
* security.cc (set_security_attribute): Call getegid32() instead of
getegid().
* include/cygwin/grp.h: Declare getegid32().

22 years ago * security.cc (set_security_attribute): Call getegid32() instead of
corinna [Tue, 28 May 2002 14:57:35 +0000 (14:57 +0000)]
* security.cc (set_security_attribute): Call getegid32() instead of
getegid().
* include/cygwin/grp.h: Declare getegid32().

22 years agoAdd noew about DLX contribution.
nickc [Tue, 28 May 2002 14:20:41 +0000 (14:20 +0000)]
Add noew about DLX contribution.

22 years ago Change internal gid datatype from __gid16_t to __gid32_t
corinna [Tue, 28 May 2002 14:10:49 +0000 (14:10 +0000)]
Change internal gid datatype from __gid16_t to __gid32_t
throughout.
* cygwin.din: Export new symbols chown32, fchown32, getegid32,
getgid32, getgrgid32, getgrnam32, getgroups32, initgroups32, lchown32,
setgid32, setegid32, getgrent32.
* grp.cc (grp32togrp16): New static function.
(getgrgid32): New function.
(getgrnam32): Ditto.
(getgrent32): Ditto.
(getgroups32): Change name of internal function from getgroups.
(getgroups32): New function.
(initgroups32): Ditto.
* syscalls.cc (chown32): Ditto.
(lchown32): Ditto.
(fchown32): Ditto.
(setegid32): Ditto.
(setgid32): Ditto.
* uinfo.cc (getgid32): Ditto.
(getegid32): Ditto.
* include/cygwin/grp.h: Remove declaration of getgrgid() and getgrnam().
Declare getgrgid32() and getgrnam32() instead.  Declare getgid32().

22 years agoAdd DLX target
nickc [Tue, 28 May 2002 14:07:41 +0000 (14:07 +0000)]
Add DLX target

22 years agoAdd DLX target
nickc [Tue, 28 May 2002 14:07:24 +0000 (14:07 +0000)]
Add DLX target

22 years agoAdd DLX target
nickc [Tue, 28 May 2002 14:05:38 +0000 (14:05 +0000)]
Add DLX target

22 years agoAdd DLX target
nickc [Tue, 28 May 2002 14:05:08 +0000 (14:05 +0000)]
Add DLX target

22 years agoAdd DLX target
nickc [Tue, 28 May 2002 14:04:59 +0000 (14:04 +0000)]
Add DLX target

22 years ago * include/w32api.h: Increment version to 1.5
earnie [Tue, 28 May 2002 13:24:24 +0000 (13:24 +0000)]
* include/w32api.h: Increment version to 1.5
* Makefile.in: Ditto.

22 years agoMerging MinGW changes
earnie [Tue, 28 May 2002 13:20:26 +0000 (13:20 +0000)]
Merging MinGW changes

22 years agoMerging MinGW changes
earnie [Tue, 28 May 2002 13:13:26 +0000 (13:13 +0000)]
Merging MinGW changes

22 years agoMerging MinGW changes
earnie [Tue, 28 May 2002 13:12:46 +0000 (13:12 +0000)]
Merging MinGW changes

22 years ago Remove amd-udi subdirectory - it is obsolete.
nickc [Tue, 28 May 2002 10:29:50 +0000 (10:29 +0000)]
 Remove amd-udi subdirectory - it is obsolete.

22 years ago* ps.cc (prog_name): New global variable.
cgf [Tue, 28 May 2002 03:38:36 +0000 (03:38 +0000)]
* ps.cc (prog_name): New global variable.
(longopts): Ditto.
(opts): Ditto.
(usage): New function.
(print_version): New function.
(main): Accomodate longopts and new --help, --version options.

22 years ago* autoload.cc (noload): Properly mask low order word for determining number of
cgf [Tue, 28 May 2002 02:09:14 +0000 (02:09 +0000)]
* autoload.cc (noload): Properly mask low order word for determining number of
bytes to pop.

22 years ago* fhandler_disk_file.cc (fhandler_disk_file::fstat): Minor logic cleanup.
cgf [Tue, 28 May 2002 02:00:55 +0000 (02:00 +0000)]
* fhandler_disk_file.cc (fhandler_disk_file::fstat): Minor logic cleanup.

22 years ago* autoload.cc (LoadFuncEx): Define via new LoadFuncEx2 macro.
cgf [Tue, 28 May 2002 01:55:39 +0000 (01:55 +0000)]
* autoload.cc (LoadFuncEx): Define via new LoadFuncEx2 macro.
(LoadFuncEx2): Adapted from LoadFuncEx.  Provides control of return value for
nonexistent function.
(NtQueryObject): Declare.
(IsDebuggerPresent): Declare via LoadFuncEx2 and always return true if not
available.
* debug.h (being_debugged): Just rely on IsDebuggerPresent return value.
* dtable.cc (handle_to_fn): New function.
(dtable::init_std_file_from_handle): Attempt to derive std handle's name via
handle_to_fn.
(dtable::build_fhandler_from_name): Fill in what we can in path_conv structure
when given a handle and path doesn't exist.
* fhandler.cc (fhandler_base::open): Don't set the file pointer here.  Use
pc->exists () to determine if file exists rather than calling GetFileAttributes
again.
* fhandler.h (fhandler_base::exec_state_isknown): New method.
(fhandler_base::fstat_helper): Add extra arguments to declaration.
(fhandler_base::fstat_by_handle): Declare new method.
(fhandler_base::fstat_by_name): Declare new method.
* fhandler_disk_file (num_entries): Make __stdcall.
(fhandler_base::fstat_by_handle): Define new method.
(fhandler_base::fstat_by_name): Define new method.
(fhandler_base:fstat): Call fstat_by_{handle,name} as appropriate.
(fhandler_disk_file::fstat_helper): Accept extra arguments for filling out stat
structure.  Move handle or name specific stuff to new methods above.
(fhandler_disk_file::open): Use real_path->exists rather than calling
GetFileAttributes again.
* ntdll.h (FILE_NAME_INFORMATION): Define new structure.
(OBJECT_INFORMATION_CLASS): Partially define new enum.
(OBJECT_NAME_INFORMATION): Define new structure.
(NtQueryInformationFile): New declaration.
(NtQueryObject): New declaration.
* path.cc (path_conv::fillin): Define new method.
* path.h (path_conv::fillin): Declare new method.
(path_conv::drive_thpe): Rename from 'get_drive_type'.
(path_conv::volser): Declare new method.
(path_conv::volname): Declare new method.
(path_conv::root_dir): Declare new method.
* syscalls.cc (fstat64): Send real path_conv to fstat as second argument.

22 years ago * ld-cris/libdso-2.d: Tweak for combreloc now default on.
hp [Tue, 28 May 2002 01:44:46 +0000 (01:44 +0000)]
* ld-cris/libdso-2.d: Tweak for combreloc now default on.

22 years agodaily update
amodra [Tue, 28 May 2002 00:26:27 +0000 (00:26 +0000)]
daily update

22 years ago*** empty log message ***
gdbadmin [Tue, 28 May 2002 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

22 years ago2002-05-27 Michael Chastain <mec@shout.net>
chastain [Mon, 27 May 2002 21:46:51 +0000 (21:46 +0000)]
2002-05-27  Michael Chastain  <mec@shout.net>
From Benjamin Kosnik  <bkoz@redhat.com>

* gdb.c++/m-data.cc: New file.
* gdb.c++/m-data.exp: New file.

22 years ago2002-05-27 Ben Elliston <bje@redhat.com>
bje [Mon, 27 May 2002 20:53:24 +0000 (20:53 +0000)]
2002-05-27  Ben Elliston  <bje@redhat.com>

* glue.cxx (bus_prober::label): New member.
(bus_prober ctor): Add a corresponding "label" attribute.
(probing_bus::traceAccess): Output a component label, if given.
* hw-glue-probe-bus.xml: Update documentation.

22 years ago2002-05-27 Michael Chastain <mec@shout.net>
chastain [Mon, 27 May 2002 20:07:25 +0000 (20:07 +0000)]
2002-05-27  Michael Chastain  <mec@shout.net>
From Benjamin Kosnik  <bkoz@redhat.com>

* gdb.c++/try_catch.cc: New file.
* gdb.c++/try_catch.exp: New file.

22 years ago2002-05-27 Michael Chastain <mec@shout.net>
chastain [Mon, 27 May 2002 20:06:55 +0000 (20:06 +0000)]
2002-05-27  Michael Chastain  <mec@shout.net>
From Benjamin Kosnik  <bkoz@redhat.com>

* gdb.c++/try_catch.cc: New file.
* gdb.c++/try_catch.exp: New file.

22 years ago2002-05-27 Michael Chastain <mec@shout.net>
chastain [Mon, 27 May 2002 18:00:14 +0000 (18:00 +0000)]
2002-05-27  Michael Chastain  <mec@shout.net>

* gdb.c++/local.exp: Accept more nested types in output.

22 years ago2002-05-27 Michael Chastain <mec@shout.net>
chastain [Mon, 27 May 2002 17:59:47 +0000 (17:59 +0000)]
2002-05-27  Michael Chastain  <mec@shout.net>

* gdb.c++/local.exp: Accept more nested types in output.

22 years agoInstall new elf_chaos.sc script.
nickc [Mon, 27 May 2002 17:52:54 +0000 (17:52 +0000)]
Install new elf_chaos.sc script.

22 years agoAdd missing semicolon
nickc [Mon, 27 May 2002 16:16:00 +0000 (16:16 +0000)]
Add missing semicolon

22 years agoFix transaltion problems.
nickc [Mon, 27 May 2002 15:46:09 +0000 (15:46 +0000)]
Fix transaltion problems.

22 years agooops - omitted from previous delta
nickc [Mon, 27 May 2002 15:16:25 +0000 (15:16 +0000)]
oops - omitted from previous delta