OSDN Git Service

pf3gnuchains/pf3gnuchains4x.git
18 years ago * gdb.texinfo (Cygwin Native): Fix typos. Clarify the types of
eliz [Fri, 3 Feb 2006 19:30:21 +0000 (19:30 +0000)]
* gdb.texinfo (Cygwin Native): Fix typos.  Clarify the types of
debugging information produced by the various "set debug..."
options.

18 years ago*** empty log message ***
gdbadmin [Fri, 3 Feb 2006 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

18 years ago* cygwin/version.h: Mention CW_SETUP_WINENV in comment for API minor 153.
cgf [Thu, 2 Feb 2006 23:16:26 +0000 (23:16 +0000)]
* cygwin/version.h: Mention CW_SETUP_WINENV in comment for API minor 153.

18 years agodaily update
amodra [Thu, 2 Feb 2006 23:00:05 +0000 (23:00 +0000)]
daily update

18 years agoUpdo the last change to binutils and ld/testsuite.
hjl [Thu, 2 Feb 2006 22:53:46 +0000 (22:53 +0000)]
Updo the last change to binutils and ld/testsuite.

18 years ago * cygwin.din (updwtmpx): Export.
corinna [Thu, 2 Feb 2006 22:46:35 +0000 (22:46 +0000)]
* cygwin.din (updwtmpx): Export.
* syscalls.cc (updwtmpx): New function.
* include/utmpx.h (updwtmpx): Declare.
* include/cygwin/version.h: Bump API minor number to 153.

18 years agoAdd missing entries.
hjl [Thu, 2 Feb 2006 22:16:02 +0000 (22:16 +0000)]
Add missing entries.

18 years ago* solib-svr4.h (struct link_map_offsets): Remove r_debug_size and
kettenis [Thu, 2 Feb 2006 22:15:01 +0000 (22:15 +0000)]
* solib-svr4.h (struct link_map_offsets): Remove r_debug_size and
r_map_size members.  Add r_version_offset, r_version_size and
r_ldsomap_offset members.
* solib-svr4.c (solib_svr4_r_map): Renamed from
fetch_link_map_member.  Simplify using read_memory_typed_address.
(solib_svr4_r_ldsomap): New function.
(open_symbol_file_object): Use solib_svr_r_map.
(svr4_current_sos): Use solib_svr4_r_map and look for the dynamic
linker by using solib_svr4_r_ldsomap.
(svr4_ilp32_fetch_link_map_offsets)
(svr4_lp64_fetch_link_map_offsets): Adjust for changes to `struct
link_map_offsets'.
* solib-legacy.c (legacy_svr4_fetch_link_map_offsets): Adjust for
changes to `struct link_map_offsets'.
* mipsnbsd-tdep.c (mipsnbsd_ilp32_fetch_link_map_offsets)
(mipsnbsd_lp64_fetch_link_map_offsets): Adjust for changes to
`struct link_map_offsets'.

18 years agobinutils/
hjl [Thu, 2 Feb 2006 22:05:55 +0000 (22:05 +0000)]
binutils/

2006-02-02  H.J. Lu  <hongjiu.lu@intel.com>

* readelf.c (process_program_headers): Undo the change made on
2004-09-22.  Match PT_DYNAMIC segment only with SHT_DYNAMIC
sections.

ld/testsuite/

2006-02-02  H.J. Lu  <hongjiu.lu@intel.com>

* ld-i386/tlsbin.rd: Update for changed segment map.
* ld-i386/tlsnopic.rd: Likewise.
* ld-i386/tlspic.rd: Likewise.
* ld-powerpc/tlsexe.r: Likewise.
* ld-powerpc/tlsexe32.r: Likewise.
* ld-powerpc/tlsexetoc.r: Likewise.
* ld-powerpc/tlsso.r: Likewise.
* ld-powerpc/tlsso32.r: Likewise.
* ld-powerpc/tlstocso.r: Likewise.
* ld-s390/tlsbin.rd: Likewise.
* ld-s390/tlsbin_64.rd: Likewise.
* ld-s390/tlspic.rd: Likewise.
* ld-s390/tlspic_64.rd: Likewise.
* ld-sh/tlsbin-2.d: Likewise.
* ld-sh/tlspic-2.d: Likewise.
* ld-x86-64/tlsbin.rd: Likewise.
* ld-x86-64/tlspic.rd: Likewise.

18 years ago2006-02-02 Paul Brook <paul@codesourcery.com>
pbrook [Thu, 2 Feb 2006 20:19:56 +0000 (20:19 +0000)]
2006-02-02  Paul Brook  <paul@codesourcery.com>

* config/tc-arm.c (do_shift): Remove Thumb-1 constraint.

18 years ago* win/tclWin32Dll.c (_except_checkstackspace_handler): Define with proper
cgf [Thu, 2 Feb 2006 20:02:09 +0000 (20:02 +0000)]
* win/tclWin32Dll.c (_except_checkstackspace_handler): Define with proper
attribute to prevent this static function from being deleted due to aggressive
gcc optimization.
* win/tclWinChan.c (_except_makefilechannel_handler): Ditto.
* win/tclWinFCmd.c (_except_dorenamefile_handler): Ditto.
* configure.in: Make sure that TCL_LIB_SPEC is properly filled out.
* configure: Regenerate.

18 years ago* external.cc (setup_winenv): New function.
cgf [Thu, 2 Feb 2006 19:55:45 +0000 (19:55 +0000)]
* external.cc (setup_winenv): New function.
(cygwin_internal): Implement CW_SETUP_WINENV.
* sys/cygwin.h (cygwin_getinfo_types): Define CW_SETUP_WINENV.

18 years ago2005-02-02 Paul Brook <paul@codesourcery.com>
pbrook [Thu, 2 Feb 2006 13:34:17 +0000 (13:34 +0000)]
2005-02-02  Paul Brook  <paul@codesourcery.com>

gas/
* config/tc-arm.c (T2_OPCODE_MASK, T2_DATA_OP_SHIFT, T2_OPCODE_AND,
T2_OPCODE_BIC, T2_OPCODE_ORR, T2_OPCODE_ORN, T2_OPCODE_EOR,
T2_OPCODE_ADD, T2_OPCODE_ADC, T2_OPCODE_SBC, T2_OPCODE_SUB,
T2_OPCODE_RSB): Define.
(thumb32_negate_data_op): New function.
(md_apply_fix): Use it.
gas/testsuite/
* gas/arm/thumb2_invert.d: New test.
* gas/arm/thumb2_invert.s: New test.

18 years ago2005-02-02 Paul Brook <paul@codesourcery.com>
pbrook [Thu, 2 Feb 2006 13:32:01 +0000 (13:32 +0000)]
2005-02-02  Paul Brook  <paul@codesourcery.com>

gas/
* config/tc-arm.c (T2_OPCODE_MASK, T2_DATA_OP_SHIFT, T2_OPCODE_AND,
T2_OPCODE_BIC, T2_OPCODE_ORR, T2_OPCODE_ORN, T2_OPCODE_EOR,
T2_OPCODE_ADD, T2_OPCODE_ADC, T2_OPCODE_SBC, T2_OPCODE_SUB,
T2_OPCODE_RSB): Define.
(thumb32_negate_data_op): New function.
(md_apply_fix): Use it.
gas/testsuite/
* gas/arm/thumb2_invert.d: New test.
* gas/arm/thumb2_invert.s: New test.

18 years ago * security.cc (is_group_member): Fix comment.
corinna [Thu, 2 Feb 2006 11:35:52 +0000 (11:35 +0000)]
* security.cc (is_group_member): Fix comment.

18 years ago * security.cc (is_group_member): Use local group info type 1. Test
corinna [Thu, 2 Feb 2006 11:22:10 +0000 (11:22 +0000)]
* security.cc (is_group_member): Use local group info type 1.  Test
group for being a global group or a well-known SID before adding it
to the group list.  Add comment.

18 years ago * emul_netbsd.c (emul_netbsd_create): Quote file-name property.
mmitchel [Thu, 2 Feb 2006 06:45:49 +0000 (06:45 +0000)]
* emul_netbsd.c (emul_netbsd_create): Quote file-name property.
* emul_unix.c (emul_unix_create): Likewise.
* tree.c (libiberty.h): Include it.
(tree_quote_property): New function.
* tree.h (tree_quote_property): Declare.

18 years agoMention new cygcheck -p option.
joshuadfranklin [Thu, 2 Feb 2006 04:45:25 +0000 (04:45 +0000)]
Mention new cygcheck -p option.

18 years ago * lib/iphlpapi.def: (NotifyAddrChange@8): Define.
dannysmith [Thu, 2 Feb 2006 04:26:18 +0000 (04:26 +0000)]
* lib/iphlpapi.def: (NotifyAddrChange@8): Define.
Reported by: Daniel Atallah  <datallah at users dot sf dot net>
(NotifyRouteChange@8): Define.

18 years ago * linux-nat.c (struct saved_ptids, threads_to_delete)
drow [Thu, 2 Feb 2006 02:29:29 +0000 (02:29 +0000)]
* linux-nat.c (struct saved_ptids, threads_to_delete)
(record_dead_thread, prune_lwps, find_thread_from_lwp)
(exit_lwp): New.
(linux_nat_resume): Call prune_lwps.
(wait_lwp, linux_nat_wait): Call exit_lwp.

18 years ago * printcmd.c (printf_command): Make format string checking
drow [Thu, 2 Feb 2006 02:26:48 +0000 (02:26 +0000)]
* printcmd.c (printf_command): Make format string checking
stricter.  Add separate cases for long_arg, ptr_arg, and
long_double_arg.
* utils.c (xstrvprintf): Improve the error message issued
for a bad format string.
* Makefile.in (GDB_WARN_CFLAGS_NO_FORMAT, INTERNAL_CFLAGS_BASE):
New variables.
(gnu-v3-abi.o, monitor.o, procfs.o, linux-thread-db.o): Remove
$(NO_WERROR_CFLAGS).
(printcmd.o): Likewise.  Use $(GDB_WARN_CFLAGS_NO_FORMAT) and
enable -Werror.

18 years ago * Makefile.in (remote.o): Update.
drow [Thu, 2 Feb 2006 02:04:27 +0000 (02:04 +0000)]
* Makefile.in (remote.o): Update.
* remote.c (show_packet_config_cmd): Shorten messages.
(remote_set_cmdlist, remote_show_cmdlist): Make file-static.
(show_remote_cmd): Iterate.
(_initialize_remote): Remove remote_set_cmdlist,
remote_show_cmdlist.

18 years ago * armos.c (ARMul_OSHandleSWI): Handle the RedBoot system
drow [Thu, 2 Feb 2006 01:48:16 +0000 (01:48 +0000)]
* armos.c (ARMul_OSHandleSWI): Handle the RedBoot system
call meminfo. Return ENOSYS for unhandled RedBoot syscalls.

18 years ago*** empty log message ***
gdbadmin [Thu, 2 Feb 2006 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***

18 years agogdb/
drow [Wed, 1 Feb 2006 23:14:08 +0000 (23:14 +0000)]
gdb/
* Makefile.in (gdbtypes_h, gdbtypes.o, utils.o): Update.
* defs.h (hashtab_obstack_allocate, dummy_obstack_deallocate): Add
prototypes.
* dwarf2read.c (read_subroutine_type): Use TYPE_ZALLOC.
(hashtab_obstack_allocate, dummy_obstack_deallocate): Moved to...
* utils.c (hashtab_obstack_allocate, dummy_obstack_deallocate):
...here.
* gdbtypes.c: Include "hashtab.h".
(build_gdbtypes): Remove extra prototype.
(struct type_pair, type_pair_hash, type_pair_eq)
(create_copied_types_hash, copy_type_recursive): New.
* gdbtypes.h: Include "hashtab.h".
(TYPE_ZALLOC): New.
(create_copied_types_hash, copy_type_recursive): New prototypes.
* objfiles.c (free_objfile): Call preserve_values.
* symfile.c (reread_symbols): Likewise.
(clear_symtab_users): Remove calls to clear_value_history and
clear_internalvars.
* value.c (clear_value_history, clear_internalvars): Removed.
(preserve_one_value, preserve_values): New functions.
* value.h (clear_value_history, clear_internalvars): Removed.
(preserve_values): New prototype.

* tracepoint.c (_initialize_tracepoint): Do not initialize convenience
variables here.
gdb/doc/
* gdb.texinfo (Files): Remove obsolete bits from the description
of "symbol-file".

18 years agodaily update
amodra [Wed, 1 Feb 2006 23:00:07 +0000 (23:00 +0000)]
daily update

18 years ago * elfxx-sparc.c (_bfd_sparc_elf_relocate_section): Reinstate bypass
ebotcazou [Wed, 1 Feb 2006 22:03:37 +0000 (22:03 +0000)]
* elfxx-sparc.c (_bfd_sparc_elf_relocate_section): Reinstate bypass
for call-to-undefweak reloc overflow.

18 years ago * Makefile.in (OBS): Add version.o.
drow [Wed, 1 Feb 2006 21:37:21 +0000 (21:37 +0000)]
* Makefile.in (OBS): Add version.o.
(STAGESTUFF): Delete.
(version.o): Add dependencies.
(version.c): Replace rule.
(clean): Remove version.c.
* server.c (gdbserver_version): New.
(gdbserver_usage): Use printf.
(main): Handle --version and --help.
* server.h (version, host_name): Add declarations.

18 years ago * deffilep.y (def_image_name): If the image name does not have
dannysmith [Wed, 1 Feb 2006 21:28:29 +0000 (21:28 +0000)]
* deffilep.y (def_image_name): If the image name does not have
a suffix, append the default.
* ld.texinfo: Document NAME, LIBRARY usage in PE-COFF .def files.

18 years ago * autoload.cc (GetTcpTable): Define.
corinna [Wed, 1 Feb 2006 11:10:53 +0000 (11:10 +0000)]
* autoload.cc  (GetTcpTable): Define.
* fhandler_socket.cc (address_in_use): New function to check if
sockaddr_in address is already in use.
(fhandler_socket::bind): Check if address is alreay in use in case of
SO_REUSEADDR, to circumvent WinSock non-standard behaviour.

18 years ago * spawn.cc (dll_suffixes): Add .exe and "no suffix" to the list.
corinna [Wed, 1 Feb 2006 08:44:13 +0000 (08:44 +0000)]
* spawn.cc (dll_suffixes): Add .exe and "no suffix" to the list.

18 years agodaily update
amodra [Wed, 1 Feb 2006 01:09:00 +0000 (01:09 +0000)]
daily update

18 years ago*** empty log message ***
gdbadmin [Wed, 1 Feb 2006 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

18 years ago * ld-sparc/sparc.exp: Do not run 64-bit tests on Solaris 2.5.1
ebotcazou [Tue, 31 Jan 2006 23:49:32 +0000 (23:49 +0000)]
* ld-sparc/sparc.exp: Do not run 64-bit tests on Solaris 2.5.1
and Solaris 2.6.

18 years ago * elfxx-sparc.c (_bfd_sparc_elf_relocate_section): Reinstate bypass
ebotcazou [Tue, 31 Jan 2006 22:42:21 +0000 (22:42 +0000)]
* elfxx-sparc.c (_bfd_sparc_elf_relocate_section): Reinstate bypass
for 32-bit relocs overflow.

18 years ago * NEWS: mention support for forward exports in PE-COFF dll's.
dannysmith [Tue, 31 Jan 2006 22:13:41 +0000 (22:13 +0000)]
* NEWS: mention support for forward exports in PE-COFF dll's.
* ld.texinfo: Expand documentation of EXPORT statements in
PE-COFF .def files.

18 years ago2006-01-31 Filip Navara <navaraf@reactos.com>
dannysmith [Tue, 31 Jan 2006 22:08:14 +0000 (22:08 +0000)]
2006-01-31  Filip Navara  <navaraf@reactos.com>

* deffile.h (struct def_file_export): Add field flag_forward.
* pe-dll.c (process_def_file): Check for forward exports.
(generate_edata): Generate forward export symbols.
(fill_edata): Emit them.

* pe-dll.c (process_def_file): Don't crash on malformed
fastcall symbol names in .def file.

18 years ago * dlfcn.cc (check_path_access): Call find_exec with FE_DLL option.
corinna [Tue, 31 Jan 2006 21:49:39 +0000 (21:49 +0000)]
* dlfcn.cc (check_path_access): Call find_exec with FE_DLL option.
* path.h (enum fe_types): Add FE_DLL value.
* spawn.cc (std_suffixes): Remove.
(exe_suffixes): New suffix_info for executing files.
(dll_suffixes): New suffix_info for searching shared libraries.
(perhaps_suffix): Add opt argument.  Use dll_suffixes if FE_DLL
option is given, exe_suffixes otherwise.
(find_exec): Propagate opt argument to perhaps_suffix.  Drop suffix
check when testing execute permission.
(spawn_guts): Call perhaps_suffix with FE_NADA opt argument.

18 years ago* spawn.cc (av::fixup): Remove unused argument.
cgf [Tue, 31 Jan 2006 21:23:57 +0000 (21:23 +0000)]
* spawn.cc (av::fixup): Remove unused argument.
(spawn_guts): Remove capitalization in debugging.

18 years ago * spawn.cc (find_exec): Only return files with execute permission set
corinna [Tue, 31 Jan 2006 21:09:43 +0000 (21:09 +0000)]
* spawn.cc (find_exec): Only return files with execute permission set
if ntsec is on.  Don't check execute permission of Windows batch files.
(av::fixup): Handle empty files gracefully.  Drop execute permission
test here.
* path.cc (suffix_scan::next): Don't skip any suffix on first run.

18 years ago * config/xtensa-istack.h (TInsn): Remove record_fix and sub_symbol
bwilson [Tue, 31 Jan 2006 19:36:56 +0000 (19:36 +0000)]
* config/xtensa-istack.h (TInsn): Remove record_fix and sub_symbol
fields.
* config/tc-xtensa.h (xtensa_frag_type): Remove slot_sub_symbols field.
* config/tc-xtensa.c (md_apply_fix): Check for unexpected uses of
subtracted symbols.
(relaxation_requirements): Add pfinish_frag argument and use it to
replace setting tinsn->record_fix fields.
(xg_assemble_vliw_tokens): Adjust calls to relaxation_requirements
and vinsn_to_insnbuf.  Remove references to record_fix and
slot_sub_symbols fields.
(xtensa_mark_narrow_branches): Delete unused code.
(is_narrow_branch_guaranteed_in_range): Handle expr that is not just
a symbol.
(convert_frag_immed): Adjust vinsn_to_insnbuf call and do not set
record_fix fields.
(tinsn_immed_from_frag): Remove code for handling slot_sub_symbols.
(vinsn_to_insnbuf): Change use of record_fixup argument, replacing use
of the record_fix field.  Simplify error messages for unexpected
symbolic operands.
(set_expr_symbol_offset_diff): Delete.

18 years ago2006-01-31 Leif Ekblad <leif@rdos.net>
jjohnstn [Tue, 31 Jan 2006 19:33:56 +0000 (19:33 +0000)]
2006-01-31  Leif Ekblad  <leif@rdos.net>

        * configure.host: RDOS support added
        * libc/include/sys/config.h: Ditto.
        * libc/sys/rdos/Makefile.am, libc/sys/rdos/Makefile.in: New files.
        * libc/sys/rdos/aclocal.m4, libc/sys/rdos/chown.c: Ditto.
        * libc/sys/rdos/close.c, libc/sys/rdos/config.h: Ditto.
        * libc/sys/rdos/configure, libc/sys/rdos/configure.in: Ditto.
        * libc/sys/rdos/crt0.S, libc/sys/rdos/execve.c: Ditto.
        * libc/sys/rdos/fork.c, libc/sys/rdos/fstat.c: Ditto.
        * libc/sys/rdos/getenv.c, libc/sys/rdos/getpid.c: Ditto.
        * libc/sys/rdos/gettod.c, libc/sys/rdos/isatty.c: Ditto.
        * libc/sys/rdos/kill.c, libc/sys/rdos/link.c: Ditto.
        * libc/sys/rdos/lseek.c, libc/sys/rdos/open.c: Ditto.
        * libc/sys/rdos/rdos.S, libc/sys/rdos/rdos.h: Ditto.
        * libc/sys/rdos/rdoshelp.c, libc/sys/rdos/read.c: Ditto.
        * libc/sys/rdos/readlink.c, libc/sys/rdos/sbrk.c: Ditto.
        * libc/sys/rdos/stat.c, libc/sys/rdos/symlink.c: Ditto.
        * libc/sys/rdos/times.c, libc/sys/rdos/unlink.c: Ditto.
        * libc/sys/rdos/user.def, libc/sys/rdos/wait.c: Ditto.
        * libc/sys/rdos/write.c: Ditto.

18 years ago2006-01-31 Paul Brook <paul@codesourcery.com>
pbrook [Tue, 31 Jan 2006 16:19:41 +0000 (16:19 +0000)]
2006-01-31  Paul Brook  <paul@codesourcery.com>

gas/
* config/tc-arm.c (arm_reg_parse): Check if reg is non-NULL.
gas/testsuite/
* gas/testsuite/gas/arm/iwmmxt-bad.s: Add check for bad register name.
* gas/testsuite/gas/arm/iwmmxt-bad.l: Ditto.

18 years ago * path.cc (cwdstuff::set): Don't set win32 error, only POSIX errno.
corinna [Tue, 31 Jan 2006 16:10:29 +0000 (16:10 +0000)]
* path.cc (cwdstuff::set): Don't set win32 error, only POSIX errno.

18 years ago * path.cc (cwdstuff::set): When SetCurrentDirectory returns
corinna [Tue, 31 Jan 2006 14:43:37 +0000 (14:43 +0000)]
* path.cc (cwdstuff::set): When SetCurrentDirectory returns
ERROR_INVALID_FUNCTION, bend it over to ERROR_FILE_NOT_FOUND.  Add
comment to explain why.

18 years ago2006-01-31 Paul Brook <paul@codesourcery.com>
pbrook [Tue, 31 Jan 2006 14:11:12 +0000 (14:11 +0000)]
2006-01-31  Paul Brook  <paul@codesourcery.com>
Richard Earnshaw <rearnsha@arm.com>

* gas/config/tc-arm.c: Use arm_feature_set.
(arm_ext_*, arm_arch_full, arm_arch_t2, arm_arch_none,
arm_cext_iwmmxt, arm_cext_xscale, arm_cext_maverick, fpu_fpa_ext_v1,
fpu_fpa_ext_v2, fpu_vfp_ext_v1xd, fpu_vfp_ext_v1, fpu_vfp_ext_v2):
New variables.
(insns): Use them.
(md_atof, opcode_select, opcode_select, md_assemble, md_assemble,
md_begin, arm_parse_extension, arm_parse_cpu, arm_parse_arch,
arm_parse_fpu, arm_parse_float_abi, aeabi_set_public_attributes,
s_arm_cpu, s_arm_arch, s_arm_fpu): Use macros for accessing CPU
feature flags.
(arm_legacy_option_table, arm_option_cpu_value_table): New types.
(arm_opts): Move old cpu/arch options from here...
(arm_legacy_opts): ... to here.
(md_parse_option): Search arm_legacy_opts.
(arm_cpus, arm_archs, arm_extensions, arm_fpus)
(arm_float_abis, arm_eabis): Make const.

* include/opcode/arm.h: Use ARM_CPU_FEATURE.
(ARM_AEXT_*, FPU_ENDIAN_PURE, FPU_VFP_HARD): New.
(arm_feature_set): Change to a structure.
(ARM_CPU_HAS_FEATURE, ARM_MERGE_FEATURE_SETS, ARM_CLEAR_FEATURE,
ARM_FEATURE): New macros.

18 years ago * dir.cc (readdir_worker): Add comment about writing old 32 bit d_ino.
corinna [Tue, 31 Jan 2006 08:56:21 +0000 (08:56 +0000)]
* dir.cc (readdir_worker): Add comment about writing old 32 bit d_ino.
* include/cygwin/version.h: Bump API minor number to 152.
(CYGWIN_VERSION_CHECK_FOR_NEEDS_D_INO): Remove.

18 years ago*** empty log message ***
gdbadmin [Tue, 31 Jan 2006 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***

18 years agodaily update
amodra [Mon, 30 Jan 2006 23:00:40 +0000 (23:00 +0000)]
daily update

18 years ago * fhandler_disk_file.cc (fhandler_disk_file::rewinddir): Simplify
corinna [Mon, 30 Jan 2006 13:44:16 +0000 (13:44 +0000)]
* fhandler_disk_file.cc (fhandler_disk_file::rewinddir): Simplify
conditional.

18 years ago* objcopy.c (copy_object): Catch the case where an attempt is made to add a
nickc [Mon, 30 Jan 2006 13:06:53 +0000 (13:06 +0000)]
* objcopy.c (copy_object): Catch the case where an attempt is made to add a
    section that already exists and produce a more helpful warning message.

18 years agoUpdated Vietnamese translation.
nickc [Mon, 30 Jan 2006 12:20:22 +0000 (12:20 +0000)]
Updated Vietnamese translation.

18 years ago * fhandler_disk_file.cc (d_cachepos): Rename from d_pos to distinct
corinna [Mon, 30 Jan 2006 10:30:58 +0000 (10:30 +0000)]
* fhandler_disk_file.cc (d_cachepos): Rename from d_pos to distinct
clearly from __d_position.  Change throughout.
(fhandler_disk_file::rewinddir): Reset readdir cache on NT.

18 years ago*** empty log message ***
gdbadmin [Mon, 30 Jan 2006 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

18 years agodaily update
amodra [Sun, 29 Jan 2006 23:00:06 +0000 (23:00 +0000)]
daily update

18 years ago* gdb.cp/bool.cc, gdb.cp/bool.exp: New files.
kettenis [Sun, 29 Jan 2006 21:30:17 +0000 (21:30 +0000)]
* gdb.cp/bool.cc, gdb.cp/bool.exp: New files.

18 years ago* amd64-tdep.c (amd64_classify): Handle TYPE_CODE_BOOL.
kettenis [Sun, 29 Jan 2006 21:19:29 +0000 (21:19 +0000)]
* amd64-tdep.c (amd64_classify): Handle TYPE_CODE_BOOL.
Fixes PR tdep/2075.

18 years agomerge from gcc
dj [Sun, 29 Jan 2006 20:07:09 +0000 (20:07 +0000)]
merge from gcc

18 years ago* CYGWIN_LICENSE: Restrict to v2.
cgf [Sun, 29 Jan 2006 18:06:24 +0000 (18:06 +0000)]
* CYGWIN_LICENSE: Restrict to v2.
* COPYING: Add.

18 years agov2 only
cgf [Sun, 29 Jan 2006 18:05:00 +0000 (18:05 +0000)]
v2 only

18 years ago * fhandler_disk_file.cc (readdir_get_ino): Don't follow symlinks.
corinna [Sun, 29 Jan 2006 17:29:35 +0000 (17:29 +0000)]
* fhandler_disk_file.cc (readdir_get_ino): Don't follow symlinks.

18 years ago * fhandler.h (class fhandler_socket): Add saw_reuseaddr status flag.
corinna [Sun, 29 Jan 2006 12:23:43 +0000 (12:23 +0000)]
* fhandler.h (class fhandler_socket): Add saw_reuseaddr status flag.
* fhandler_socket.cc (fhandler_socket::bind): Set socket to
SO_EXCLUSIVEADDRUSE if application didn't explicitely set SO_REUSEADDR
socket option, on systems supporting SO_EXCLUSIVEADDRUSE.
* net.cc (cygwin_setsockopt): Set fhandler's saw_reuseaddr status flag
if SO_REUSEADDR socket option has been successsfully set.
* wincap.h (wincaps::has_exclusiveaddruse): New element.
* wincap.cc: Implement above element throughout.

18 years ago * include/winsock2.h (WINSOCK_API_LINKAGE): Define. Add to
dannysmith [Sun, 29 Jan 2006 00:52:35 +0000 (00:52 +0000)]
* include/winsock2.h (WINSOCK_API_LINKAGE): Define. Add to
prototypes.

18 years ago * include/winnt.h (FORCEINLINE): Define.
dannysmith [Sun, 29 Jan 2006 00:33:20 +0000 (00:33 +0000)]
* include/winnt.h (FORCEINLINE): Define.

18 years ago*** empty log message ***
gdbadmin [Sun, 29 Jan 2006 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***

18 years agodaily update
amodra [Sat, 28 Jan 2006 23:00:06 +0000 (23:00 +0000)]
daily update

18 years ago * fhandler_disk_file.cc (fhandler_disk_file::mkdir): In case or error,
corinna [Sat, 28 Jan 2006 13:59:39 +0000 (13:59 +0000)]
* fhandler_disk_file.cc (fhandler_disk_file::mkdir): In case or error,
check for existance explicitely and set errno to EEXIST.

18 years ago * fhandler_disk_file.cc (DIR_NUM_ENTRIES): New define determining
corinna [Sat, 28 Jan 2006 13:41:21 +0000 (13:41 +0000)]
* fhandler_disk_file.cc (DIR_NUM_ENTRIES): New define determining
minimum number of dir entries which fit into the readdir cache.
(DIR_BUF_SIZE): Define globally as size of readdir cache.
(struct __DIR_cache): New structure used for readdir caching on NT.
(d_dirname): Accessor for struct __DIR_cache, use throughout.
(d_pos): Ditto.
(d_cache): Ditto.
(fhandler_disk_file::opendir): Allocate __d_dirname to contain readdir
cache on NT.
(fhandler_disk_file::readdir): Use buf as pointer into readdir cache.
Implement readdir caching.

18 years ago * include/sys/dirent.h (struct dirent): Revert misguided attempt to
corinna [Sat, 28 Jan 2006 10:34:11 +0000 (10:34 +0000)]
* include/sys/dirent.h (struct dirent): Revert misguided attempt to
rename __d_unused1 to __d_fd.

18 years agoMove cocom to the build requirements.
joshuadfranklin [Sat, 28 Jan 2006 02:12:32 +0000 (02:12 +0000)]
Move cocom to the build requirements.

18 years ago*** empty log message ***
gdbadmin [Sat, 28 Jan 2006 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

18 years agodaily update
amodra [Fri, 27 Jan 2006 23:00:05 +0000 (23:00 +0000)]
daily update

18 years ago * autoload.cc (NtQueryDirectoryFile): Define.
corinna [Fri, 27 Jan 2006 21:50:39 +0000 (21:50 +0000)]
* autoload.cc (NtQueryDirectoryFile): Define.
* dir.cc (__opendir_with_d_ino): Just call opendir.
(opendir): Remove CYGWIN_VERSION_CHECK_FOR_NEEDS_D_INO handling.
(readdir_worker): Only try generating d_ino if it's 0.
Utilize namehash of directories fhandler.  Call readdir_get_ino to
generate d_ino for "..".
(seekdir64): Keep dirent_set_d_ino flag.
* fhandler.h (enum dirent_states): Add dirent_get_d_ino.
(class fhandler_disk_file): Declare new private methods readdir_helper
and readdir_9x.
* fhandler_disk_file.cc (path_conv::hasgood_inode): New method to
evaluate if a filesystem has reliable inode numbers.
(fhandler_base::fstat_by_handle): Accomodate structure member name
change from IndexNumber to FileId.
(fhandler_base::fstat_helper): Call hasgood_inode here.
(fhandler_disk_file::opendir): Call fhaccess only for real files.
Don't append '*' to __d_dirname here, move to readdir_9x.  On NT,
open directory handle here.  Set dirent_get_d_ino and dirent_set_d_ino
flags according to wincap and filesystem.
(fhandler_disk_file::readdir_helper): New method to implement readdir
postprocessing only once.
(readdir_get_ino_by_handle): New static function.
(readdir_get_ino): New function to centralize inode number evaluation
in case inode number hasn't been returned by NtQueryDirectoryFile.
(fhandler_disk_file::readdir): Move old functionality to readdir_9x.
Call readdir_9x when on 9x/Me.  Implement NT specific readdir here.
(fhandler_disk_file::readdir_9x): Move 9x specific readdir here.
(fhandler_disk_file::seekdir): Accomodate new NT readdir method.
(fhandler_disk_file::closedir): Ditto.
(fhandler_cygdrive::fstat): Set d_ino to namehash. Add comment.
(fhandler_cygdrive::opendir): Call get_namehash to prepare later
correct evaluation of d_ino.
(fhandler_cygdrive::readdir): Replace recursion with loop. Evaluate
drive's d_ino by calling readdir_get_ino.
* fhandler_proc.cc (fhandler_proc::readdir): Set dirent_saw_dot and
dirent_saw_dot_dot to avoid seeing . and .. entries twice.
* fhandler_process.cc (fhandler_process::readdir): Ditto.
* fhandler_registry.cc (fhandler_registry::readdir): Ditto.
* ntdll.h (STATUS_INVALID_PARAMETER): New define.
(STATUS_INVALID_LEVEL): New define.
(struct _FILE_INTERNAL_INFORMATION): Rename member IndexNumber to
FileId (as in Nebbitt).
* path.h (path_conv::hasgood_inode): Now implemented in
fhandler_disk_file.cc.
* wincap.h (wincaps::has_fileid_dirinfo): New element.
* wincap.cc: Implement above element throughout.
* winsup.h (readdir_get_ino): Add declaration.
* include/sys/dirent.h (struct dirent): Slightly rename structure
members to accomodate changes.
Remove __USE_EXPENSIVE_CYGWIN_D_INO handling and declaration of
__opendir_with_d_ino.

18 years ago * MAINTAINERS: Use a consistent email address for brobecker.
brobecke [Fri, 27 Jan 2006 21:27:07 +0000 (21:27 +0000)]
    * MAINTAINERS: Use a consistent email address for brobecker.

18 years ago * infcmd.c (post_create_inferior): Fix copy/paste error introduced
brobecke [Fri, 27 Jan 2006 20:05:27 +0000 (20:05 +0000)]
    * infcmd.c (post_create_inferior): Fix copy/paste error introduced
        in the previous change.

18 years agoAdding myself as DLX maintainer
nkavv [Fri, 27 Jan 2006 19:42:35 +0000 (19:42 +0000)]
Adding myself as DLX maintainer

18 years ago* pe-dll.c (pe_dll_generate_implib): Issue "Creating library file:" as
nickc [Fri, 27 Jan 2006 17:18:13 +0000 (17:18 +0000)]
* pe-dll.c (pe_dll_generate_implib): Issue "Creating library file:" as
informational message, not a warning.

18 years ago2006-01-27 H.J. Lu <hongjiu.lu@intel.com>
hjl [Fri, 27 Jan 2006 14:32:04 +0000 (14:32 +0000)]
2006-01-27  H.J. Lu  <hongjiu.lu@intel.com>

PR ld/2218
* ld-pie/pie.exp: New file.
* ld-pie/weakundef.c: Likewise.
* ld-pie/weakundef.out: Likewise.

* lib/ld-lib.exp (run_ld_link_exec_tests): Fix nesting. Support
building PIE and shared library.

18 years ago2006-01-27 Paul Brook <paul@codesourcery.com>
pbrook [Fri, 27 Jan 2006 14:11:42 +0000 (14:11 +0000)]
2006-01-27  Paul Brook  <paul@codesourcery.com>

* elf32-arm.c (elf32_arm_get_symbol_type): Allow STT_TLS thumb
objects.

18 years ago* spawn.cc (spawn_guts): Fix potential handle leak when failing exec.
cgf [Fri, 27 Jan 2006 06:08:05 +0000 (06:08 +0000)]
* spawn.cc (spawn_guts): Fix potential handle leak when failing exec.

18 years ago* exceptions.cc (inside_kernel): Fix to return true if we can't get the name of
cgf [Fri, 27 Jan 2006 06:06:06 +0000 (06:06 +0000)]
* exceptions.cc (inside_kernel): Fix to return true if we can't get the name of
the DLL for the given memory block since we are not in kernel code.

18 years agoAdd top-level README
joshuadfranklin [Fri, 27 Jan 2006 05:37:13 +0000 (05:37 +0000)]
Add top-level README

18 years ago* faq-programming.xml (faq.programming.ipc): Add new FAQ about
joshuadfranklin [Fri, 27 Jan 2006 04:52:16 +0000 (04:52 +0000)]
* faq-programming.xml (faq.programming.ipc): Add new FAQ about
cygserver and its relation to the "Bad system call" error.
* faq-setup.xml (faq.setup.uninstall-all): Mention postgresql.
* overview2.sgml: Update security info on shared memory.

18 years ago*** empty log message ***
gdbadmin [Fri, 27 Jan 2006 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

18 years agodaily update
amodra [Thu, 26 Jan 2006 23:00:07 +0000 (23:00 +0000)]
daily update

18 years ago2006-01-16 Paolo Bonzini <bonzini@gnu.org>
bonzini [Thu, 26 Jan 2006 18:56:01 +0000 (18:56 +0000)]
2006-01-16  Paolo Bonzini  <bonzini@gnu.org>

* configure.in: Set with_gnu_as, with_gnu_ld, with_newlib earlier.
Set md_exec_prefix.  Use ACX_CHECK_INSTALLED_TARGET_TOOL to find
the assembler, linker and binutils.
* configure: Regenerate.

config:
2006-01-16  Paolo Bonzini  <bonzini@gnu.org>

* acx.m4 (NCN_STRICT_CHECK_TARGET_TOOLS): Test $with_build_time_tools.
(ACX_PATH_SEP): New.
(ACX_TOOL_DIRS): Move here from the gcc directory.
(ACX_CHECK_INSTALLED_TARGET_TOOL): New.
(GCC_TARGET_TOOL): Do not use a host tool if we found a target tool
with a complete path in either $with_build_time_tools or $exec_prefix.

18 years ago * fhandler.cc (fhandler_base::open): Fix bug in argument order to
corinna [Thu, 26 Jan 2006 16:58:53 +0000 (16:58 +0000)]
* fhandler.cc (fhandler_base::open): Fix bug in argument order to
InitializeObjectAttributes call.

18 years ago* mips-opc.c: Add I33 masks to these MIPS32R2 instructions: prefx,
davidu [Thu, 26 Jan 2006 15:14:57 +0000 (15:14 +0000)]
* mips-opc.c: Add I33 masks to these MIPS32R2 instructions: prefx,
ceil.l.d, ceil.l.s, cvt.d.l, cvt.l.d, cvt.l.s, cvt.s.l, floor.l.d,
floor.l.s, ldxc1, lwxc1, madd.d, madd.s, msub.d, msub.s, nmadd.d,
nmadd.s, nmsub.d, nmsub.s, recip.d, recip.s, round.l.d, rsqrt.d,
rsqrt.s, sdxc1, swxc1, trunc.l.d, trunc.l.s.

18 years agoAdd new Vietnamese translation
nickc [Thu, 26 Jan 2006 14:43:55 +0000 (14:43 +0000)]
Add new Vietnamese translation

18 years ago* config/tc-xtensa.c (md_apply_fix): Set value to zero for PLT relocs.
bwilson [Thu, 26 Jan 2006 05:21:42 +0000 (05:21 +0000)]
* config/tc-xtensa.c (md_apply_fix): Set value to zero for PLT relocs.

18 years ago* faq-programming.xml (faq.programming.building-cygwin): Add
joshuadfranklin [Thu, 26 Jan 2006 04:39:04 +0000 (04:39 +0000)]
* faq-programming.xml (faq.programming.building-cygwin): Add
list of packages required for building and exact check instructions.
* faq-setup.xml (faq.setup.uninstall-service): New instructions
on uninstalling a cygwin service.
(faq.setup.uninstall-all): Reference new service uninstall FAQ.

18 years ago* fhandler_disk_file.cc (fhandler_disk_file::readdir): Fix test for
cgf [Thu, 26 Jan 2006 02:54:52 +0000 (02:54 +0000)]
* fhandler_disk_file.cc (fhandler_disk_file::readdir): Fix test for
dirent_isroot to use the correct boolean operator.

18 years ago * include/winnt.h (DECLSPEC_SELECTANY): Define.
dannysmith [Thu, 26 Jan 2006 01:55:39 +0000 (01:55 +0000)]
* include/winnt.h (DECLSPEC_SELECTANY): Define.

18 years ago2006-01-25 Filip Navara <xnavara@volny.cz>
dannysmith [Thu, 26 Jan 2006 01:22:07 +0000 (01:22 +0000)]
2006-01-25  Filip Navara  <xnavara@volny.cz>

* include/winnt.h (DECLSPEC_ALIGN): Define.

18 years ago*** empty log message ***
gdbadmin [Thu, 26 Jan 2006 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

18 years agodaily update
amodra [Wed, 25 Jan 2006 23:00:08 +0000 (23:00 +0000)]
daily update

18 years ago2006-01-25 Jim Blandy <jimb@redhat.com>
jimb [Wed, 25 Jan 2006 21:15:42 +0000 (21:15 +0000)]
2006-01-25  Jim Blandy  <jimb@redhat.com>

* gdbint.texinfo (Testsuite): Explain how to run selected tests.

18 years ago2006-01-24 Jim Blandy <jimb@redhat.com>
jimb [Wed, 25 Jan 2006 18:48:57 +0000 (18:48 +0000)]
2006-01-24  Jim Blandy  <jimb@redhat.com>

* gdbint.texinfo (Frames): Document the basics of GDB's register
unwinding model, and explain the existence of the "sentinel" frame.

18 years ago * words.h (natural32): Define as "int".
mmitchel [Wed, 25 Jan 2006 17:29:44 +0000 (17:29 +0000)]
* words.h (natural32): Define as "int".

18 years ago * faq-setup.xml (faq.setup.snapshots): Rename DLL using Windows tools.
corinna [Wed, 25 Jan 2006 10:57:19 +0000 (10:57 +0000)]
* faq-setup.xml (faq.setup.snapshots): Rename DLL using Windows tools.