OSDN Git Service

pf3gnuchains/pf3gnuchains4x.git
17 years ago*** empty log message ***
gdbadmin [Mon, 22 Jan 2007 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

17 years agodaily update
amodra [Sun, 21 Jan 2007 23:00:37 +0000 (23:00 +0000)]
daily update

17 years ago * autoload.cc (WSAIoctl): Define.
corinna [Sun, 21 Jan 2007 22:54:04 +0000 (22:54 +0000)]
* autoload.cc (WSAIoctl): Define.
(SendARP): Define.
* cygwin.din: Export if_freenameindex, if_indextoname, if_nameindex and
if_nametoindex.
* fhandler_procnet.cc: Drop including wchar.h.  Drop definitions of
GAA_FLAG_INCLUDE_ALL_INTERFACES, IP_ADAPTER_UNICAST_ADDRESS_VISTA.
(fhandler_procnet::exists): Check for has_gaa_prefixes.  Call
get_adapters_addresses here.
(fhandler_procnet::readdir): Ditto.
(prefix): Move to net.cc.
(fhandler_procnet::fill_filebuf): Call get_adapters_addresses here.
Simplify allocation.  Use AdapterName rather than FriendlyName as
interface name.  Use IfIndex if available, Ipv6IfIndex otherwise.
(in6_are_prefix_equal): Move to net.cc.
* fhandler_socket.cc: Define old SIOCGxxx values.
(CONV_OLD_TO_NEW_SIO): Convert old SIOCGxxx value to new one.
(struct __old_ifreq): Define old struct ifreq.
(fhandler_socket::ioctl): Handle old SIOCGxxx values.  Handle new
SIOCGIFFRNDLYNAM command.  Simplify copying ifreq data to user space.
Call get_ifconf with additional SOCKET parameter.
* net.cc (IP_ADAPTER_UNICAST_ADDRESS_LH): Define.
(IP_ADAPTER_ADDRESSES_LH): Define.
(SIO_GET_INTERFACE_LIST): Define.
(sockaddr_in6_old): Define.
(sockaddr_gen): Define.
(INTERFACE_INFO): Define.
(IN_LOOPBACK): Define.
(in_are_prefix_equal): New static function.
(ip_addr_prefix): New function, replaces prefix function, add AF_INET
handling.
(GAA_FLAG_INCLUDE_ALL_INTERFACES): Define.
(get_adapters_addresses): New function.
(WS_IFF_xxx): Define Winsock interface flag values.
(convert_ifr_flags): New function to convert Winsock interface flag
values to Cygwin interface flag values.
(get_xp_ifconf): New get_ifconf implementation for XP SP1 and above.
(get_2k_ifconf): Fix interface index.  Fix formatting.
(get_nt_ifconf): Fix formatting.
(get_95_ifconf): Ditto.
(get_ifconf): Take additional SOCKET parameter.  Call get_xp_ifconf
on XP SP1 and above.
(if_nametoindex): New function.
(if_indextoname): New function.
(if_nameindex): New function.
(if_freenameindex): New function.
(in6_are_prefix_equal): Moved here from fhandler_procnet.cc.
* wincap.cc (wincap_xp): Define has_gaa_prefixes as true by default.
(wincapc::init): Assume has_osversioninfoex by default.  Call
GetVersionEx with OSVERSIONINFOEX first.  Call with OSVERSIONINFO only
if that fails.  Simplify NT4 case and try to avoid strcmp.  Check XP
Service Pack using version.wServicePackMajor to avoid strcmp.
* include/asm/socket.h (SIOCGIFFRNDLYNAM): Define.
* include/cygwin/if.h: Fix formatting.
(IFF_POINTTOPOINT): Define.
(IFF_NOARP): Define.
(IFF_LOWER_UP): Define.
(IFF_DORMANT): Define.
(struct if_nameindex): Define.
(IFRF_FRIENDLYNAMESIZ): Define.
(struct ifreq_frndlyname): Define.
(IFNAMSIZ): Redefine as 44.
(IF_NAMESIZE): Define.
(struct ifreq): Redefine ifru_flags as int.  Define ifru_data.  Pad size
to sizeof sockaddr_in6 for further extensions.
(ifr_data): Define.
(ifr_frndlyname): Define.
(if_nametoindex): Declare.
(if_indextoname): Declare.
(if_nameindex): Declare.
(if_freenameindex): Declare.
* include/cygwin/version.h: Bump API minor number.
(CYGWIN_VERSION_CHECK_FOR_OLD_IFREQ): Define check for old vs. new
ifreq structure.

17 years ago * dwarf2-frame.c (execute_cfa_program): New support of
jkratoch [Sun, 21 Jan 2007 22:42:09 +0000 (22:42 +0000)]
* dwarf2-frame.c (execute_cfa_program): New support of
`DW_CFA_GNU_negative_offset_extended'.

17 years ago * gdb.arch/i386-gnu-cfi.exp, gdb.arch/i386-gnu-cfi.c,
jkratoch [Sun, 21 Jan 2007 22:41:41 +0000 (22:41 +0000)]
* gdb.arch/i386-gnu-cfi.exp, gdb.arch/i386-gnu-cfi.c,
gdb.arch/i386-gnu-cfi-asm.S: New files.

17 years ago * lib/gdb.exp: Abort on missing `site.exp'.
jkratoch [Sun, 21 Jan 2007 22:25:33 +0000 (22:25 +0000)]
* lib/gdb.exp: Abort on missing `site.exp'.

17 years ago * NEWS: Mention flash support for "load" and new remote packets.
drow [Sun, 21 Jan 2007 17:48:53 +0000 (17:48 +0000)]
* NEWS: Mention flash support for "load" and new remote packets.

17 years ago2007-01-21 Markus Deuling <deuling@de.ibm.com>
drow [Sun, 21 Jan 2007 17:43:12 +0000 (17:43 +0000)]
2007-01-21  Markus Deuling  <deuling@de.ibm.com>

* breakpoint.c (delete_command): Skip redundant loop iterations.

17 years ago * gdbarch.sh (register_type): Update comment.
drow [Sun, 21 Jan 2007 17:37:50 +0000 (17:37 +0000)]
* gdbarch.sh (register_type): Update comment.
* gdbarch.h: Regenerated.
* arch-utils.c (generic_register_size): Call register_type.
* ia64-tdep.c (ia64_extract_return_value): Likewise.
* m32c-tdep.c (check_for_saved): Likewise.
* mips-tdep.c (mips_print_register, print_gp_register_row)
(mips_print_registers_info): Likewise.
* sh-tdep.c (sh_pseudo_register_read, sh_pseudo_register_write):
Likewise.
* sh64-tdep.c (sh64_pseudo_register_read, sh64_pseudo_register_write)
(sh64_do_register, sh64_print_register)
(sh64_media_print_registers_info): Likewise.
* tui/tui-regs.c (tui_register_format): Likewise.

17 years ago * objfiles.h (ALL_PRIMARY_SYMTABS): Define.
drow [Sun, 21 Jan 2007 16:55:49 +0000 (16:55 +0000)]
* objfiles.h (ALL_PRIMARY_SYMTABS): Define.

* ada-lang.c (symtab_for_sym, ada_lookup_symbol_list)
(ada_lookup_symbol): Use ALL_PRIMARY_SYMTABS.
* cp-support.c (make_symbol_overload_list_qualified): Likewise.
* symtab.c (lookup_symbol_aux_block, lookup_symbol_aux_symtabs)
(basic_lookup_transparent_type, find_pc_sect_symtab, search_symbols)
(make_symbol_completion_list): Likewise.

17 years ago2007-01-21 Jan Kratochvil <jan.kratochvil@redhat.com>
drow [Sun, 21 Jan 2007 16:49:39 +0000 (16:49 +0000)]
2007-01-21  Jan Kratochvil  <jan.kratochvil@redhat.com>
    Daniel Jacobowitz  <dan@codesourcery.com>

* buildsym.c (end_symtab): Use preallocated symtab if available.
Fill in SYMBOL_SYMTAB.
* buildsym.h (struct subfile): Add symtab member.
* dwarf2read.c (struct dwarf2_cu): Add line_header.
(struct file_entry): Add symtab.
(free_cu_line_header): New function.
(read_file_scope): Use it.  Save line_header in the cu.  Process
lines before DIEs.
(add_file_name): Initialize new symtab member.
(dwarf_decode_lines): Create symtabs for included files.
(new_symbol): Set SYMBOL_SYMTAB.
* symtab.c (lookup_symbol): Use SYMBOL_SYMTAB.
(search_symbols): Likewise.
* symtab.h (struct symbol): Add symtab member.
(SYMBOL_SYMTAB): Define.

* gdb.base/included.c, gdb.base/included.exp,
gdb.base/included.h: New files.

17 years ago * symfile.c (allocate_symtab): Remove INIT_EXTRA_SYMTAB_INFO.
drow [Sun, 21 Jan 2007 01:02:02 +0000 (01:02 +0000)]
* symfile.c (allocate_symtab): Remove INIT_EXTRA_SYMTAB_INFO.

17 years ago*** empty log message ***
gdbadmin [Sun, 21 Jan 2007 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

17 years agodaily update
amodra [Sat, 20 Jan 2007 23:00:05 +0000 (23:00 +0000)]
daily update

17 years ago * gdb.base/bigcore.c (RLIMIT_CAP): Define.
drow [Sat, 20 Jan 2007 18:33:27 +0000 (18:33 +0000)]
* gdb.base/bigcore.c (RLIMIT_CAP): Define.
(maximize_rlimit): Reduce limits on 64-bit systems.

17 years ago * arch-utils.c (show_endian): Correct reversed condition.
drow [Sat, 20 Jan 2007 18:31:27 +0000 (18:31 +0000)]
* arch-utils.c (show_endian): Correct reversed condition.

17 years agoCorrect date on last entry.
drow [Sat, 20 Jan 2007 17:42:43 +0000 (17:42 +0000)]
Correct date on last entry.

17 years ago * agentexpr.texi: Fix typos.
eliz [Sat, 20 Jan 2007 16:51:55 +0000 (16:51 +0000)]
* agentexpr.texi: Fix typos.
* annotate.texinfo: Likewise.
* gdb.texinfo: Likewise.
* gdbint.texinfo: Likewise.
* observer.texi: Likewise.
* stabs.texinfo: Likewise.

17 years ago * gdbint.texinfo (Support Libraries): Remove mmalloc
eliz [Sat, 20 Jan 2007 16:35:45 +0000 (16:35 +0000)]
* gdbint.texinfo (Support Libraries): Remove mmalloc
entry.  Describe readline library.

17 years ago*** empty log message ***
gdbadmin [Sat, 20 Jan 2007 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

17 years ago2007-01-19 Kazunori Asayama <asayama@sm.sony.co.jp>
jjohnstn [Fri, 19 Jan 2007 23:53:07 +0000 (23:53 +0000)]
2007-01-19  Kazunori Asayama <asayama@sm.sony.co.jp>

        * libc/machine/spu/c99ppe.h: Replace vector with __vector.
        * libc/machine/spu/vec_literal.h: Ditto.
        * libc/machine/spu/strncmp.c: Ditto.

17 years ago2007-01-19 Kazunori Asayama <asayama@sm.sony.co.jp>
jjohnstn [Fri, 19 Jan 2007 23:50:55 +0000 (23:50 +0000)]
2007-01-19  Kazunori Asayama <asayama@sm.sony.co.jp>

        * spu/syscalls.c: Replace vector with __vector.

17 years agodaily update
amodra [Fri, 19 Jan 2007 23:00:08 +0000 (23:00 +0000)]
daily update

17 years ago * MAINTAINERS (Write After Approval): Add myself.
jkratoch [Fri, 19 Jan 2007 18:55:01 +0000 (18:55 +0000)]
* MAINTAINERS (Write After Approval): Add myself.

17 years ago* pe-dll.c: (make_one) Conditionally include jump stubs.
nickc [Fri, 19 Jan 2007 15:40:54 +0000 (15:40 +0000)]
* pe-dll.c: (make_one) Conditionally include jump stubs.
* emultempl/pe.em (gld_${EMULATION_NAME}_after_open): Identify
  redundant jump stubs from import libraries and exclude them from link.

17 years agold/
hjl [Fri, 19 Jan 2007 15:13:29 +0000 (15:13 +0000)]
ld/

2007-01-19 H.J. Lu  <hongjiu.lu@intel.com>

* ld.h (args_type): Add new symbolic and dynamic_list fields.

* ld.texinfo: Update -Bsymbolic-functions.

* ldmain.c (main): Initialize command_line.symbolic to
symbolic_unset and command_line.dynamic_list to
dynamic_list_unset.  Check -Bsymbolic, -Bsymbolic-functions and
--dynamic-list* before setting link_info.symbolic,
link_info.dynamic and link_info.dynamic_data.

* lexsup.c (option_values): Add OPTION_SYMBOLIC_FUNCTIONS.
(ld_options): Use OPTION_SYMBOLIC_FUNCTIONS with
-Bsymbolic-functions.
(parse_args): Handle -Bsymbolic-functions.  Don't set
link_info.dynamic, link_info.dynamic_data and link_info.symbolic
here.  Set command_line.symbolic for -Bsymbolic.  Set
command_line.dynamic_list and command_line.symbolic for
--dynamic-list-data, --dynamic-list-cpp-new,
--dynamic-list-cpp-typeinfo and --dynamic-list.

ld/testsuite/

2007-01-19 H.J. Lu  <hongjiu.lu@intel.com>

* ld-elf/dl6.c: New file.
* ld-elf/dl6a.out: Likewise.
* ld-elf/dl6amain.c: Likewise.
* ld-elf/dl6b.out: Likewise.
* ld-elf/dl6bmain.c: Likewise.
* ld-elf/dl6cmain.c: Likewise.
* ld-elf/dl6dmain.c: Likewise.

* ld-elf/shared.exp: Add new tests for -Bsymbolic,
-Bsymbolic-functions, --dynamic-list-data and
--dynamic-list-cpp-new.

17 years agold/
hjl [Fri, 19 Jan 2007 15:06:27 +0000 (15:06 +0000)]
ld/

2007-01-19  Jakub Jelinek  <jakub@redhat.com>
    H.J. Lu  <hongjiu.lu@intel.com>

* emultempl/elf32.em (handle_option): Make sure -z max-page-size
or -z common-page-size argument is a power of 2.  Call
bfd_emul_set_maxpagesize and bfd_emul_set_commonpagesize.

2007-01-19  H.J. Lu  <hongjiu.lu@intel.com>

* ldmain.c (main): Don't call bfd_emul_set_maxpagesize nor
bfd_emul_set_commonpagesize.

ld/testsuite/

2007-01-19  H.J. Lu  <hongjiu.lu@intel.com>

* ld-elf/maxpage3.t: New file.
* ld-elf/maxpage3a.d: Likewise.
* ld-elf/maxpage3b.d: Likewise.
* ld-elf/maxpage3c.d: Likewise.

17 years agold/
hjl [Fri, 19 Jan 2007 14:51:26 +0000 (14:51 +0000)]
ld/

2007-01-19 H.J. Lu  <hongjiu.lu@intel.com>

* NEWS: Mention --default-script/-dT.

* ld.h (args_type): Add a default_script field.

* ld.texinfo: Document --default-script/-dT.

* ldmain.c (main): Handle command_line.default_script.

* lexsup.c (option_values): Add OPTION_DEFAULT_SCRIPT.
(ld_options): Add entries for --default-script and -dT.
(parse_args): Handle --default-script/-dT.

ld/testsuite/

2007-01-19 H.J. Lu  <hongjiu.lu@intel.com>

* ld-scripts/default-script.exp: New file.
* ld-scripts/default-script.s: Likewise.
* ld-scripts/default-script.t: Likewise.
* ld-scripts/default-script1.d: Likewise.
* ld-scripts/default-script2.d: Likewise.
* ld-scripts/default-script3.d: Likewise.
* ld-scripts/default-script4.d: Likewise.

17 years ago From Marcus Deuling <deuling@de.ibm.com>:
kettenis [Fri, 19 Jan 2007 11:14:52 +0000 (11:14 +0000)]
    From Marcus Deuling <deuling@de.ibm.com>:
        * gdb.arch/altivec-regs.exp: Initialise variable endianness in
        every case.

17 years agoOops. The actual change for this entry wasn't committed.
dannysmith [Fri, 19 Jan 2007 08:53:00 +0000 (08:53 +0000)]
Oops. The actual change for this entry wasn't committed.

2007-01-11  Gisle Vanem  <giva@users.sourceforge.net>

* include/winbase.h (struct _OVERLAPPED): Change type of
Internal, InternalHigh members to ULONG_PTR.
(PAPCFUNC): Change DWORD parameter to ULONG_PTR.
(CreateIoCompletionPort): Likewise.
(PostQueuedCompletionStatus): Likewise.
(QueueUserAPC): Likewise.
(GetQueuedCompletionStatus): Change PDWORD parm to PULONG_PTR.

17 years ago * include/stdio.h (SEEK_SET, SEEK_CUR, SEEK_END): Define
dannysmith [Fri, 19 Jan 2007 03:21:09 +0000 (03:21 +0000)]
* include/stdio.h (SEEK_SET, SEEK_CUR, SEEK_END): Define
unconditionally.  Change comment.
* include/unistd.h (SEEK_SET, SEEK_CUR, SEEK_END): Define
here too.
* include/io.h (rename): Declare.
(remove): Declare.

17 years ago*** empty log message ***
gdbadmin [Fri, 19 Jan 2007 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

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

17 years ago * spawn.cc (spawn_guts): Don't set cwd for non-Cygwin child processes
corinna [Thu, 18 Jan 2007 21:28:35 +0000 (21:28 +0000)]
* spawn.cc (spawn_guts): Don't set cwd for non-Cygwin child processes
on NT to allow starting them in virtual directories.

17 years ago2007-01-18 H.J. Lu <hongjiu.lu@intel.com>
hjl [Thu, 18 Jan 2007 19:21:15 +0000 (19:21 +0000)]
2007-01-18  H.J. Lu  <hongjiu.lu@intel.com>

PR ld/1283
* lib/ld-lib.exp (run_dump_test): Remove output file first.

17 years ago * mmap.cc (list::hash): Fix type to __ino64_t.
corinna [Thu, 18 Jan 2007 17:15:59 +0000 (17:15 +0000)]
* mmap.cc (list::hash): Fix type to __ino64_t.
(list::get_hash): Ditto.
(list::set): Add struct stat parameter.  Use that instead of calling
fstat.
(map::get_list_by_fd): Ditto.
(map::add_list): Ditto.
(mmap_is_attached_or_noreserve): Call get_list_by_fd appropriately.
(mmap_worker): Add pameters for map list and file stat information.
Propagate to called functions.
(mmap64): Use fstat on files early.  Replace call to GetFileSize.
Call get_list_by_fd and mmap_worker appropriately.

17 years ago2007-01-18 Mei Ligang <ligang@sunnorth.com.cn>
ligang [Thu, 18 Jan 2007 10:33:49 +0000 (10:33 +0000)]
2007-01-18  Mei Ligang  <ligang@sunnorth.com.cn>

* config/tc-score.c : Using _() for const string.
Do not assign inst.error with a local string pointer.
(md_section_align): Pad section.

17 years ago * fhandler_procnet.cc: Drop declaration of htonl and ntohs. Include
corinna [Thu, 18 Jan 2007 10:30:43 +0000 (10:30 +0000)]
* fhandler_procnet.cc: Drop declaration of htonl and ntohs.  Include
asm/byteorder.h instead.

17 years ago * include/cygwin/in6.h: Drop inclusion of asm/byteorder.h.
corinna [Thu, 18 Jan 2007 10:25:40 +0000 (10:25 +0000)]
* include/cygwin/in6.h: Drop inclusion of asm/byteorder.h.
* fhandler_procnet.cc: Declare htonl and ntohs here.

17 years ago*** empty log message ***
gdbadmin [Thu, 18 Jan 2007 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***

17 years agodaily update
amodra [Wed, 17 Jan 2007 23:00:12 +0000 (23:00 +0000)]
daily update

17 years ago2007-01-17 Dave Brolley <brolley@redhat.com>
brolley [Wed, 17 Jan 2007 21:17:08 +0000 (21:17 +0000)]
2007-01-17  Dave Brolley  <brolley@redhat.com>

        * libltdl/ltdl.c (lt_dlexit): After each call to lt_dlclose, make sure
        that the handle pointed to by 'cur' still exists.

17 years ago2007-01-17 Dave Brolley <brolley@redhat.com>
brolley [Wed, 17 Jan 2007 20:59:33 +0000 (20:59 +0000)]
2007-01-17  Dave Brolley  <brolley@redhat.com>

        * sidbusutil.h (value_control_register::ValueType): Now
        protected.

17 years ago * Makefile.in (DLL_OFILES): Add fhandler_procnet.o.
corinna [Wed, 17 Jan 2007 19:26:57 +0000 (19:26 +0000)]
* Makefile.in (DLL_OFILES): Add fhandler_procnet.o.
* autoload.cc (GetAdaptersAddresses): Define.
* devices.h (FH_PROCNET): Define new device.
* devices.in (dev_procnet_storage): Add "/proc/net" entry.
* devices.cc: Regenerate.
* dir.cc (readdir_worker): Use isproc_dev macro.
* dtable.cc (build_fh_pc): Add FH_PROCNET.
* fhandler.h (class fhandler_procnet): New class.
* fhandler_proc.cc: Add "net" subdirectory handling.
* fhandler_procnet.cc: New file handling "/proc/net" directory.
* path.cc (isvirtual_dev): Move to path.h.
* path.h (isproc_dev): New macro to identify /proc files by device.
(isvirtual_dev): Moved here.  Define using isproc_dev.
* syscalls.cc (unlink): Use isproc_dev macro.
* wincap.h (wincapc::has_gaa_prefixes): New element.
(wincapc::has_gaa_on_link_prefix): New element.
* wincap.cc: Implement above elements throughout.
(wincapc::init): Check XP for service pack and set has_gaa_prefixes
appropriately.
* include/cygwin/in6.h: Include asm/byteorder.h.

17 years ago2007-01-17 H.J. Lu <hongjiu.lu@intel.com>
hjl [Wed, 17 Jan 2007 19:17:15 +0000 (19:17 +0000)]
2007-01-17  H.J. Lu  <hongjiu.lu@intel.com>

* ld-elf/header.d: Adjust for .text section with 16byte
alignment.

17 years ago * include/asm/socket.h (SIOGIFINDEX): Define.
corinna [Wed, 17 Jan 2007 13:43:47 +0000 (13:43 +0000)]
* include/asm/socket.h (SIOGIFINDEX): Define.

17 years ago * mmap.cc (MapView9x): Note possible uselessness of retrying.
corinna [Wed, 17 Jan 2007 10:49:23 +0000 (10:49 +0000)]
* mmap.cc (MapView9x): Note possible uselessness of retrying.
(MapViewNT): Ditto.
(mmap64): Fix pre-reservation to work for non NULL, non MAP_FIXED.

17 years ago*** empty log message ***
gdbadmin [Wed, 17 Jan 2007 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

17 years agodaily update
amodra [Tue, 16 Jan 2007 23:00:08 +0000 (23:00 +0000)]
daily update

17 years ago2007-01-16 H.J. Lu <hongjiu.lu@intel.com>
hjl [Tue, 16 Jan 2007 18:55:06 +0000 (18:55 +0000)]
2007-01-16  H.J. Lu  <hongjiu.lu@intel.com>

* ld-elf/dl1main.c (main): Fix a typo.

17 years ago * autoload.cc (RtlAnsiStringToUnicodeString): Define.
corinna [Tue, 16 Jan 2007 18:01:06 +0000 (18:01 +0000)]
* autoload.cc (RtlAnsiStringToUnicodeString): Define.
(RtlOemStringToUnicodeString): Define.
* ntdll.h (struct _RTL_USER_PROCESS_PARAMETERS): Define.
(struct _PEB): Redefine with a bit of content.
(RtlAnsiStringToUnicodeString): Declare.
(RtlOemStringToUnicodeString): Declare.
* path.cc: Include ntdll.h.
(_upp): New global variable pointing to user process parameter block.
(get_user_proc_parms): New static function to retrieve user process
parameter block.
(close_user_proc_parms_cwd_handle): New function to close handle to
current working directory in user process parameter block.
(cwdstuff::init): Drop redundant declaration of dynamically_loaded.
Set current dir only on 9x.  Call close_user_proc_parms_cwd_handle
on NT instead.
(cwdstuff::keep_in_sync): Only on 9x.
(cwdstuff::set): Keep behaviour on 9x.  On NT write cwd path into user
process parameter block and set cwd handle to NULL.  Fix comments to
reflect new behaviour.

17 years agobfd/
hjl [Tue, 16 Jan 2007 14:56:30 +0000 (14:56 +0000)]
bfd/

2007-01-16  H.J. Lu  <hongjiu.lu@intel.com>

PR ld/3831
* elf-bfd.h (bfd_elf_link_mark_dynamic_symbol): Add an
argument, Elf_Internal_Sym *.

* elflink.c (bfd_elf_link_mark_dynamic_symbol): Mark a data
symbol dynamic if info->dynamic_data is TRUE.
(bfd_elf_record_link_assignment): Updated call to
bfd_elf_record_link_assignment.
(_bfd_elf_merge_symbol): Likewise.  Always call
bfd_elf_link_mark_dynamic_symbol.

include/

2007-01-16  H.J. Lu  <hongjiu.lu@intel.com>

PR ld/3831
* bfdlink.h (bfd_link_info): Rename dynamic to dynamic_list.
Add dynamic and dynamic_data.

ld/

2007-01-16  H.J. Lu  <hongjiu.lu@intel.com>

PR ld/3831
* NEWS: Mention -Bsymbolic-functions, --dynamic-list-data and
--dynamic-list-cpp-new.

* ld.texinfo: Document -Bsymbolic-functions, --dynamic-list-data
and --dynamic-list-cpp-new.

* ldlang.c (lang_append_dynamic_list_cpp_new): New.
(lang_process): Change link_info.dynamic to
link_info.dynamic_list.
(lang_append_dynamic_list): Likewise.
* ldmain.c (main): Likewise.  Initialize link_info.dynamic and
link_info.dynamic_data to FALSE.

* ldlang.h (lang_append_dynamic_list_cpp_new): New.

* lexsup.c (option_values): Add OPTION_DYNAMIC_LIST_DATA and
OPTION_DYNAMIC_LIST_CPP_NEW.
(ld_options): Add entries for -Bsymbolic-functions,
--dynamic-list-data and --dynamic-list-cpp-new.  Make
-Bsymbolic-functions an alias of --dynamic-list-data.
(parse_args): Change link_info.dynamic to link_info.dynamic_list.
Set link_info.dynamic to TRUE for --dynamic-list and
--dynamic-list-cpp-typeinfo.  Handle --dynamic-list-data and
--dynamic-list-cpp-new.

ld/testsuite/

2007-01-16  H.J. Lu  <hongjiu.lu@intel.com>

PR ld/3831
* ld-elf/del.cc: New.
* ld-elf/dl5.cc: Likewise.
* ld-elf/dl5.out: Likewise.
* ld-elf/new.cc: Likewise.

* ld-elf/shared.exp: Add tests for --dynamic-list-data and
 --dynamic-list-cpp-new.

17 years ago * fhandler_socket.cc (fhandler_socket::ioctl): Handle SIOCGIFINDEX.
corinna [Tue, 16 Jan 2007 12:01:36 +0000 (12:01 +0000)]
* fhandler_socket.cc (fhandler_socket::ioctl): Handle SIOCGIFINDEX.
* net.cc (get_2k_ifconf): Ditto.
(get_nt_ifconf): Fake SIOCGIFINDEX.
(get_95_ifconf): Ditto.
(get_ifconf): Handle SIOCGIFINDEX.  Fake it for loopback on systems
not supporting IP Helper Lib.
* include/asm/socket.h (SIOCGIFINDEX): Define.
* include/cygwin/if.h (struct ifreq): Add member for interface index.
(ifr_ifindex): Define.

17 years ago * include/cygwin/in6.h (struct ipv6_mreq): Change type of interface
corinna [Tue, 16 Jan 2007 11:41:55 +0000 (11:41 +0000)]
* include/cygwin/in6.h (struct ipv6_mreq): Change type of interface
member to uint32_t.
(struct in6_pktinfo): Ditto.

17 years ago * include/cygwin/in.h (struct ip_mreq_source): Define.
corinna [Tue, 16 Jan 2007 11:37:05 +0000 (11:37 +0000)]
* include/cygwin/in.h (struct ip_mreq_source): Define.
(struct ip_msfilter): Define.
(IP_MSFILTER_SIZE): Define.
(struct in_pktinfo): Define.
(struct group_req): Define.
(struct group_source_req): Define.
(struct group_filter): Define.
(GROUP_FILTER_SIZE): Define.
(INADDR_ALLRTRS_GROUP): Define.
* include/cygwin/socket.h: Define protocol agnostic multicast options.

17 years agoFix 'selected frame' varobjs.
vprus [Tue, 16 Jan 2007 02:12:48 +0000 (02:12 +0000)]
Fix 'selected frame' varobjs.
        * varobj.c (struct varobj): Remove the error field.
        (varobj_set_value): Don't check var->error.
        (install_new_value): Don't set var->error.
        (varobj_update): Always pass the new value
        of the root via install_new_value.
        (create_child): Don't set error field.
        (new_variable): Likewise.
        (c_value_of_root): Always reevaluate the value
        of selected frame varobjs in the selected frame.
        Don't call reinit_frame_cache.

17 years ago*** empty log message ***
gdbadmin [Tue, 16 Jan 2007 00:00:35 +0000 (00:00 +0000)]
*** empty log message ***

17 years ago * corefile.c (parse_error): New function.
bje [Mon, 15 Jan 2007 23:26:08 +0000 (23:26 +0000)]
* corefile.c (parse_error): New function.
(read_function_mappings): Check calls to fscanf and report any
errors in parsing the mapping file.

17 years agodaily update
amodra [Mon, 15 Jan 2007 23:00:07 +0000 (23:00 +0000)]
daily update

17 years ago2007-01-15 Joseph Myers <joseph@codesourcery.com>
jjohnstn [Mon, 15 Jan 2007 16:41:07 +0000 (16:41 +0000)]
2007-01-15  Joseph Myers  <joseph@codesourcery.com>
            Kazu Hirata  <kazu@codesourcery.com>

        * libc/machine/powerpc/setjmp.S (setjmp, longjmp): Add support
        for E500V1 and E500V2.

17 years ago * CYGWIN_LICENSE: Fix web pages and contact information.
corinna [Mon, 15 Jan 2007 12:19:01 +0000 (12:19 +0000)]
* CYGWIN_LICENSE: Fix web pages and contact information.

17 years ago * ntdll.h: Adjust status definitions.
corinna [Mon, 15 Jan 2007 11:11:37 +0000 (11:11 +0000)]
* ntdll.h: Adjust status definitions.

17 years ago * cygheap.cc (cygheap_init): Add TODO comment.
corinna [Mon, 15 Jan 2007 11:01:23 +0000 (11:01 +0000)]
* cygheap.cc (cygheap_init): Add TODO comment.

17 years ago * ntdll.h (STATUS_SHARING_VIOLATION): Define.
corinna [Mon, 15 Jan 2007 10:52:15 +0000 (10:52 +0000)]
* ntdll.h (STATUS_SHARING_VIOLATION): Define.

17 years ago * source.c (_initialize_source): Improve the help text of
brobecke [Mon, 15 Jan 2007 03:57:39 +0000 (03:57 +0000)]
    * source.c (_initialize_source): Improve the help text of
        the substitute-path commands.

17 years ago*** empty log message ***
gdbadmin [Mon, 15 Jan 2007 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***

17 years agodaily update
amodra [Sun, 14 Jan 2007 23:00:07 +0000 (23:00 +0000)]
daily update

17 years ago2007-01-14 H.J. Lu <hongjiu.lu@intel.com>
hjl [Sun, 14 Jan 2007 15:39:40 +0000 (15:39 +0000)]
2007-01-14  H.J. Lu  <hongjiu.lu@intel.com>

* ld-symbolic.m4: New.

17 years ago * frv-tdep.c (frv_gdbarch_init, frv_register_name)
kettenis [Sun, 14 Jan 2007 14:35:51 +0000 (14:35 +0000)]
* frv-tdep.c (frv_gdbarch_init, frv_register_name)
(frv_breakpoint_from_pc, frv_gdbarch_adjust_breakpoint_address)
(frv_skip_prologue): Remove prototypes.
(frv_adjust_breakpoint_address): Renamed from
frv_gdbarch_adjust_breakpoint_address.
(frv_gdbarch_init): Adjust.

17 years ago*** empty log message ***
gdbadmin [Sun, 14 Jan 2007 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

17 years ago * gdbarch.sh (deprecated_extract_return_value)
kettenis [Sat, 13 Jan 2007 23:24:42 +0000 (23:24 +0000)]
* gdbarch.sh (deprecated_extract_return_value)
(deprecated_store_return_value): Remove.
(extract_return_value, store_return_value): Remove default values.
* gdbarch.c, gdbarch.h: Regenerate.
* arch-utils.c, arch-utils.h (legacy_extract_return_value)
(legacy_store_return_value): Remove.
* regcache.c, regcache.h (deprecated_grub_regcache_for_registers):
Remove.

17 years agodaily update
amodra [Sat, 13 Jan 2007 23:00:09 +0000 (23:00 +0000)]
daily update

17 years ago * mi/mi-main.c: Remove obsolete comment.
kettenis [Sat, 13 Jan 2007 22:36:59 +0000 (22:36 +0000)]
* mi/mi-main.c: Remove obsolete comment.

17 years ago * regcache.c, regcache.h (deprecated_register_bytes)
kettenis [Sat, 13 Jan 2007 22:32:13 +0000 (22:32 +0000)]
* regcache.c, regcache.h (deprecated_register_bytes)
(deprecated_read_register_bytes)
(deprecated_write_register_bytes): Remove.

17 years ago * syscalls.cc (unlink_nt): Don't move files to recycle bin which are
corinna [Sat, 13 Jan 2007 20:56:00 +0000 (20:56 +0000)]
* syscalls.cc (unlink_nt): Don't move files to recycle bin which are
not in use.

17 years ago* frame.c (get_frame_register_bytes, put_frame_register_bytes):
kettenis [Sat, 13 Jan 2007 19:44:42 +0000 (19:44 +0000)]
* frame.c (get_frame_register_bytes, put_frame_register_bytes):
Don't forget to move destination pointer.

17 years ago2007-01-13 H.J. Lu <hongjiu.lu@intel.com>
hjl [Sat, 13 Jan 2007 16:47:59 +0000 (16:47 +0000)]
2007-01-13  H.J. Lu  <hongjiu.lu@intel.com>

* config/tc-i386.c (build_modrm_byte): Check number of operands
when procssing memory/register operand.

17 years ago* glob.cc: Update copyright notice with latest from FreeBSD.
cgf [Sat, 13 Jan 2007 07:10:13 +0000 (07:10 +0000)]
* glob.cc: Update copyright notice with latest from FreeBSD.
(glob0): Use correct type for c variable to propagate previously detected
protection.

17 years ago*** empty log message ***
gdbadmin [Sat, 13 Jan 2007 00:00:34 +0000 (00:00 +0000)]
*** empty log message ***

17 years agodaily update
amodra [Fri, 12 Jan 2007 23:00:09 +0000 (23:00 +0000)]
daily update

17 years ago* gdb.mi/mi-basics.exp, gdb.mi/mi2-basics.exp (test_dir_specification)
nickrob [Fri, 12 Jan 2007 21:31:35 +0000 (21:31 +0000)]
* gdb.mi/mi-basics.exp, gdb.mi/mi2-basics.exp (test_dir_specification)
(test_path_specification): Use objdir instead of srcdir to always
get an absolute filename.

17 years ago*** empty log message ***
nickrob [Fri, 12 Jan 2007 21:30:07 +0000 (21:30 +0000)]
*** empty log message ***

17 years ago * gdb.cp/member-ptr.cc (class Padding): Make contents public.
drow [Fri, 12 Jan 2007 20:15:47 +0000 (20:15 +0000)]
* gdb.cp/member-ptr.cc (class Padding): Make contents public.

17 years ago * cygheap.cc (_csbrk): Fix off-by-one error.
corinna [Fri, 12 Jan 2007 19:40:19 +0000 (19:40 +0000)]
* cygheap.cc (_csbrk): Fix off-by-one error.
* cygwin.sc: Give .cygheap a minimum size of 512K.

17 years ago* external.cc (sync_winenv): Use cur_environ () rather than __cygwin_environ.
cgf [Fri, 12 Jan 2007 15:40:12 +0000 (15:40 +0000)]
* external.cc (sync_winenv): Use cur_environ () rather than __cygwin_environ.

17 years ago * fork.cc (child_copy): Add missing Windows PID in debug output.
corinna [Fri, 12 Jan 2007 15:26:00 +0000 (15:26 +0000)]
* fork.cc (child_copy): Add missing Windows PID in debug output.

17 years ago * syscalls.cc: Update copyright.
corinna [Fri, 12 Jan 2007 14:16:42 +0000 (14:16 +0000)]
* syscalls.cc: Update copyright.

17 years ago2076-01-12 H.J. Lu <hongjiu.lu@intel.com>
hjl [Fri, 12 Jan 2007 13:53:58 +0000 (13:53 +0000)]
2076-01-12  H.J. Lu  <hongjiu.lu@intel.com>

* Makefile.am (BFD_LIBS): Removed.
* Makefile.in: Regenerated.

17 years agorevert 2007-01-11 Nathan Sidwell <nathan@codesourcery.com>
nathan [Fri, 12 Jan 2007 11:36:20 +0000 (11:36 +0000)]
revert 2007-01-11  Nathan Sidwell  <nathan@codesourcery.com>
* lib/gdb.exp (gdb_compile_test): New.
(skip_ada_tests, skip_java_tests): New.
(gdb_compile): Use gdb_compile_test for f77.
* lib/ada.exp (gdb_compile_ada): Use gdb_compile_test to record result.
* lib/java.exp (compile_java_from_source): Remove runtests check,
use gdb_compile_test to record result.
* gdb.ada/packed_array.exp, gdb.ada/fixed_points.exp,
gdb.ada/exec_changed.exp, gdb.ada/start.exp,
gdb.ada/watch_arg.exp, gdb.ada/null_record.exp,
gdb.ada/array_return.exp, gdb.ada/arrayidx.exp,
gdb.mi/mi-var-child-f.exp, gdb.fortran/types.exp,
gdb.fortran/array-element.exp, gdb.fortran/subarray.exp,
gdb.fortran/derived-type.exp, gdb.fortran/exprs.exp,
gdb.java/jmisc.exp, gdb.java/jprint.exp,
gdb.java/jv-print.exp, gdb.java/jmain.exp: Add language skip,
adjust gdb_compile invocations.

17 years agoPR gas/3856
nickc [Fri, 12 Jan 2007 10:57:01 +0000 (10:57 +0000)]
PR gas/3856
* macro.c (expand_irp): Do not ignore spaces inside quoted strings.

17 years agomissed from last commit
amodra [Fri, 12 Jan 2007 06:27:20 +0000 (06:27 +0000)]
missed from last commit

17 years ago * config/tc-spu.h (TC_RELOC_RTSYM_LOC_FIXUP): Delete.
amodra [Fri, 12 Jan 2007 06:23:52 +0000 (06:23 +0000)]
* config/tc-spu.h (TC_RELOC_RTSYM_LOC_FIXUP): Delete.
* config/tc-m32r.h (TC_RELOC_RTSYM_LOC_FIXUP): Delete.
* config/tc-mn10300.h (TC_RELOC_RTSYM_LOC_FIXUP): Delete.
(TC_FORCE_RELOCATION): Define.
(TC_FORCE_RELOCATION_LOCAL): Define.
* config/tc-mn10300.c (mn10300_fix_adjustable): Adjust.

17 years ago2076-01-11 H.J. Lu <hongjiu.lu@intel.com>
hjl [Fri, 12 Jan 2007 04:04:06 +0000 (04:04 +0000)]
2076-01-11  H.J. Lu  <hongjiu.lu@intel.com>

PR binutils/3631
* Makefile.am (OFILES): Add @bfd64_libs@.
(libbfd_la_SOURCES): Remove $(BFD64_LIBS_CFILES).
* Makefile.in: Regenerated.

* configure.in (bfd_libs): Replaced by ...
(bfd64_libs): This.
* configure: Regenerated.

17 years ago * input-file.c (input_file_open): Check fgets return.
amodra [Fri, 12 Jan 2007 03:14:01 +0000 (03:14 +0000)]
* input-file.c (input_file_open): Check fgets return.

17 years ago * ar.c (open_inarch): Check fwrite return. Use size_t.
amodra [Fri, 12 Jan 2007 03:12:55 +0000 (03:12 +0000)]
* ar.c (open_inarch): Check fwrite return.  Use size_t.
(extract_file): Likewise.  Remove test for "negative" file size.
* readelf.c (process_program_headers): Check fscanf return.

17 years ago * pex-unix.c (writeerr): Cast write result to void.
bje [Fri, 12 Jan 2007 02:21:52 +0000 (02:21 +0000)]
* pex-unix.c (writeerr): Cast write result to void.

17 years ago * ld-elf/header.d: Allow arbitrary lines between "Program Header"
hp [Fri, 12 Jan 2007 01:57:27 +0000 (01:57 +0000)]
* ld-elf/header.d: Allow arbitrary lines between "Program Header"
and "Sections".  Only run on *-*-linux*.

17 years agomerge from gcc
dj [Fri, 12 Jan 2007 01:19:04 +0000 (01:19 +0000)]
merge from gcc

17 years ago * choose-temp.c (choose_temp_base): Check the result of the call
bje [Fri, 12 Jan 2007 00:39:10 +0000 (00:39 +0000)]
* choose-temp.c (choose_temp_base): Check the result of the call
to mktemp rather than testing the length of the modified string.

17 years ago*** empty log message ***
gdbadmin [Fri, 12 Jan 2007 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***