OSDN Git Service
cagney [Fri, 31 May 2002 01:45:11 +0000 (01:45 +0000)]
Zap more a29k stragglers.
cagney [Fri, 31 May 2002 01:36:16 +0000 (01:36 +0000)]
* gdbint.texinfo (Releasing GDB): Rename ``Obsoleting any code''
to ``Obsoleting code''. Revise.
cgd [Fri, 31 May 2002 01:17:11 +0000 (01:17 +0000)]
[ gas/ChangeLog ]
2002-05-30 Chris G. Demetriou <cgd@broadcom.com>
Ed Satterthwaite <ehs@broadcom.com>
* config/tc-mips.c (mips_set_options): New "ase_mdmx" member.
(mips_opts): Initialize "ase_mdmx" member.
(file_ase_mdmx): New variable.
(CPU_HAS_MDMX): New macro.
(md_begin): Initialize mips_opts.ase_mdmx and file_ase_mdmx
based on command line options and configuration defaults.
(macro_build): Note in comment that use of MDMX in macros is
not currently allowed.
(validate_mips_insn): Add support for the "O", "Q", "X", "Y", and
"Z" MDMX operand types.
(mips_ip): Accept MDMX instructions if mips_opts.ase_mdmx is set,
and add support for the "O", "Q", "X", "Y", and "Z" MDMX operand
types.
(OPTION_MDMX, OPTION_NO_MDMX, md_longopts, md_parse_option):
Add support for "-mdmx" and "-no-mdmx" options.
(OPTION_ELF_BASE): Move to accomodate new options.
(s_mipsset): Support ".set mdmx" and ".set nomdmx".
(mips_elf_final_processing): Set MDMX ASE ELF header flag if
file_ase_mdmx was set.
* doc/as.texinfo: Document -mdmx and -no-mdmx options.
* doc/c-mips.texi: Likewise, and document ".set mdmx" and ".set
nomdmx" directives.
[ gas/testsuite/ChangeLog ]
2002-05-30 Chris G. Demetriou <cgd@broadcom.com>
* gas/mips/mips64-mdmx.s: New file.
* gas/mips/mips64-mdmx.d: Likewise.
* gas/mips/mips.exp: Run new "mips64-mdmx" test.
[ include/opcode/ChangeLog ]
2002-05-30 Chris G. Demetriou <cgd@broadcom.com>
* mips.h (OP_SH_ALN, OP_MASK_ALN, OP_SH_VSEL, OP_MASK_VSEL)
(MDMX_FMTSEL_IMM_QH, MDMX_FMTSEL_IMM_OB, MDMX_FMTSEL_VEC_QH)
(MDMX_FMTSEL_VEC_OB, INSN_READ_MDMX_ACC, INSN_WRITE_MDMX_ACC)
(INSN_MDMX): New constants, for MDMX support.
(opcode character list): Add "O", "Q", "X", "Y", and "Z" for MDMX.
[ opcodes/ChangeLog ]
2002-05-30 Chris G. Demetriou <cgd@broadcom.com>
Ed Satterthwaite <ehs@broadcom.com>
* mips-dis.c (print_insn_arg): Add support for 'O', 'Q', 'X', 'Y',
and 'Z' formats, for MDMX.
(mips_isa_type): Add MDMX instructions to the ISA
bit mask for bfd_mach_mipsisa64.
* mips-opc.c: Add support for MDMX instructions.
(MX): New definition.
* mips-dis.c: Update copyright years to include 2002.
thorpej [Fri, 31 May 2002 01:10:47 +0000 (01:10 +0000)]
* config/djgpp/fnchange.lst: Add ns32knbsd-nat.c, ns32knbsd-tdep.c,
ppcnbsd-nat.c, ppcnbsd-tdep.c, sparcnbsd-nat.c, and sparcnbsd-tdep.c.
trix [Fri, 31 May 2002 01:07:20 +0000 (01:07 +0000)]
Add 16 bit R_RBA.
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.
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.
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.
gdbadmin [Fri, 31 May 2002 00:00:06 +0000 (00:00 +0000)]
*** empty log message ***
amodra [Fri, 31 May 2002 00:00:06 +0000 (00:00 +0000)]
daily update
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.
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.
kevinb [Thu, 30 May 2002 22:41:24 +0000 (22:41 +0000)]
Make safe_read_memory_integer() return non-zero result when successful.
rth [Thu, 30 May 2002 22:34:40 +0000 (22:34 +0000)]
* doc/c-alpha.texi: Add docs for tls relocations.
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.
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.
rth [Thu, 30 May 2002 21:39:41 +0000 (21:39 +0000)]
* ld-bootstrap/bootstrap.exp: Test --relax.
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.
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.
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.
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.
trix [Thu, 30 May 2002 16:16:26 +0000 (16:16 +0000)]
d10v fixes.
trix [Thu, 30 May 2002 16:12:16 +0000 (16:12 +0000)]
Some d10v gas tests.
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.
trix [Thu, 30 May 2002 15:25:37 +0000 (15:25 +0000)]
Fix for invalid conflict warning.
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.
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.
nickc [Thu, 30 May 2002 11:06:08 +0000 (11:06 +0000)]
Remove double printed import table lines; add Bound-To comment.
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.
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.
cgf [Thu, 30 May 2002 03:42:19 +0000 (03:42 +0000)]
* mount.cc (main): Make -b the default.
cgf [Thu, 30 May 2002 03:14:04 +0000 (03:14 +0000)]
speling fxi
thorpej [Thu, 30 May 2002 02:58:03 +0000 (02:58 +0000)]
* NEWS: Add entry for VAX ELF support.
thorpej [Thu, 30 May 2002 02:47:47 +0000 (02:47 +0000)]
* configure.in (vax-*-netbsd*): Don't build gas for this
platform.
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.
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.
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
thorpej [Thu, 30 May 2002 01:31:03 +0000 (01:31 +0000)]
Fix typo in previous entry.
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.
bje [Thu, 30 May 2002 01:14:21 +0000 (01:14 +0000)]
* MAINTAINERS: Add self as M68k maintainer.
jimb [Thu, 30 May 2002 00:02:03 +0000 (00:02 +0000)]
* macroscope.c (default_macro_scope): Put `void' in empty argument
list.
gdbadmin [Thu, 30 May 2002 00:00:05 +0000 (00:00 +0000)]
*** empty log message ***
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.
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.
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.
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.
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.
nickc [Wed, 29 May 2002 19:01:36 +0000 (19:01 +0000)]
Set the FSR and FAR registers if a Data Abort is detected.
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.
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.
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.
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.
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.
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!)
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.
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.
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.
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'.
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.
cgf [Wed, 29 May 2002 03:42:12 +0000 (03:42 +0000)]
clarify changelog
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.
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.
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.
amodra [Wed, 29 May 2002 00:58:45 +0000 (00:58 +0000)]
* cpu-h8300.c: Make default h8300 machine first in machine list.
gdbadmin [Wed, 29 May 2002 00:00:05 +0000 (00:00 +0000)]
*** empty log message ***
amodra [Wed, 29 May 2002 00:00:05 +0000 (00:00 +0000)]
daily update
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.
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.
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.
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.
nickc [Tue, 28 May 2002 17:56:42 +0000 (17:56 +0000)]
Add DLX target
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.
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.
corinna [Tue, 28 May 2002 14:59:36 +0000 (14:59 +0000)]
* ps.cc (usage): Fix typo.
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().
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().
nickc [Tue, 28 May 2002 14:20:41 +0000 (14:20 +0000)]
Add noew about DLX contribution.
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().
nickc [Tue, 28 May 2002 14:07:41 +0000 (14:07 +0000)]
Add DLX target
nickc [Tue, 28 May 2002 14:07:24 +0000 (14:07 +0000)]
Add DLX target
nickc [Tue, 28 May 2002 14:05:38 +0000 (14:05 +0000)]
Add DLX target
nickc [Tue, 28 May 2002 14:05:08 +0000 (14:05 +0000)]
Add DLX target
nickc [Tue, 28 May 2002 14:04:59 +0000 (14:04 +0000)]
Add DLX target
earnie [Tue, 28 May 2002 13:24:24 +0000 (13:24 +0000)]
* include/w32api.h: Increment version to 1.5
* Makefile.in: Ditto.
earnie [Tue, 28 May 2002 13:20:26 +0000 (13:20 +0000)]
Merging MinGW changes
earnie [Tue, 28 May 2002 13:13:26 +0000 (13:13 +0000)]
Merging MinGW changes
earnie [Tue, 28 May 2002 13:12:46 +0000 (13:12 +0000)]
Merging MinGW changes
nickc [Tue, 28 May 2002 10:29:50 +0000 (10:29 +0000)]
Remove amd-udi subdirectory - it is obsolete.
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.
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.
cgf [Tue, 28 May 2002 02:00:55 +0000 (02:00 +0000)]
* fhandler_disk_file.cc (fhandler_disk_file::fstat): Minor logic cleanup.
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.
hp [Tue, 28 May 2002 01:44:46 +0000 (01:44 +0000)]
* ld-cris/libdso-2.d: Tweak for combreloc now default on.
amodra [Tue, 28 May 2002 00:26:27 +0000 (00:26 +0000)]
daily update
gdbadmin [Tue, 28 May 2002 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***
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.
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.
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.
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.
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.