OSDN Git Service

pf3gnuchains/pf3gnuchains4x.git
18 years ago * elf/ia64.h (SHF_IA_64_HP_TLS): New.
sje [Mon, 6 Feb 2006 21:52:48 +0000 (21:52 +0000)]
* elf/ia64.h (SHF_IA_64_HP_TLS): New.

18 years agoFixed ChangeLog entry
ironhead [Mon, 6 Feb 2006 20:29:17 +0000 (20:29 +0000)]
Fixed ChangeLog entry

18 years ago2006-02-06 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
ironhead [Mon, 6 Feb 2006 20:27:01 +0000 (20:27 +0000)]
2006-02-06  Chris Sutcliffe  <ir0nh34d@users.sourceforge.net>

* include/shlobj.h (PRF_VERIFYEXISTS, PRF_TRYPROGRAMEXTENSIONS,
PRF_FIRSTDIRDEF, PRF_DONTFINDLNK): Ditto.
* lib/shell32.def (PathResolve): Define.

18 years ago* include/shlobj.h (PathResolve): Fix typo.
cgf [Mon, 6 Feb 2006 19:59:43 +0000 (19:59 +0000)]
* include/shlobj.h (PathResolve): Fix typo.

18 years agoAlways zero all elements of siginfo_t throughout.
cgf [Mon, 6 Feb 2006 18:24:02 +0000 (18:24 +0000)]
Always zero all elements of siginfo_t throughout.
* cygtls.h (_cygtls::thread_context): Declare new field.
(_cygtls::thread_id): Ditto.
(_cygtls::signal_exit): Move into this class.
(_cygtls::copy_context): Declare new function.
(_cygtls::signal_debugger): Ditto.
* cygtls.cc (_cygtls::init_thread): Fill out thread id field.
* exceptions.cc (exception): Change message when exception info is unknown.
Copy context to thread local storage.
(_cygtls::handle_exceptions): Avoid double test for fault_guarded.  Reflect
move of signal_exit to _cygtls class.
(sigpacket::process): Copy context to thread local storage.
(_cygtls::signal_exit): Move to _cygtls class.  Call signal_debugger to notify
debugger of exiting signal (WIP).  Call stackdump here (WIP).
(_cygtls::copy_context): Define new function.
(_cygtls::signal_debugger): Ditto.
* tlsoffsets.h: Regenerate.
* include/cygwin.h (_fpstate): New internal structure.
(ucontext): Declare new structure (WIP).
(__COPY_CONTEXT_SIZE): New define.
* exceptions.cc (_cygtls::interrupt_setup): Clear "threadkill" field when there
is no sigwaiting thread.
(setup_handler): Move event handling into interrupt_setup.

18 years ago * fhandler_socket.cc (fhandler_socket::connect): Fix formatting.
corinna [Mon, 6 Feb 2006 17:50:23 +0000 (17:50 +0000)]
* fhandler_socket.cc (fhandler_socket::connect): Fix formatting.
(fhandler_socket::wait): Handle SA_RESTART when signal arrives.

18 years ago2006-02-06 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
ironhead [Mon, 6 Feb 2006 16:29:14 +0000 (16:29 +0000)]
2006-02-06  Chris Sutcliffe  <ir0nh34d@users.sourceforge.net>

* include/shlobj.h (PathResolve): Define.

18 years agocheck in missing files.
cgf [Mon, 6 Feb 2006 16:04:32 +0000 (16:04 +0000)]
check in missing files.

18 years ago * include/cygwin/socket.h (CMSG_FIRSTHDR): Avoid compiler warning.
corinna [Mon, 6 Feb 2006 10:01:37 +0000 (10:01 +0000)]
* include/cygwin/socket.h (CMSG_FIRSTHDR): Avoid compiler warning.

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

18 years agodaily update
amodra [Sun, 5 Feb 2006 23:00:04 +0000 (23:00 +0000)]
daily update

18 years ago * include/features.h: Add comment to explain what's going to happen
corinna [Sun, 5 Feb 2006 20:30:24 +0000 (20:30 +0000)]
* include/features.h: Add comment to explain what's going to happen
here at one point.
* include/sys/stdio.h: Guard getline and getdelim prototypes with
_GNU_SOURCE to avoid collision with old-style declarations.

18 years ago * cygwinenv.sgml: Explain transparent_exe option.
corinna [Sun, 5 Feb 2006 18:19:16 +0000 (18:19 +0000)]
* cygwinenv.sgml: Explain transparent_exe option.

18 years ago * environ.cc (struct parse_thing): Add transparent_exe option.
corinna [Sun, 5 Feb 2006 18:18:02 +0000 (18:18 +0000)]
* environ.cc (struct parse_thing): Add transparent_exe option.
* fhandler_disk_file.cc (fhandler_disk_file::link): Accomodate
transparent_exe option.  Add .exe suffix for links to executable files,
if transparent_exe is set.
* fhandler_process.cc (fhandler_process::fill_filebuf): Remove .exe
suffix if transparent_exe option is set.
* path.cc (symlink_worker): Accomodate transparent_exe option.
(realpath): Don't tack on .exe suffix if transparent_exe is set.
* syscalls.cc (transparent_exe): New global variable.
(unlink): Accomodate transparent_exe option.
(open): Ditto.
(link): Ditto.
(rename): Ditto. Maybe add .exe suffix when renaming executable files.
(pathconf): Accomodate transparent_exe option.
* winsup.h: Declare transparent_exe.

18 years ago * fhandler_disk_file.cc (fhandler_disk_file::readdir_9x): Remove
corinna [Sun, 5 Feb 2006 18:11:02 +0000 (18:11 +0000)]
* fhandler_disk_file.cc (fhandler_disk_file::readdir_9x): Remove
useless code.

18 years agoCleanup of pseudo-ops for constants and new def24,def32 pseudo-ops on z80
arnoldm [Sun, 5 Feb 2006 11:57:34 +0000 (11:57 +0000)]
Cleanup of pseudo-ops for constants and new def24,def32 pseudo-ops on z80

18 years ago * fhandler_disk_file.cc (fhandler_disk_file::rewinddir): Remove label
corinna [Sun, 5 Feb 2006 11:17:03 +0000 (11:17 +0000)]
* fhandler_disk_file.cc (fhandler_disk_file::rewinddir): Remove label
"out".  Move test for NULL __handle ...
(fhandler_disk_file::rewinddir_9x): ... here.

18 years ago ... and the ChangeLog, never forget the ChangeLog...
corinna [Sun, 5 Feb 2006 10:55:59 +0000 (10:55 +0000)]
... and the ChangeLog, never forget the ChangeLog...

18 years ago * dir.cc (rewinddir): Keep dirent_get_d_ino and dirent_set_d_ino flags.
corinna [Sun, 5 Feb 2006 10:55:23 +0000 (10:55 +0000)]
* dir.cc (rewinddir): Keep dirent_get_d_ino and dirent_set_d_ino flags.

18 years ago* fhandler_disk_file.cc (fhandler_disk_file::readdir): Don't close dir handle
cgf [Sun, 5 Feb 2006 07:03:23 +0000 (07:03 +0000)]
* fhandler_disk_file.cc (fhandler_disk_file::readdir): Don't close dir handle
when we hit EOF since rewwindir may reactivate it.
(fhandler_disk_file::readdir_9x): Eliminate superfluous temporary variable.
(fhandler_disk_file::closedir): Return EBADF when trying to close unopened DIR.
Reorganize slightly.  Return actual derived error value rather than always
returning 0.

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

18 years agodaily update
amodra [Sat, 4 Feb 2006 23:00:11 +0000 (23:00 +0000)]
daily update

18 years ago2006-02-04 Ron Lee <ronl@users.sourceforge.net>
dannysmith [Sat, 4 Feb 2006 19:35:46 +0000 (19:35 +0000)]
2006-02-04  Ron Lee  <ronl@users.sourceforge.net>

* include/winnls.h: Remove stray end ';' from preprocessor defines.

18 years ago* dir.cc (rmdir): Reorganize check for trailing dot to return correct error
cgf [Sat, 4 Feb 2006 19:02:40 +0000 (19:02 +0000)]
* dir.cc (rmdir): Reorganize check for trailing dot to return correct error
when directory does not exist.

18 years agobfd/
rsandifo [Sat, 4 Feb 2006 08:29:57 +0000 (08:29 +0000)]
bfd/
* elfxx-mips.c (mips_elf_initialize_tls_index): If a TLS symbol
has already been assigned a GOT index, copy that index to the
current hash table entry.

ld/testsuite/
* ld-mips-elf/tls-hidden2a.s, ld-mips-elf/tls-hidden2b.s,
* ld/testsuite/ld-mips-elf/tls-hidden2.d,
* ld/testsuite/ld-mips-elf/tls-hidden2-got.d: New test.
* ld-mips-elf/mips-elf.exp: Run it.

18 years ago * ld-mips-elf/rel32-n32.d: Adjust for changes in linker behaviour.
rsandifo [Sat, 4 Feb 2006 08:28:29 +0000 (08:28 +0000)]
* ld-mips-elf/rel32-n32.d: Adjust for changes in linker behaviour.
* ld-mips-elf/rel32-o32.d: Likewise.
* ld-mips-elf/rel64.d: Likewise.
* ld-mips-elf/tls-multi-got-1.got: Likewise.
* ld-mips-elf/tls-multi-got-1.r: Likewise.
* ld-mips-elf/tlsdyn-o32-1.d: Likewise.
* ld-mips-elf/tlsdyn-o32-1.got: Likewise.
* ld-mips-elf/tlsdyn-o32-2.d: Likewise.
* ld-mips-elf/tlsdyn-o32-2.got: Likewise.
* ld-mips-elf/tlsdyn-o32-3.d: Likewise.
* ld-mips-elf/tlsdyn-o32-3.got: Likewise.
* ld-mips-elf/tlsdyn-o32.d: Likewise.
* ld-mips-elf/tlsdyn-o32.got: Likewise.
* ld-mips-elf/tlslib-o32-hidden.got: Likewise.
* ld-mips-elf/tlslib-o32-ver.got: Likewise.
* ld-mips-elf/tlslib-o32.got: Likewise.

18 years ago* dir.cc (mkdir): Reorganize check for trailing dot to return correct error
cgf [Sat, 4 Feb 2006 04:31:33 +0000 (04:31 +0000)]
* dir.cc (mkdir): Reorganize check for trailing dot to return correct error
when directory exists.
* fhandler_disk_file.cc (fhandler_disk_file::mkdir): Remove special test for
path ending in '.'.

18 years ago*** empty log message ***
gdbadmin [Sat, 4 Feb 2006 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

18 years agodaily update
amodra [Fri, 3 Feb 2006 23:00:08 +0000 (23:00 +0000)]
daily update

18 years ago * exceptions.h (enum errors): Rename NO_ERROR to GDB_NO_ERROR.
drow [Fri, 3 Feb 2006 21:50:23 +0000 (21:50 +0000)]
* exceptions.h (enum errors): Rename NO_ERROR to GDB_NO_ERROR.
* exceptions.c (exception_none, exceptions_state_mc_init)
(throw_vfatal): Use GDB_NO_ERROR.

18 years ago * path.cc (suffix_scan::lnk_match): Return true beginning with
corinna [Fri, 3 Feb 2006 21:33:09 +0000 (21:33 +0000)]
* path.cc (suffix_scan::lnk_match): Return true beginning with
SCAN_APPENDLNK.
(suffix_scan::next): Rearrange code to make .lnk append order slightly
more deterministic.
* spawn.cc (exe_suffixes): Try no suffix before .exe suffix to align
evaluation with stat_suffixes.
(dll_suffixes): Ditto.

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.