OSDN Git Service
drow [Thu, 27 Jul 2006 00:06:12 +0000 (00:06 +0000)]
* server.c (handle_query): Correct qPart to qXfer.
drow [Thu, 27 Jul 2006 00:06:02 +0000 (00:06 +0000)]
* remote.c (remote_protocol_features): Correct qPart to qXfer.
gdbadmin [Thu, 27 Jul 2006 00:00:35 +0000 (00:00 +0000)]
*** empty log message ***
amodra [Thu, 27 Jul 2006 00:00:06 +0000 (00:00 +0000)]
daily update
corinna [Wed, 26 Jul 2006 21:02:01 +0000 (21:02 +0000)]
* shared.cc (offsets): Define as offsets relative to cygwin_hmodule
instead of addresses.
(off_addr): New macro.
(open_shared): Use offsets array accordingly. Remove unused code.
* shared_info.h (cygwin_shared_address): Remove.
schwab [Wed, 26 Jul 2006 19:56:16 +0000 (19:56 +0000)]
* elfxx-ia64.c (elfNN_ia64_choose_gp): Use rawsize if set.
corinna [Wed, 26 Jul 2006 15:59:38 +0000 (15:59 +0000)]
* cygheap.h (struct init_cygheap): Remove shared_h and mt_h members.
* fhandler_tape.cc (mt): Define as DLL shared area in
.cygwin_dll_common instead of as dynamically allocated area.
Change referencing throughout.
* mtinfo.h (mt_h): Remove entirely.
(mt): Remove extern declaration.
* shared.cc (cygwin_shared_area): New global cygwin_shared
variable located in .cygwin_dll_common.
(offsets): Define shared region addresses descending from
cygwin_shared_address.
(open_shared): Replace usage of SH_CYGWIN_SHARED by SH_USER_SHARED.
(memory_init): Set cygwin_shared just by pointing to cygwin_shared_area.
* shared_info.h (shared_locations): Remove SH_CYGWIN_SHARED and
SH_MTINFO.
(cygwin_shared_address): Define as DLL start address.
* tty.h (tty_min::tty_min): Remove constructor.
amodra [Wed, 26 Jul 2006 12:32:27 +0000 (12:32 +0000)]
* elf.c (elf_modify_segment_map): Delete empty PT_LOAD segments.
* elf32-xtensa.c (elf_xtensa_modify_segment_map): Delete.
(define elf_backend_modify_segment_map): Don't define.
amodra [Wed, 26 Jul 2006 12:27:11 +0000 (12:27 +0000)]
* emultempl/elf-generic.em (map_segments): Reorganise loop so that
layout happens before segment map. Don't do segment map on
relocatable link.
amodra [Wed, 26 Jul 2006 05:10:05 +0000 (05:10 +0000)]
* ld-scripts/overlay-size-map.d: Update.
amodra [Wed, 26 Jul 2006 05:05:52 +0000 (05:05 +0000)]
* ldexp.c (fold_name <LOADADDR>): Use the lma.
* ldlang.h (lang_memory_region_type): Delete old_length. Add
last_os.
* ldlang.c (lang_memory_region_lookup): Init new field.
(lang_reset_memory_regions): Reset new field.
(lang_insert_orphan): Don't set load_base.
(lang_leave_overlay): Likewise.
(lang_size_sections_1): Delete unnecessary code setting lma_region
to region. Correct lma region check.
(lang_do_assignments_1): Rename output_section_statement parm
to current_os. Set lma from previous section in region.
amodra [Wed, 26 Jul 2006 00:42:33 +0000 (00:42 +0000)]
* ldlang.c: Formatting.
bwilson [Wed, 26 Jul 2006 00:10:26 +0000 (00:10 +0000)]
* emultempl/xtensaelf.em (xtensa_strip_inconsistent_linkonce_sections):
Set discarded section's output_section to bfd_abs_section_ptr.
amodra [Wed, 26 Jul 2006 00:00:05 +0000 (00:00 +0000)]
daily update
gdbadmin [Wed, 26 Jul 2006 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***
corinna [Tue, 25 Jul 2006 20:01:38 +0000 (20:01 +0000)]
* include/cygwin/in6.h: Guard in_port_t typedef more restrictive to
avoid compiler warning.
cgf [Tue, 25 Jul 2006 19:44:16 +0000 (19:44 +0000)]
* security.cc (get_logon_server): Remove nret and use dret for everything to
avoid a g++ warning.
corinna [Tue, 25 Jul 2006 19:23:22 +0000 (19:23 +0000)]
2006-07-25 Corinna Vinschen <corinna@vinschen.de>
* include/cygwin/version.h: Bump DLL version to 1.7.0.
2006-07-25 Corinna Vinschen <corinna@vinschen.de>
* select.h: Remove.
* fhandler_socket.cc: Don't include select.h.
* select.cc: Ditto.
2006-07-25 Corinna Vinschen <corinna@vinschen.de>
* cygtls.h: Drop socket related includes.
(struct _local_storage): Remove exitsock and exitsock_sin. Add
select_sockevt.
* cygtls.cc: Accomodate above change throughout.
* fhandler.h (class fhandler_socket): Make wsock_evt public.
* fhandler_socket.cc (fhandler_socket::fhandler_socket): Accomodate
reordering members.
(fhandler_socket::evaluate_events): Drop FD_CONNECT event as soon as
it gets read once. Never remove FD_WRITE event here.
(fhandler_socket::wait_for_events): Wait 50 ms instead of INFINITE for
socket events.
(fhandler_socket::accept): Fix conditional. Set wsock_events members
of accepted socket to useful start values.
(fhandler_socket::recv_internal): Always drop FD_READ/FD_OOB events from
wsock_events after the call to WSARecvFrom.
(fhandler_socket::send_internal): Drop FD_WRITE event from wsock_events
if the call to WSASendTo fails with WSAEWOULDBLOCK. Fix return value
condition.
* select.cc (struct socketinf): Change to accomodate using socket event
handling.
(peek_socket): Use event handling for peeking socket.
(thread_socket): Ditto.
(start_thread_socket): Ditto.
(socket_cleanup): Same here.
* tlsoffsets.h: Regenerate.
2006-07-20 Corinna Vinschen <corinna@vinschen.de>
* fhandler.h (class fhandler_socket): Rearrange slightly to keep
event handling methods and members together. Drop owner status flag.
Split wait method. Rename event handling methods for readability.
* fhandler_socket.cc (struct wsa_event): Add owner field.
(LOCK_EVENTS): New macro.
(UNLOCK_EVENTS): Ditto.
(fhandler_socket::init_events): rename from prepare.
(fhandler_socket::evaluate_events): First half of former wait method.
Do everything but wait. Allow specifiying whether or not events from
event_mask should be erased from wsock_events->events. Simplify
OOB handling. Allow sending SIGURG to any process (group).
(fhandler_socket::wait_for_events): Second half of former wait method.
Call evaluate_events and wait in a loop if socket is blocking.
(fhandler_socket::release_events): Rename from release.
(fhandler_socket::connect): Accomodate above name changes.
(fhandler_socket::accept): Ditto.
(fhandler_socket::recv_internal): Ditto.
(fhandler_socket::send_internal): Ditto.
(fhandler_socket::close): Ditto.
(fhandler_socket::fcntl): Always set owner to given input value on
F_SETOWN. Handle F_GETOWN.
* net.cc (fdsock): Accomodate above name changes.
2006-07-20 Corinna Vinschen <corinna@vinschen.de>
* fhandler_socket.cc (fhandler_socket::wait): Set Winsock errno to
WSAEWOULDBLOCK instead of WSAEINPROGRESS.
2006-07-18 Brian Ford <Brian.Ford@FlightSafety.com>
Corinna Vinschen <corinna@vinschen.de>
* winsup.h (mmap_region_status): New enum.
(mmap_is_attached_or_noreserve_page): Adjust prototype and rename
as below.
* mmap.cc (mmap_is_attached_or_noreserve_page): Rename
mmap_is_attached_or_noreserve. Add region length parameter.
Return enum above.
* exceptions.cc (_cygtls::handle_exceptions): Accomodate above.
* fhandler.cc (fhandler_base::raw_read): Call above for NOACCESS
errors and retry on success to allow reads into untouched
MAP_NORESERVE buffers.
2006-07-18 Corinna Vinschen <corinna@vinschen.de>
* cygwin.din (posix_openpt): Export.
* tty.cc (posix_openpt): New function.
* include/cygwin/stdlib.h (posix_openpt): Declare.
* include/cygwin/version.h: Bump API minor number.
2006-07-14 Corinna Vinschen <corinna@vinschen.de>
* security.cc (get_token_group_sidlist): Always add the interactive
group to the token. Add comment. Create logon_id group SID by
copying it from incoming group list.
(create_token): Add subauth_token parameter. Use information in
subauth_token if present. Tweak SourceIdentifier if subauth_token
is present for debugging purposes.
* security.h (create_token): Add subauth_token parameter in declaration.
* syscalls.cc (seteuid32): Call subauth first. Call create_token
regardless. Use subauth token in call to create_token if subauth
succeeded.
2006-07-13 Corinna Vinschen <corinna@vinschen.de>
* include/netinet/in.h: Update copyright.
2006-07-13 Corinna Vinschen <corinna@vinschen.de>
* fhandler_socket.cc (fhandler_socket::wait): Rework function so that
WaitForMultipleObjects is really only called when necessary.
2006-07-12 Corinna Vinschen <corinna@vinschen.de>
* include/netdb.h: Declare rcmd, rcmd_af, rexec, rresvport,
rresvport_af, iruserok, iruserok_sa, ruserok.
2006-07-12 Corinna Vinschen <corinna@vinschen.de>
* Makefile.in (DLL_OFILES): Drop iruserok.o. Add rcmd.o.
* autoload.cc (rcmd): Drop definition.
* cygwin.din: Export bindresvport, bindresvport_sa, iruserok_sa,
rcmd_af, rresvport_af.
* net.cc (cygwin_rcmd): Remove.
(last_used_bindresvport): Rename from last_used_rrecvport.
(cygwin_bindresvport_sa): New function implementing bindresvport_sa.
(cygwin_bindresvport): New function implementing bindresvport.
(cygwin_rresvport): Remove.
* include/cygwin/version.h: Bump API minor number.
* include/netinet/in.h: Declare bindresvport and bindresvport_sa.
* libc/iruserok.c: Remove file.
* libc/rcmd.cc: New file implementing rcmd, rcmd_af, rresvport,
rresvport_af, iruserok_sa, iruserok and ruserok.
2006-07-12 Corinna Vinschen <corinna@vinschen.de>
* fhandler_socket.cc (fhandler_socket::getsockname): Return valid
result for unbound sockets.
2006-07-11 Corinna Vinschen <corinna@vinschen.de>
* fhandler_socket.cc (fhandler_socket::fixup_after_fork): Handle
wsock_mtx and wsock_evt on fork, thus handling close_on_exec correctly.
(fhandler_socket::fixup_after_exec): Drop misguided attempt to handle
close_on_exec here.
(fhandler_socket::dup): Call fixup_after_fork with NULL parent.
Add comment.
(fhandler_socket::set_close_on_exec): Handle wsock_mtx and wsock_evt.
2006-07-10 Corinna Vinschen <corinna@vinschen.de>
* fhandler.h (class fhandler_socket): Add wsock_mtx, wsock_evt
and wsock_events members. Remove closed status flag, add listener
status flag. Accomodate new implementation of socket event handling
methods. Declare recv* and send* functions ssize_t as the POSIX
equivalents.
(fhandler_socket::recv_internal): Declare.
(fhandler_socket::send_internal): Ditto.
* fhandler_socket.cc (EVENT_MASK): Define mask of selected events.
(fhandler_socket::fhandler_socket): Initialize new members.
(fhandler_socket::af_local_setblocking): Don't actually set the
socket to blocking mode. Keep sane event selection.
(fhandler_socket::af_local_unsetblocking): Don't actually set the
socket to previous blocking setting, just remember it.
(struct wsa_event): New structure to keep event data per shared
socket.
(NUM_SOCKS): Define number of shared sockets concurrently handled by
all active Cygwin processes.
(wsa_events): New shared datastructure keeping all wsa_event records.
(socket_serial_number): New shared variable to identify shared sockets.
(wsa_slot_mtx): Global mutex to serialize wsa_events access.
(search_wsa_event_slot): New static function to select a new wsa_event
slot for a new socket.
(fhandler_socket::prepare): Rewrite. Prepare event selection
per new socket.
(fhandler_socket::wait): Rewrite. Wait for socket events in thread
safe and multiple process safe.
(fhandler_socket::release): Rewrite. Close per-socket descriptor
mutex handle and event handle.
(fhandler_socket::dup): Duplicate wsock_mtx and wsock_evt. Fix
copy-paste error in debug output.
(fhandler_socket::connect): Accomodate new event handling.
(fhandler_socket::listen): Set listener flag on successful listen.
(fhandler_socket::accept): Accomodate new event handling.
(fhandler_socket::recv_internal): New inline method centralizing
common recv code.
(fhandler_socket::recvfrom): Call recv_internal now.
(fhandler_socket::recvmsg): Ditto. Streamline copying from iovec
to WSABUF.
(fhandler_socket::send_internal): New inline method centralizing
common send code.
(fhandler_socket::sendto): Call send_internal now.
(fhandler_socket::sendmsg): Ditto. Streamline copying from iovec
to WSABUF.
(fhandler_socket::close): Call release now.
(fhandler_socket::ioctl): Never actually switch to blocking mode.
Just keep track of the setting.
* net.cc (fdsock): Call prepare now.
(cygwin_connect): Revert again to event driven technique.
(cygwin_accept): Ditto.
* poll.cc (poll): Don't call recvfrom on a listening socket.
Remove special case for failing recvfrom.
* include/sys/socket.h: Declare recv* and send* functions ssize_t as
requested by POSIX.
2006-07-07 Corinna Vinschen <corinna@vinschen.de>
* net.cc (cygwin_inet_ntop): Fix data type of forth parameter.
2006-07-06 Corinna Vinschen <corinna@vinschen.de>
* include/cygwin/in6.h (struct in6_addr): Fix typo.
2006-07-06 Corinna Vinschen <corinna@vinschen.de>
* cygwin.din: Export in6addr_any, in6addr_loopback, freeaddrinfo,
gai_strerror, getaddrinfo, getnameinfo.
* fhandler_socket.cc: Include cygwin/in6.h.
(get_inet_addr): Accomodate AF_INET6 usage.
(fhandler_socket::connect): Ditto.
(fhandler_socket::listen): Ditto.
(fhandler_socket::sendto): Ditto.
* net.cc: Include cygwin/in6.h.
(in6addr_any): Define.
(in6addr_loopback): Define.
(cygwin_socket): Accomodate AF_INET6 usage.
(socketpair): Bind socketpairs only to loopback for security.
(inet_pton4): New static function.
(inet_pton6): Ditto.
(cygwin_inet_pton): New AF_INET6 aware inet_pton implementation.
(inet_ntop4): New static function.
(inet_ntop6): Ditto.
(cygwin_inet_ntop): New AF_INET6 aware inet_ntop implementation.
(ga_aistruct): New static function.
(ga_clone): Ditto.
(ga_echeck): Ditto.
(ga_nsearch): Ditto.
(ga_port): Ditto.
(ga_serv): Ditto.
(ga_unix): Ditto.
(gn_ipv46): Ditto.
(ipv4_freeaddrinfo): Ditto.
(ipv4_getaddrinfo): Ditto.
(ipv4_getnameinfo): Ditto.
(gai_errmap_t): New structure holding error code - error string mapping.
(cygwin_gai_strerror): New function implementing gai_strerror.
(w32_to_gai_err): New static function.
(get_ipv6_funcs): Ditto.
(load_ipv6_funcs): Ditto.
(cygwin_freeaddrinfo): New function implementing freeaddrinfo.
(cygwin_getaddrinfo): New function implementing getaddrinfo.
(cygwin_getnameinfo): New function implementing getnameinfo.
* include/netdb.h: Include stdint.h and cygwin/socket.h. Define
data types and macros used by getaddrinfo and friends. Declare
freeaddrinfo, gai_strerror, getaddrinfo and getnameinfo.
* include/cygwin/in.h: Add IPv6 related IPPROTOs. Remove definition
of struct sockaddr_in6. Include cygwin/in6.h instead.
* include/cygwin/in6.h: New header file defining IPv6 releated
data types and macros.
* include/cygwin/socket.h: Enable AF_INET6 and PF_INET6. Add
IPv6 related socket options.
* include/cygwin/version.h: Bump API minor number.
2006-07-06 Corinna Vinschen <corinna@vinschen.de>
* autoload.cc (DsGetDcNameA): Define.
(NetGetAnyDCName): Define.
* security.cc: Include dsgetdc.h.
(DsGetDcNameA): Declare.
(DS_FORCE_REDISCOVERY): Define.
(get_logon_server): Add bool parameter to control rediscovery of DC.
Use DsGetDcNameA function if supported, NetGetDCName/NetGetAnyDCName
otherwise.
(get_server_groups): Rediscover DC if get_user_groups fails and
try again.
(get_reg_security): Use correct error code macro when testing
RegGetKeySecurity return value.
* security.h (get_logon_server): Remove default vaue from wserver
parameter. Add rediscovery parameter.
* uinfo.cc (cygheap_user::env_logsrv): Accomodate rediscovery parameter
in call to get_logon_server.
corinna [Tue, 25 Jul 2006 19:18:04 +0000 (19:18 +0000)]
* configure.in: Reenable building the subauth subdir.
* configure: Regenerate.
corinna [Tue, 25 Jul 2006 19:16:54 +0000 (19:16 +0000)]
* Makefile.in (LIBS): Link against msvcrt.dll, too.
cgf [Tue, 25 Jul 2006 17:18:05 +0000 (17:18 +0000)]
update copyright
ths [Tue, 25 Jul 2006 16:45:55 +0000 (16:45 +0000)]
* ld-mips-elf/mips16-call-global-2.s,
ld-mips-elf/mips16-call-global-3.s, ld-mips-elf/mips16-call-global.d:
Improve test robustness.
amodra [Tue, 25 Jul 2006 14:45:17 +0000 (14:45 +0000)]
* ldlang.c (analyze_walk_wild_section_handler): Init handler_data
earlier.
ths [Tue, 25 Jul 2006 09:17:56 +0000 (09:17 +0000)]
* elfxx-mips.c (_bfd_mips_elf_merge_private_bfd_data): Allow
linking of objects for compatible machine types.
ths [Tue, 25 Jul 2006 09:06:05 +0000 (09:06 +0000)]
* elfxx-mips.c (mips_elf_next_relocation): Tighten check to test
also for same symbol.
ths [Tue, 25 Jul 2006 09:01:02 +0000 (09:01 +0000)]
* elfxx-mips.c (mips_elf_calculate_relocation): Remove magic constant.
bonzini [Tue, 25 Jul 2006 08:39:57 +0000 (08:39 +0000)]
Sync from GCC
2006-07-04 Eric Botcazou <ebotcazou@libertysurf.fr>
PR bootstrap/18058
* configure.in: Add -fkeep-inline-functions to CFLAGS for stage 1
if the bootstrap compiler is a GCC version that supports it.
* configure: Regenerate.
config:
2006-07-21 David Daney <ddaney@avtrex.com>
PR libgcj/28426
* gxx-include-dir.m4: Use target_alias in path for cross build.
bonzini [Tue, 25 Jul 2006 08:32:44 +0000 (08:32 +0000)]
2006-07-25 Paolo Bonzini <bonzini@gnu.org>
PR build/26188
* stdint.m4: Test for uintptr_t even on systems with uint64_t or uint32_t.
Sync from GCC
2006-07-21 Steve Ellcey <sje@cup.hp.com>
PR target/26792
* unwind_ipinfo.m4: New.
drow [Tue, 25 Jul 2006 04:24:49 +0000 (04:24 +0000)]
gdb/
* eval.c (evaluate_subexp_for_address): Don't incorrectly discard
calls to C++ operator*.
gdb/testsuite/
* gdb.cp/userdef.cc, gdb.cp/userdef.exp: New tests for unary
operator*.
dannysmith [Tue, 25 Jul 2006 00:22:19 +0000 (00:22 +0000)]
* include/aclui.h: Replace __OBJC__ guard with _OBJC_NO_COM.
* include/basetyps.h: Likewise.
(_COM_interface): New define.
(interface): Define to _COM_interface, conditional on !__OBJC__.
Replace 'interface' with '_COM_interface', throughout.
* include/comcat.h: Replace 'interface' with '_COM_interface', throughout.
* include/commdlg.h: Replace __OBJC__ guard with _OBJC_NO_COM.
* include/docobj.h: Replace 'interface' with '_COM_interface', throughout.
* include/mshtml.h: Likewise.
* include/oaidl.h: Likewise.
* include/objfwd.h: Likewise.
* include/objidl.h: Likewise.
* include/ocidl.h: Likwise.
* include/olectl.h: Likewise.
* include/oleidl.h: Likewise.
* include/shlobj.h: Likewise.
* include/shlwapi.h: Replace __OBJC__ guard with _OBJC_NO_COM.
* include/vfw.h: Likewise.
* include/windows.h. Likewise. Add comment.
* include/directx/d3d9.h: Replace 'interface' with '_COM_interface',
throughout.
* lib/test.c: Replace __OBJC__ guard with _OBJC_NO_COM.
Add test for conflict with '@interface'
bwilson [Tue, 25 Jul 2006 00:20:09 +0000 (00:20 +0000)]
* emultempl/xtensaelf.em (is_inconsistent_linkonce_section): Add space
in dep_sec_name for null terminator. Make sure dep_sec_name has a
".t" linkonce tag.
amodra [Tue, 25 Jul 2006 00:00:04 +0000 (00:00 +0000)]
daily update
gdbadmin [Tue, 25 Jul 2006 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***
drow [Mon, 24 Jul 2006 22:04:12 +0000 (22:04 +0000)]
* solib-irix.c (gdb_int32_bytes): Use gdb_byte instead of char.
(gdb_int64_bytes): Likewise.
(fetch_lm_info): Use .b fields of gdb_int32_bytes and gdb_int64_bytes
as first argument to extract_unsigned_integer to silence compiler
warnings.
fred [Mon, 24 Jul 2006 21:37:02 +0000 (21:37 +0000)]
2006-07-24 Frederic Riss <frederic.riss@st.com>
* dwarf2read.c (struct dwarf2_per_objfile): Add
has_section_at_zero
field.
(dwarf2_locate_sections): Initialize
dwarf2_per_objfile->has_section_at_zero.
(dwarf2_get_pc_bounds): Use
dwarf2_per_objfile->has_section_at_zero
instead of HAS_RELOC test.
(read_partial_die): Ditto.
drow [Mon, 24 Jul 2006 20:38:07 +0000 (20:38 +0000)]
gdb/
* corefile.c (reopen_exec_file): Only check for an open exec file.
Use exec_file_attach.
* exec.c (exec_open): Make static.
(exec_file_command): Don't use target_preopen. Query directly about
changing the file.
* gdbcore.h (exec_open): Remove prototype.
gdb/testsuite/
* gdb.base/completion.exp: Update for change in "file" behavior.
* gdb.stabs/weird.exp: Likewise.
* lib/mi-support.exp (mi_gdb_file_cmd): Likewise.
* lib/gdb.exp (gdb_file_cmd): Likewise. Kill the program explicitly.
fred [Mon, 24 Jul 2006 20:10:48 +0000 (20:10 +0000)]
2006-07-21 Frederic Riss <frederic.riss@st.com>
* regcache.c (struct regcache): Make register_valid_p a signed
char
array.
drow [Mon, 24 Jul 2006 18:57:32 +0000 (18:57 +0000)]
* linux-thread-db.c (thread_db_wait): Remove libthread_db
after exec events.
drow [Mon, 24 Jul 2006 18:20:57 +0000 (18:20 +0000)]
* NEWS: Mention Windows cross debugging support.
nickc [Mon, 24 Jul 2006 18:18:16 +0000 (18:18 +0000)]
* emulparams/elf_x86_64.sh (LIBPATH_SUFFIX, ELF_INTERPRETER_NAME): Set for *-*-solaris2*.
* elf.c (bfd_section_from_shdr): Reject unrecognised OS-specific sections
only if the SHF_OS_NONCONFORMING flag is present.
nickc [Mon, 24 Jul 2006 16:51:26 +0000 (16:51 +0000)]
PR ld/2729
* peXXigen.c (_bfd_XXi_final_link_postscript): Check for the existance of
output sections before putting their entries into the DataDictionary.
nickc [Mon, 24 Jul 2006 16:30:55 +0000 (16:30 +0000)]
PR/2756
* read.c (read_a_source_file): Ignore unknown text after line comment
character. Fix misleading comment.
nathan [Mon, 24 Jul 2006 14:20:50 +0000 (14:20 +0000)]
* gdb.base/auxv.exp: Skip on non-linux, non-solaris targets.
* gdb.base/cursal.exp: Use gdb_file_cmd first, then separate gdb_load.
nickc [Mon, 24 Jul 2006 13:49:48 +0000 (13:49 +0000)]
Fix spelling typos
cgf [Mon, 24 Jul 2006 01:28:28 +0000 (01:28 +0000)]
* include/cygwin/version.h: Bump DLL minor version number to 22.
gdbadmin [Mon, 24 Jul 2006 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***
amodra [Mon, 24 Jul 2006 00:00:05 +0000 (00:00 +0000)]
daily update
cgf [Sun, 23 Jul 2006 23:28:49 +0000 (23:28 +0000)]
* Makefile.in: Update copyrigh. Remove unused stuff.
cgf [Sun, 23 Jul 2006 23:28:06 +0000 (23:28 +0000)]
* Makefile.in: Update copyright. Fix 'check' target so that it will once-again
create a working testsuite directory. Add a comment this time to explain the
unusual behavior.
(Previous ChangeLog checkin did not include accompanying Makefile.in)
drow [Sun, 23 Jul 2006 21:21:01 +0000 (21:21 +0000)]
* linux-nat.c (linux_nat_add_target): Remove extern.
* linux-nat.h (thread_db_init): New prototype.
nickc [Sun, 23 Jul 2006 15:32:08 +0000 (15:32 +0000)]
* ldlang.c (lang_section_bst): New structure for sorting sections by name.
(wild_sort_fast): New function: Insert a section into a binary search tree.
(output_section_callback_fast): New function: Store a section in BST.
(output_section_callback_tree_to_list): New function: Convert a BST into a list.
(analyze_walk_wild_section_handler): Initialize handler_data elements.
(wild): If the data is sorted by name use the BST method to sort the names.
drow [Sun, 23 Jul 2006 03:52:15 +0000 (03:52 +0000)]
gdb/
* configure.tgt: Build gdbserver for Cygwin and mingw32.
gdb/gdbserver/
* configure.ac: Check for more headers which are missing on
Windows. Automatically supply -lwsock32 and USE_WIN32API.
* configure.srv: Add Cygwin and mingw32.
* remote-utils.c: Don't include headers unconditionally which
are missing on mingw32. Include <winsock.h> for mingw32.
(remote_open): Adjust for mingw32 support. Flush
standard error after writing to it.
(remote_close, putpkt_binary, input_interrupt, block_async_io)
(unblock_async_io, enable_async_io, disable_async_io)
(readchar, getpkt): Update for Winsock support.
(prepare_resume_reply): Expect a protocol signal number.
* server.c: Disable <sys/wait.h> on mingw32.
(start_inferior): Adjust for mingw32 support. Flush
standard error after writing to it.
(attach_inferior): Likewise. Use protocol signal
numbers.
(main): Skip 'D' packet on mingw32. Use protocol signal numbers
and names.
* win32-i386-low.c: New file.
* Makefile.in (XM_CLIBS): Set.
(gdbserver, gdbreplay): Use $(INTERNAL_CFLAGS).
(win32-i386-low.o): New dependency rule.
* linux-low.c (linux_wait): Use target signal numbers.
* target.h (struct target_ops): Doc fix.
* server.h (target_signal_to_name): New prototype.
* gdbreplay.c: Don't include headers unconditionally which
are missing on mingw32. Include <winsock.h> for mingw32.
(remote_close, remote_open): Adjust for Winsock support.
* configure, config.in: Regenerated.
drow [Sun, 23 Jul 2006 03:47:43 +0000 (03:47 +0000)]
* configure.in: Allow mingw32 and cygwin targets to build cross-gdb.
* configure: Regenerated.
gdb/
* config/i386/cygwin.mt (DEPRECATED_TM_FILE): Delete.
* config/i386/nm-cygwin.h: Add contents of tm-cygwin.h.
* config/i386/tm-cygwin.h: Delete file.
amodra [Sun, 23 Jul 2006 00:00:06 +0000 (00:00 +0000)]
daily update
gdbadmin [Sun, 23 Jul 2006 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***
kettenis [Sat, 22 Jul 2006 14:48:03 +0000 (14:48 +0000)]
* infrun.c (handle_inferior_event): Typo.
ironhead [Sat, 22 Jul 2006 13:31:18 +0000 (13:31 +0000)]
2006-07-22 ipsoner <ipsoner@users.sourceforge.net>
* include/wincrypt.h (szOID_RSA, szOID_PKCS, szOID_RSA_HASH,
szOID_RSA_ENCRYPT, szOID_PKCS_1, szOID_PKCS_2, szOID_PKCS_3,
szOID_PKCS_4, szOID_PKCS_5, szOID_PKCS_6, szOID_PKCS_7,
szOID_PKCS_8, szOID_PKCS_9, szOID_PKCS_10, szOID_PKCS_12,
szOID_RSA_MD2, szOID_RSA_MD4, szOID_RSA_MD5, szOID_RSA_RSA,
szOID_RSA_MD2RSA, szOID_RSA_MD4RSA, szOID_RSA_MD5RSA,
szOID_RSA_SHA1RSA, szOID_RSA_SETOAEP_RSA, szOID_RSA_DH,
szOID_RSA_data, szOID_RSA_signedData, szOID_RSA_envelopedData,
szOID_RSA_signEnvData, szOID_RSA_digestedData, szOID_RSA_hashedData,
szOID_RSA_encryptedData, szOID_RSA_emailAddr, szOID_RSA_unstructName,
szOID_RSA_contentType, szOID_RSA_messageDigest, szOID_RSA_signingTime,
szOID_RSA_counterSign, szOID_RSA_challengePwd, szOID_RSA_unstructAddr,
szOID_RSA_extCertAttrs, szOID_RSA_SMIMECapabilities,
szOID_RSA_preferSignedData, szOID_RSA_RC2CBC, szOID_RSA_RC4,
szOID_RSA_DES_EDE3_CBC, szOID_RSA_RC5_CBCPad, szOID_ANSI_x942,
szOID_ANSI_x942_DH, szOID_X957, szOID_X957_DSA, szOID_DATA STRUCTURE,
szOID_DS, szOID_DSALG, szOID_DSALG_CRPT, szOID_DSALG_HASH,
szOID_DSALG_SIGN, szOID_DSALG_RSA, szOID_OIW, szOID_OIWSEC,
szOID_OIWSEC_md4RSA, szOID_OIWSEC_md5RSA, szOID_OIWSEC_md4RSA2,
szOID_OIWSEC_desECB, szOID_OIWSEC_desCBC, szOID_OIWSEC_desOFB,
szOID_OIWSEC_desCFB, szOID_OIWSEC_desMAC, szOID_OIWSEC_rsaSign,
szOID_OIWSEC_dsa, szOID_OIWSEC_shaDSA, szOID_OIWSEC_mdc2RSA,
szOID_OIWSEC_shaRSA, szOID_OIWSEC_dhCommMod, szOID_OIWSEC_desEDE,
szOID_OIWSEC_sha, szOID_OIWSEC_mdc2, szOID_OIWSEC_dsaComm,
szOID_OIWSEC_dsaCommSHA, szOID_OIWSEC_rsaXchg, szOID_OIWSEC_keyHashSeal,
szOID_OIWSEC_md2RSASign, szOID_OIWSEC_md5RSASign, szOID_OIWSEC_sha1,
szOID_OIWSEC_dsaSHA1, szOID_OIWSEC_dsaCommSHA1, szOID_OIWSEC_sha1RSASign,
szOID_OIWDIR, szOID_OIWDIR_CRPT, szOID_OIWDIR_HASH, szOID_OIWDIR_SIGN,
szOID_OIWDIR_md2, szOID_OIWDIR_md2RSA, szOID_INFOSEC,
szOID_INFOSEC_sdnsSignature, szOID_INFOSEC_mosaicSignature,
szOID_INFOSEC_sdnsConfidentiality, szOID_INFOSEC_mosaicConfidentiality,
szOID_INFOSEC_sdnsIntegrity, szOID_INFOSEC_mosaicIntegrity,
szOID_INFOSEC_sdnsTokenProtection, szOID_INFOSEC_mosaicTokenProtection,
szOID_INFOSEC_sdnsKeyManagement, szOID_INFOSEC_mosaicKeyManagement,
szOID_INFOSEC_sdnsKMandSig, szOID_INFOSEC_mosaicKMandSig,
szOID_INFOSEC_SuiteASignature, szOID_INFOSEC_SuiteAConfidentiality,
szOID_INFOSEC_SuiteAIntegrity, szOID_INFOSEC_SuiteATokenProtection,
szOID_INFOSEC_SuiteAKeyManagement, szOID_INFOSEC_SuiteAKMandSig,
szOID_INFOSEC_mosaicUpdatedSig, szOID_INFOSEC_mosaicKMandUpdSig,
szOID_INFOSEC_mosaicUpdatedInteg, szOID_PKIX_NO_SIGNATURE,
szOID_COMMON_NAME, szOID_COUNTRY_NAME, szOID_DEVICE_SERIAL_NUMBER,
szOID_DOMAIN_COMPONENT, szOID_RSA_emailAddr, szOID_GIVEN_NAME,
szOID_INITIALS, szOID_LOCALITY_NAME, szOID_ORGANIZATION_NAME,
szOID_ORGANIZATIONAL_UNIT_NAME, szOID_STATE_OR_PROVINCE_NAME,
szOID_STREET_ADDRESS, szOID_SUR_NAME, szOID_TITLE, szOID_RSA_unstructAddr,
szOID_RSA_unstructName, szOID_BASIC_CONSTRAINTS2,
CERT_BASIC_CONSTRAINTS2_INFO, CRYPT_ENCODE_PARA,CertDuplicateStore,
CertEnumCertificatesInStore, CertDuplicateCertificateContext,
CertGetNameStringA, CertGetNameStringW, CertGetNameString, PFXIsPFXBlob,
CertFindExtension, CryptDecodeObject, CertAddCertificateContextToStore,
CertCompareCertificate, PFXVerifyPassword, PFXImportCertStore,
CertDeleteCertificateFromStore): Define.
* lib/crypt32.def (CertDuplicateStore, CertEnumCertificatesInStore,
CertDuplicateCertificateContext, CertGetNameStringA, CertGetNameStringW,
CertGetNameString, PFXIsPFXBlob, CertFindExtension, CryptDecodeObject,
CertAddCertificateContextToStore, CertCompareCertificate,
PFXVerifyPassword, PFXImportCertStore, CertDeleteCertificateFromStore):
Define.
ironhead [Sat, 22 Jul 2006 12:06:10 +0000 (12:06 +0000)]
2006-07-20 Elias Naur <elias_naur@users.sourceforge.net>
* include/devguid.h: Add new file with missing GUID_DEVCLASS_*
declarations. They were extracted from the registry with a script.
* lib/devguid.c: Add new file with the implementation of the
missing GUIDs.
* lib/Makefile.in: Add devguid.c to UUID_SOURCES and UUID_OBJS.
ironhead [Sat, 22 Jul 2006 11:47:23 +0000 (11:47 +0000)]
2006-07-22 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
* lib/uuid.c: Remove.
amodra [Sat, 22 Jul 2006 00:00:06 +0000 (00:00 +0000)]
daily update
gdbadmin [Sat, 22 Jul 2006 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***
ams [Fri, 21 Jul 2006 14:46:53 +0000 (14:46 +0000)]
2006-07-21 Andrew Stubbs <andrew.stubbs@st.com>
* cli/cli-cmds.c (source_verbose, trace_commands): New variables.
(source_script): New function.
(source_verbose_cleanup): New function.
(source_command): Move old contents to source_script.
Make function static. Parse -v option and call source_script.
(init_cli_cmds): Update source command help.
Add 'set trace-commands' command.
* cli/cli-script.c (command_next_depth): New static variable.
(suppress_next_print_command_trace): New static variable.
(reset_command_nest_depth): New function.
(print_command_trace): New function.
(execute_control_command): Split the continue_control and break_control
cases, add calls to print_command_trace and count the nest depth.
(while_command): Set suppress_next_print_command_trace.
(if_command): Likewise.
* top.c (execute_command): Call print_command_trace.
* cli/cli-cmds.h (source_verbose, trace_commands): New extern variables.
(source_command): Change to source_script.
* main.c (captued_main): Use source_script instead of source_command.
* top.h (source_command): Change to source_script.
* event-top.c (display_gdb_prompt): Call reset_command_nest_depth.
* cli/cli-script.h (print_command_trace): Export.
(reset_command_nest_depth): Likewise.
docs/
* gdb.texinfo (Optional warnings and messages): Add
'set/show trace-commands'.
(Command files): Add '-v' to source command.
testsuite/
* gdb.base/default.exp: Update source command error message.
* gdb.base/help.exp: Update 'help source' message.
nickc [Fri, 21 Jul 2006 09:56:40 +0000 (09:56 +0000)]
* ld-sh/arch/arch.exp (test_arch): Set the endian flag to suit the multilib
being tested.
nickc [Fri, 21 Jul 2006 09:46:15 +0000 (09:46 +0000)]
* config/tc-sh.c (md_longopts): Add -EL and -EB for use by the linker testsuite.
gdbadmin [Fri, 21 Jul 2006 00:00:34 +0000 (00:00 +0000)]
*** empty log message ***
amodra [Fri, 21 Jul 2006 00:00:09 +0000 (00:00 +0000)]
daily update
meissner [Thu, 20 Jul 2006 23:09:32 +0000 (23:09 +0000)]
Update amd family 10 instructions to add appropriate alignment for cygwin
drow [Thu, 20 Jul 2006 22:50:06 +0000 (22:50 +0000)]
gdb/
* eval.c (evaluate_struct_tuple): Skip static fields.
gdb/testsuite/
* gdb.cp/bs15503.exp: Update comment for no longer crashing
test.
ths [Thu, 20 Jul 2006 16:51:38 +0000 (16:51 +0000)]
* config/tc-mips.c (md_parse_option): Don't infer optimisation
options from debug options.
ths [Thu, 20 Jul 2006 16:46:29 +0000 (16:46 +0000)]
[ bfd/ChangeLog ]
* elf32-mips.c (mips16_jump_reloc): Remove function.
(elf_mips16_howto_table_rel): Use _bfd_mips_elf_generic_reloc
instead of mips16_jump_reloc.
* elf64_mips.c, wlfn32-mips.c (mips16_jump_reloc): Remove function.
(elf_mips16_howto_table_rel, elf_mips16_howto_table_rela): Use
_bfd_mips_elf_generic_reloc instead of mips16_jump_reloc.
[ gas/ChangeLog ]
* config/tc-mips.c (mips_fix_adjustable): Handle BFD_RELOC_MIPS16_JMP.
(tc_gen_reloc): Handle mips16 jumps to section symbol offsets.
[ ld/testsuite/ChangeLog ]
* ld-mips-elf/mips16-call-global-1.s,
ld-mips-elf/mips16-call-global-2.s,
ld-mips-elf/mips16-call-global-3.s, ld-mips-elf/mips16-call-global.d:
Test linking of external mips16 jumps.
* ld-mips-elf/mips-elf.exp: Run new test.
gdbadmin [Thu, 20 Jul 2006 00:00:05 +0000 (00:00 +0000)]
*** empty log message ***
amodra [Thu, 20 Jul 2006 00:00:05 +0000 (00:00 +0000)]
daily update
kettenis [Wed, 19 Jul 2006 23:23:35 +0000 (23:23 +0000)]
* alphaobsd-tdep.c: Include "obsd-tdep.h".
(alphaobsd_init_abi): Set skip_solib_resolver.
* Makefile.in (alphaobsd-tdep.o): Update dependencies.
* config/alpha/obsd.mt (TDEPFILES): Add obsd-tdep.o.
dannysmith [Wed, 19 Jul 2006 21:45:24 +0000 (21:45 +0000)]
2006-07-19 Elias Naur <elias_naur@users.sourceforge.net>
* include/winuser.h (WM_INPUT): Add missing Raw Input
notification define.
(RID_DEVICE_INFO_MOUSE, RID_DEVICE_INFO_KEYBOARD,
RID_DEVICE_INFO_HID, RID_DEVICE_INFO): Define Raw Input structs.
dannysmith [Wed, 19 Jul 2006 21:24:42 +0000 (21:24 +0000)]
[mingw-Bugs-
1525021]
* iptypes.h (IP_ADAPTER_ANYCAST_ADDRESS): Fix NONAMELESSUNION warnings.
(IP_ADAPTER_MULTICAST_ADDRESS): Likewise.
(IP_ADAPTER_UNICAST_ADDRESS): Likewise.
(IP_ADAPTER_DNS_SERVER_ADDRESS): Likewise.
(IP_ADAPTER_ADAPTER_PREFIX): Likewise.
(IP_ADAPTER_ADDRESSES): Likewise.
kettenis [Wed, 19 Jul 2006 18:21:36 +0000 (18:21 +0000)]
* arm-tdep.c (arm_gdbarch_init): Get default floating-point model
from ELF flags for binaries produced by the GNU toolchain.
bonzini [Wed, 19 Jul 2006 17:06:06 +0000 (17:06 +0000)]
2006-07-19 Paolo Bonzini <bonzini@gnu.org>
* Makefile.tpl (configure-stageN-MODULE): Pass --with-build-libsubdir
for stages after the first.
* Makefile.in: Regenerate.
config:
2006-07-19 Paolo Bonzini <bonzini@gnu.org>
* acx.m4: Support --with-build-libsubdir and AC_SUBST
build_libsubdir.
corinna [Wed, 19 Jul 2006 16:00:27 +0000 (16:00 +0000)]
* pinfo.cc (commune_process): Don't add extra \0 to cmdline.
(_pinfo::cmdline): Ditto process internal.
ams [Wed, 19 Jul 2006 13:05:21 +0000 (13:05 +0000)]
2006-07-19 Andrew Stubbs <andrew.stubbs@st.com>
* gdb.base/ifelse.exp: Remove troublesome 'got here' messages.
pbrook [Wed, 19 Jul 2006 12:53:33 +0000 (12:53 +0000)]
2006-07-19 Paul Brook <paul@codesourcery.com>
gas/
* config/tc-arm.c (insns): Fix rbit Arm opcode.
gas/testsuite/
* gas/arm/archv6t2.d: Adjust expected output for rbit.
opcodes/
* armd-dis.c (arm_opcodes): Fix rbit opcode.
ths [Wed, 19 Jul 2006 11:49:32 +0000 (11:49 +0000)]
* ld-selective/selective.exp: Fix selective testcases for MIPS.
corinna [Wed, 19 Jul 2006 08:58:09 +0000 (08:58 +0000)]
* mmap.cc (msync): Disable rounding up len. Fix bug in access check
loop.
corinna [Wed, 19 Jul 2006 08:20:26 +0000 (08:20 +0000)]
* path.cc (symlink_worker): Return EEXIST if newpath exists.
ysato [Wed, 19 Jul 2006 06:27:04 +0000 (06:27 +0000)]
compile.c (OBITOP): Bit address mask low three bit.
compile.c (decode): Fix warning.
nathan [Wed, 19 Jul 2006 06:21:23 +0000 (06:21 +0000)]
* remote-fileio.c (remote_fileio_func_rename): Reorder to process
input buffer before reading memory.
(remote_fileio_func_stat): Likewise.
drow [Wed, 19 Jul 2006 02:17:23 +0000 (02:17 +0000)]
* blockframe.c (find_pc_partial_function): Use the minimal symbol
size to control the cache entry, if available.
* minsyms.c (lookup_minimal_symbol_by_pc_section): Handle minimal
symbols with zero and non-zero sizes differently.
* gdb.arch/i386-size.c, gdb.arch/i386-size.exp: New files.
amodra [Wed, 19 Jul 2006 01:50:23 +0000 (01:50 +0000)]
bfd/
* bfd-in.h (enum notice_asneeded_action): Define.
* bfd-in2.h: Regenerate.
* elflink.c (elf_link_add_object_symbols): Call linker "notice"
function with NULL name for as-needed handling.
ld/
* ld.h (handle_asneeded_cref): Declare.
* ldcref.c: Include objalloc.h.
(old_table, old_count, old_tab, alloc_mark): New variables.
(tabsize, entsize, refsize, old_symcount): Likewise.
(add_cref): Use bfd_hash_allocate for refs.
(handle_asneeded_cref): New function.
* ldmain.c (notice): Call handle_asneeded_cref for NULL name.
amodra [Wed, 19 Jul 2006 00:00:07 +0000 (00:00 +0000)]
daily update
gdbadmin [Wed, 19 Jul 2006 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***
drow [Tue, 18 Jul 2006 22:53:20 +0000 (22:53 +0000)]
* linux-thread-db.c (td_thr_getfpregs_p, td_thr_getgregs_p)
(td_thr_setfpregs_p, td_thr_setgregs_p, thread_db_get_info)
(thread_db_fetch_registers, thread_db_store_registers)
(thread_db_thread_alive, thread_db_state_str): Delete.
(thread_db_load): Don't look up regset functions.
(thread_db_pid_to_str): Simplify.
(thread_db_extra_thread_info): New.
(init_thread_db_ops): Do not set to_fetch_registers,
to_store_registers, or to_thread_alive. Set to_extra_thread_info.
* Makefile.in: Remove linux-thread-db.o rule.
kettenis [Tue, 18 Jul 2006 21:10:28 +0000 (21:10 +0000)]
* armobsd-tdep.c: Include "trad-frame.h" and "tramp-frame.h".
(armobsd_sigframe_init): New function.
(armobsd_sigframe): New variable.
(armobsd_init_abi): Prepend armobsd_sigframe unwinder.
* Makefile.in (armobsd-tdep.o): Update dependencies.
drow [Tue, 18 Jul 2006 20:45:01 +0000 (20:45 +0000)]
* monitor.c: Remove unused prototypes.
hjl [Tue, 18 Jul 2006 20:25:40 +0000 (20:25 +0000)]
gas/testsuite/
2006-07-18 H.J. Lu <hongjiu.lu@intel.com>
* gas/i386/opcode.s: Add sldt, smsw and str.
* gas/i386/x86-64-opcode.s: Likewise.
* gas/i386/opcode.d: Updated.
* gas/i386/x86-64-opcode.d: Likewise.
opcodes/
2006-07-18 H.J. Lu <hongjiu.lu@intel.com>
* i386-dis.c (grps): Change "sldtQ", "strQ" and "smswQ" to
"sldt", "str" and "smsw".
corinna [Tue, 18 Jul 2006 19:41:02 +0000 (19:41 +0000)]
* pathnames.sgml: Change text for the order in which executables
are evaluated.
drow [Tue, 18 Jul 2006 19:37:23 +0000 (19:37 +0000)]
* gdb.threads/print-threads.exp: Use gdb_breakpoint.
pbrook [Tue, 18 Jul 2006 16:44:45 +0000 (16:44 +0000)]
2006-07-18 Paul Brook <paul@codesourcery.com>
bfd/
* bfd-in2.h: Regenerate.
* libbfd.h: Regenerate.
* reloc.c: Add BFD_RELOC_ARM_T32_ADD_IMM.
gas/
* tc-arm.c (do_t_add_sub): Use addw/subw when source is PC.
(md_convert_frag): Use correct reloc for add_pc. Use
BFD_RELOC_ARM_T32_ADD_IMM for normal add/sum.
(md_apply_fix): Handle BFD_RELOC_ARM_T32_ADD_IMM.
(arm_force_relocation): Handle BFD_RELOC_ARM_T32_ADD_IMM.
gas/testsuite/
* gas/arm/thumb2_add.d: New test.
* gas/arm/thumb2_add.s: New test.
cgf [Tue, 18 Jul 2006 15:09:11 +0000 (15:09 +0000)]
* tty.cc (tty_list::terminate): Don't enter the busy loop if we don't own the
master.
corinna [Tue, 18 Jul 2006 14:11:38 +0000 (14:11 +0000)]
* sec_acl.cc (acltotext32): Add missing handling of default ACL entry
types.
ths [Tue, 18 Jul 2006 14:06:10 +0000 (14:06 +0000)]
* gas/mips/mips4.s, gas/mips/mips4.d: Enable the "pref" test. Change
arguments for "madd.s" so that the instruction is correct for mips1
and still matches "bc3*".
ths [Tue, 18 Jul 2006 13:20:42 +0000 (13:20 +0000)]
* bfd.texinfo: Add @section for "What to Put Where".