OSDN Git Service

pf3gnuchains/pf3gnuchains4x.git
16 years ago2008-07-18 H.J. Lu <hongjiu.lu@intel.com>
hjl [Fri, 18 Jul 2008 12:45:33 +0000 (12:45 +0000)]
2008-07-18  H.J. Lu  <hongjiu.lu@intel.com>

PR ld/6748
* elf32-arm.c (elf32_arm_link_hash_table_create): Initialize
new fields added for ARM long call support.

16 years ago * fhandler.cc (fhandler_base::open): Rename x to fh. On Samba, always
corinna [Fri, 18 Jul 2008 12:21:21 +0000 (12:21 +0000)]
* fhandler.cc (fhandler_base::open): Rename x to fh.  On Samba, always
create file with NULL security descriptor and set the permissions
afterwards.  Explain why.

16 years ago * pe-arm-wince.c (pe_print_compressed_pdata): Define new function to
nickc [Fri, 18 Jul 2008 11:30:22 +0000 (11:30 +0000)]
    * pe-arm-wince.c (pe_print_compressed_pdata): Define new function to
        print compressed pdata structure as described on MSDN. This only
        applies to a limited set of architectures (ARM, SH4).
        (slurp_symtab, my_symbol_for_address): Define static helper
        functions for pe_print_compressed_pdata.
        * coffcode.h (bfd_coff_backend_data): Add _bfd_coff_print_pdata field.
        (bfd_coff_have_print_pdata, bfd_coff_print_pdata): Define.
        * bfd/peXXigen.c (_bfd_XX_print_private_bfd_data_common): Add check on
        bfd_coff_backend_data, call the function if non-null.
        * pei-mcore.c: Add target dependent initialisation for
        bfd_coff_backend_data.
        * coff-sh.c: Likewise.
        * coff64-rs6000.c: Likewise.
        * coff-rs6000.c: Likewise.
        * libcoff-in.h: Likewise.
        * cf-i386lynx.c: Likewise.
        * coff-alpha.c: Likewise.
        * coff-apollo.c: Likewise.
        * coff-arm.c: Likewise.
        * coff-aux.c: Likewise.
        * coff-h8300.c: Likewise.
        * coff-h8500.c: Likewise.
        * coff-i386.c: Likewise.
        * coff-i860.c: Likewise.
        * coff-i960.c: Likewise.
        * coff-ia64.c: Likewise.
        * coff-m68k.c: Likewise.
        * coff-m88k.c: Likewise.
        * coff-maxq.c: Likewise.
        * coff-mips.c: Likewise.
        * coff-or32.c: Likewise.
        * coff-sparc.c: Likewise.
        * coff-tic30.c: Likewise.
        * coff-tic4x.c: Likewise.
        * coff-tic54x.c: Likewise.
        * coff-tic80.c: Likewise.
        * coff-w65.c: Likewise.
        * coff-we32k.c: Likewise.
        * coff-x86_64.c: Likewise.
        * coff-z80.c: Likewise.
        * coff-z8k.c: Likewise.
        * pe-mcore.c: Likewise.
        * pe-mips.c: Likewise.
        * pe-ppc.c: Likewise.
        * peXXigen.c: Likewise.
        * pei-ppc.c: Likewise.
        * libcoff.h: Regenerate.

16 years ago * cygwinenv.sgml: Move binmode option to list of removed options.
corinna [Fri, 18 Jul 2008 08:17:28 +0000 (08:17 +0000)]
* cygwinenv.sgml: Move binmode option to list of removed options.

16 years ago * environ.cc (known): Remove "binmode" option.
corinna [Fri, 18 Jul 2008 08:16:39 +0000 (08:16 +0000)]
* environ.cc (known): Remove "binmode" option.
* fhandler.cc (binmode): Remove.
(fhandler_base::set_flags): Accommodate binmode removal.
* path.h (path_conv::set_binary): Remove.
* pipe.cc (pipe): Create pipes always as binary pipes.
* winsup.h (binmode): Remove declaration.

16 years ago * symtab.cc (Symbol_table::add_from_object): Rewrite the case
ian [Fri, 18 Jul 2008 07:03:27 +0000 (07:03 +0000)]
* symtab.cc (Symbol_table::add_from_object): Rewrite the case
where we see NAME/NULL and NAME/VERSION  as separate symbols.
* testsuite/ver_test_main.cc (main): Call t4.
(t4, t4_2a): Define.
* testsuite/ver_test_2.cc (t4_2): Define.
* testsuite/ver_test_2.script: Put t4_2a in VER2.
* testsuite/ver_test_4.cc (t4_2a): Define.
* testsuite/ver_test_4.script: Put t4_2a in VER2.
* testsuite/ver_test.h (t4, t4_2, t4_2a): Declare.

16 years ago * dynobj.cc (Versions::add_def): If we give an error about a
ian [Fri, 18 Jul 2008 06:58:04 +0000 (06:58 +0000)]
* dynobj.cc (Versions::add_def): If we give an error about a
missing version, go ahead and create the version anyhow.

16 years agodaily update
amodra [Fri, 18 Jul 2008 00:00:05 +0000 (00:00 +0000)]
daily update

16 years ago*** empty log message ***
gdbadmin [Fri, 18 Jul 2008 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

16 years agoFix for Linux/VDSO failure.
ppluzhnikov [Thu, 17 Jul 2008 20:57:26 +0000 (20:57 +0000)]
Fix for Linux/VDSO failure.

16 years ago2008-07-17 Jeff Johnston <jjohnstn@redhat.com>
jjohnstn [Thu, 17 Jul 2008 20:56:51 +0000 (20:56 +0000)]
2008-07-17  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/include/assert.h (__ASSERT_FUNC): Define to __FUNCTION__ when
        __STDC_VERSION__ < 199901L and __GNUC__ >= 2.

16 years agoFix for failing gdb.base/auxv.exp on Linux
ppluzhnikov [Thu, 17 Jul 2008 20:56:11 +0000 (20:56 +0000)]
Fix for failing gdb.base/auxv.exp on Linux

16 years ago2008-07-17 Ken Werner <ken.werner@de.ibm.com>
jjohnstn [Thu, 17 Jul 2008 19:04:26 +0000 (19:04 +0000)]
2008-07-17  Ken Werner  <ken.werner@de.ibm.com>

        * spu/syscalls.c: Check and set the errno value.

16 years agoFix for gdb.base/corefile.exp failure on Linux
ppluzhnikov [Thu, 17 Jul 2008 19:01:44 +0000 (19:01 +0000)]
Fix for gdb.base/corefile.exp failure on Linux

16 years ago2008-07-17 Ken Werner <ken.werner@de.ibm.com>
jjohnstn [Thu, 17 Jul 2008 19:00:43 +0000 (19:00 +0000)]
2008-07-17  Ken Werner  <ken.werner@de.ibm.com>

        * libc/machine/spu/strcpy.h: Pad null bytes if necessary.

16 years ago * mount.cc (do_mount): Remove MOUNT_ENC code.
corinna [Thu, 17 Jul 2008 15:07:48 +0000 (15:07 +0000)]
* mount.cc (do_mount): Remove MOUNT_ENC code.
(oopts): Remove "managed" option.
(mount_commands): Drop "managed" handling.
* path.cc (oopts): Remove "managed" option.
(getmntent): Remove MOUNT_ENC code.

16 years ago * mount.cc (mount_info::from_fstab_line): Default to binary mount.
corinna [Thu, 17 Jul 2008 14:14:34 +0000 (14:14 +0000)]
* mount.cc (mount_info::from_fstab_line): Default to binary mount.

16 years ago * Revamp documentation for Cygwin 1.7, part 1.
corinna [Thu, 17 Jul 2008 11:49:45 +0000 (11:49 +0000)]
* Revamp documentation for Cygwin 1.7, part 1.

16 years ago * utils.sgml: Add id's to all examples.
corinna [Thu, 17 Jul 2008 10:32:03 +0000 (10:32 +0000)]
* utils.sgml: Add id's to all examples.

16 years ago * utils.sgml: Add id's to all examples.
corinna [Thu, 17 Jul 2008 10:31:51 +0000 (10:31 +0000)]
* utils.sgml: Add id's to all examples.

16 years agodaily update
amodra [Thu, 17 Jul 2008 00:00:05 +0000 (00:00 +0000)]
daily update

16 years ago*** empty log message ***
gdbadmin [Thu, 17 Jul 2008 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

16 years ago * path.cc (allow_winsymlinks): Revert default to create system bit
corinna [Wed, 16 Jul 2008 21:08:22 +0000 (21:08 +0000)]
* path.cc (allow_winsymlinks): Revert default to create system bit
symlinks for speed.

16 years ago Add case-sensitivity.
corinna [Wed, 16 Jul 2008 20:20:44 +0000 (20:20 +0000)]
Add case-sensitivity.
Unconditionally handle mount points case-sensitive.
Unconditionally handle virtual paths case-sensitive.
Unconditionally handle registry paths case-insensitive.
Otherwise, accommodate case-sensitivity of given path throughout.
* cygheap.cc (cygheap_root::set): Get additional caseinsensitive
parameter and store it.
* cygheap.h (struct cygheap_root_mount_info): Add member
caseinsensitive.
* dlfcn.cc (get_full_path_of_dll): Drop PC_NOFULL parameter from call
to path_conv::check.
* environ.cc (pcheck_case): Remove.
(check_case_init): Remove.
(known): Drop "check_case" option.
* exceptions.cc (open_stackdumpfile): Add comment.
* fhandler.cc (fhandler_base::get_default_fmode): Call pathmatch
instead of strcasematch.
* fhandler_disk_file.cc: Accommodate case-sensitivity of given path
throughout.
(__DIR_mounts::check_mount): Unconditionally check virtual paths
case-sensitive.
(fhandler_disk_file::link): Drop case clash handling.
(fhandler_disk_file::open): Ditto.
(fhandler_disk_file::readdir_helper): Drop managed mount code.
* mount.cc: Remove managed mount code and datastructures.
(struct opt): Remove "managed" option.  Add "posix=0" and "posix=1"
options.
(fillout_mntent): Remove "managed" output.  Add "posix" output.
* path.cc (struct symlink_info): Remove case_clash member and
case_check method.
(pcheck_case): Remove.
(path_prefix_p): Take additional bool parameter "caseinsensitive".
(pathnmatch): Ditto.
(pathmatch): Ditto.
(mkrelpath): Ditto.
(fs_info::update): Set caseinsensitive flag according to file system
name and FILE_CASE_SENSITIVE_SEARCH flag.  Add comment.
(tfx_chars_managed): Remove.
(transform_chars): Drop "managed" parameter.  Always use tfx_chars.
(get_nt_native_path): Drop "managed" parameter.  Make sure drive letters
are always upper case.
(getfileattr): Change second parameter to denote caseinsensitivity.
(path_conv::check): Initialize caseinsensitive to OBJ_CASE_INSENSITIVE.
Set caseinsensitive according to global obcaseinsensitive flag, file
system case sensitivity and MOUNT_NOPOSIX mount flag.
Drop case_clash and all the related code.
(symlink_worker): Drop case clash handling.
(symlink_info::set): Drop setting case_clash.
(symlink_info::case_check): Remove.
(cwdstuff::set): Add comment.
(etc::init): Take path_conv instead of PUNICODE_STRING as parameter to
allow case sensitivity.
* path.h (enum pathconv_arg): Drop PC_SYM_IGNORE.
(enum case_checking): Remove.
(enum path_types): Drop PATH_ENC, add PATH_NOPOSIX flag.
(struct fs_info): Add caseinsensitive flag and accessor methods.
(class path_conv): Add caseinsensitive member and define
objcaseinsensitive method.  Drop case_clash member and isencoded method.
(pathmatch): Change prototype according to above change.
(pathnmatch): Ditto.
(path_prefix_p): Ditto.
(get_nt_native_path): Ditto.
(class etc): Ditto.
(fnunmunge): Remove prototype.
* shared.cc (shared_info::init_obcaseinsensitive): Initialize
obcaseinsensitive flag from obcaseinsensitive registry value.
(shared_info::initialize): Call init_obcaseinsensitive here by the
first process creating the shared memory.
* shared_info.h (mount_item::fnmunge): Remove.
(shared_info::obcaseinsensitive): Rename from obcaseinsensitivity.
(shared_info::init_obcaseinsensitive): Declare.
* syscalls.cc (try_to_bin): Add comment.
* include/sys/mount.h (MOUNT_ENC): Remove flag.
(MOUNT_NOPOSIX): Add flag.

16 years ago * cyglsa-config: Always create a /bin/cyglsa directory and copy the
corinna [Wed, 16 Jul 2008 19:33:54 +0000 (19:33 +0000)]
* cyglsa-config: Always create a /bin/cyglsa directory and copy the
LSA DLL there.  Register this copy in the registry.

16 years ago * elf32-bfin.c (bfin_check_relocs, bfin_relocate_section,
bernds [Wed, 16 Jul 2008 15:27:05 +0000 (15:27 +0000)]
* elf32-bfin.c (bfin_check_relocs, bfin_relocate_section,
bfin_final_link_relocate, bfin_gc_mark_hook, bfin_gc_sweep_hook,
ELF_DYNAMIC_INTERPRETER, DEFAULT_STACK_SIZE,
struct _bfinfdpic_dynamic_got_info): Moved around to keep FD-PIC code
separate from non-FD-PIC.

16 years agodaily update
amodra [Wed, 16 Jul 2008 00:00:05 +0000 (00:00 +0000)]
daily update

16 years ago*** empty log message ***
gdbadmin [Wed, 16 Jul 2008 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

16 years agoRevert frame_unwind_caller_pc / frame_unwind_caller_id.
drow [Tue, 15 Jul 2008 23:29:24 +0000 (23:29 +0000)]
Revert frame_unwind_caller_pc / frame_unwind_caller_id.

16 years ago* valops.c (value_cast_pointers): Follow typedefs when checking
schwab [Tue, 15 Jul 2008 22:13:42 +0000 (22:13 +0000)]
* valops.c (value_cast_pointers): Follow typedefs when checking
result of coercion.

16 years agoFix for 'FAIL: gdb.cp/class2.exp: p acp->c2' on spu-elf
ppluzhnikov [Tue, 15 Jul 2008 19:15:28 +0000 (19:15 +0000)]
Fix for 'FAIL: gdb.cp/class2.exp: p acp->c2' on spu-elf

16 years ago * block.c (block_function): Renamed to ...
drow [Tue, 15 Jul 2008 19:11:34 +0000 (19:11 +0000)]
* block.c (block_function): Renamed to ...
(block_linkage_function): ... this.  All callers changed.
* block.h (block_function): Renamed to ...
(block_linkage_function): ... this.

16 years ago * frame.c (frame_unwind_id): Renamed to ...
drow [Tue, 15 Jul 2008 18:58:32 +0000 (18:58 +0000)]
* frame.c (frame_unwind_id): Renamed to ...
(frame_unwind_caller_id): ... this.  All callers updated.
(frame_pc_unwind): Renamed to ...
(frame_unwind_caller_pc): ... this.  All callers updated.
* frame.h: Document frame_unwind_caller_WHAT functions.
(frame_unwind_id): Renamed to ...
(frame_unwind_caller_id): ... this.
(frame_pc_unwind): Renamed to ...
(frame_unwind_caller_pc): ... this.
* hppa-tdep.c (hppa_find_unwind_entry_in_block): Correct comment.
* stack.c (parse_frame_specification_1): Do not rely on
frame_unwind_id.

16 years ago * mn10300-tdep.c (set_reg_offsets): Use get_frame_register_unsigned.
drow [Tue, 15 Jul 2008 18:52:17 +0000 (18:52 +0000)]
* mn10300-tdep.c (set_reg_offsets): Use get_frame_register_unsigned.

16 years ago * frame.c (frame_sp_unwind): Delete.
drow [Tue, 15 Jul 2008 18:50:15 +0000 (18:50 +0000)]
* frame.c (frame_sp_unwind): Delete.
(get_frame_sp): Do not use it.
* frame.h (frame_sp_unwind): Delete prototype.

16 years ago2008-07-15 H.J. Lu <hongjiu.lu@intel.com>
hjl [Tue, 15 Jul 2008 18:48:34 +0000 (18:48 +0000)]
2008-07-15  H.J. Lu  <hongjiu.lu@intel.com>

* objdump.c (load_debug_section): Initialize section_is_compressed
for gcc 3.4/ia64.
* readelf.c (load_debug_section): Likewise.

16 years ago* elf-m10300.c (mn10300_elf_final_link_relocate): Correct overflow
dj [Tue, 15 Jul 2008 18:48:07 +0000 (18:48 +0000)]
* elf-m10300.c (mn10300_elf_final_link_relocate): Correct overflow
checks for PCREL8, PCREL16, GOTPC16, GOTOFF16, PLT16, and GOT16
relocs.
(mn10300_elf_relax_section): Correct jump offset check when target
is in a different section.

16 years ago * ia64-tdep.c (ia64_dummy_id): Use get_frame_pc.
drow [Tue, 15 Jul 2008 18:45:42 +0000 (18:45 +0000)]
* ia64-tdep.c (ia64_dummy_id): Use get_frame_pc.

16 years agoAdd missing ChangeLog entries for
hjl [Tue, 15 Jul 2008 18:44:18 +0000 (18:44 +0000)]
Add missing ChangeLog entries for

http://sourceware.org/ml/binutils-cvs/2008-05/msg00092.html

16 years ago* dwarf2-frame.c (dwarf2_frame_cache): Update comment.
drow [Tue, 15 Jul 2008 18:40:02 +0000 (18:40 +0000)]
* dwarf2-frame.c (dwarf2_frame_cache): Update comment.

* frame.c (frame_unwind_address_in_block): Delete.
(get_frame_address_in_block): Do not use it.  Check the type
of the next frame first.
(frame_cleanup_after_sniffer): Update comment.
* frame.h (frame_unwind_address_in_block): Delete prototype.
* hppa-tdep.c (hppa_find_unwind_entry_in_block): Update comment.

16 years ago* frame.c (frame_func_unwind): Delete.
drow [Tue, 15 Jul 2008 18:32:05 +0000 (18:32 +0000)]
* frame.c (frame_func_unwind): Delete.

(get_frame_func): Do not use it.
* frame.h (frame_func_unwind): Delete prototype.
* hppa-tdep.c (hppa_frame_cache): Update comment.
* rs6000-tdep.c (rs6000_frame_cache): Update comment.

16 years ago * remote-sim.c (init_gdbsim_ops): Remove
shebs [Tue, 15 Jul 2008 18:08:27 +0000 (18:08 +0000)]
* remote-sim.c (init_gdbsim_ops): Remove
TARGET_REDEFINE_DEFAULT_OPS.

16 years ago * findvar.c (read_var_value): Remove unused variable.
drow [Tue, 15 Jul 2008 17:53:11 +0000 (17:53 +0000)]
* findvar.c (read_var_value): Remove unused variable.

16 years ago * infrun.c (handle_inferior_event): Tag threads as stopped
luisgpm [Tue, 15 Jul 2008 17:25:20 +0000 (17:25 +0000)]
* infrun.c (handle_inferior_event): Tag threads as stopped
before inserting breakpoints.

16 years ago bfd/
jiez [Tue, 15 Jul 2008 13:09:46 +0000 (13:09 +0000)]
bfd/
* elf32-bfin.c (elf32_bfin_special_sections[]): New.
(elf_backend_special_sections): Define.

ld/
* emulparams/elf32bfinfd.sh (OTHER_SECTIONS): Define.

16 years ago * fhandler_tape.cc (mtinfo::initialize): Remove synchronization stuff.
corinna [Tue, 15 Jul 2008 11:42:45 +0000 (11:42 +0000)]
* fhandler_tape.cc (mtinfo::initialize): Remove synchronization stuff.
Just initialize drive data.
* mtinfo.h (MTINFO_MAGIC): Remove.
(MTINFO_VERSION): Remove.
(class mtinfo): Remove magic and version members.
* shared.cc (shared_info::initialize): Move call to
get_session_parent_dir so that the dir creation is only called once.
Move call to mt.initialize so that it's called only by the first
process creating the shared memory.
* shared_info.h (SHARED_INFO_CB): Accommodate change to shared_info.
(CURR_SHARED_MAGIC): Ditto.
(class shared_info): Add obcaseinsensitivity member.

16 years ago* MAINTAINERS: Added myself to section Write After Approval.
teawater [Tue, 15 Jul 2008 09:46:48 +0000 (09:46 +0000)]
* MAINTAINERS: Added myself to section Write After Approval.

16 years ago * cyglsa.c: Include ntddk.h again, but only if __MINGW32__ is defined.
corinna [Tue, 15 Jul 2008 09:43:48 +0000 (09:43 +0000)]
* cyglsa.c: Include ntddk.h again, but only if __MINGW32__ is defined.
* cyglsa64.dll: Regenerate.
* make-64bit-version-with-visual-c.bat: Fix comment.

16 years ago*** empty log message ***
gdbadmin [Tue, 15 Jul 2008 00:00:34 +0000 (00:00 +0000)]
*** empty log message ***

16 years agodaily update
amodra [Tue, 15 Jul 2008 00:00:05 +0000 (00:00 +0000)]
daily update

16 years ago * generic/gdbtk-stack.c (gdb_block_args): Remove deprecated values
kseitz [Mon, 14 Jul 2008 23:43:36 +0000 (23:43 +0000)]
    * generic/gdbtk-stack.c (gdb_block_args): Remove deprecated values
        LOC_LOCAL_ARG, LOC_COMPUTED_ARG, LOC_REGPARM, LOC_BASEARG_ARG, and
        LOC_BASEARG.
        (gdb_get_blocks): Likewise.
        (gdb_get_vars_command): Likewise.
        Fix type-punned pointer error introduced on 03-07.

        * generic/gdbtk-cmds.c (gdbtk_load_asm): Use paddress instead
        of deprecated_print_address_numeric.
        (gdb_stop): Update use of target_stop.

        * generic/gdbtk.h (gdbtk_get_ptid): Declare new function.
        * generic/gdbtk-hooks.c (gdbtk_wait): Save inferior's ptid.
        (gdbtk_get_ptid): Define new function.
        * generic/gdbtk-varobj.c (variable_update): Update for recent
        varobj_update API change.
        * generic/gdbtk-wrapper.h (GDB_varobj_update): Likewise.
        * generic/gdbtk-wrapper.c (GDB_varobj_update): Likewise.
        (wrap_varobj_update): Likewise.

        * library/targetselection.itb (init_target_db): Initialize
        preferences here instead of ...
        (_init): ... here.
        (_init_prefs): Define gdb/load/default-portname, too.

16 years ago * fhandler.cc (fhandler_base::fpathconf): On _PC_POSIX_PERMISSIONS
corinna [Mon, 14 Jul 2008 20:46:27 +0000 (20:46 +0000)]
* fhandler.cc (fhandler_base::fpathconf): On _PC_POSIX_PERMISSIONS
and _PC_POSIX_SECURITY, return true for NFS, too.

16 years ago Throughout drop allow_ntsec and allow_smbntsec handling.
corinna [Mon, 14 Jul 2008 20:22:02 +0000 (20:22 +0000)]
Throughout drop allow_ntsec and allow_smbntsec handling.
* environ.cc (set_ntsec): Remove.
(set_smbntsec): Remove.
(known): Remove ntsec and smbntsec options.
* external.cc (check_ntsec): Return true if no filename is given.
* mount.cc (oopts): Add "acl" and "noacl" options.  Set MOUNT_NOACL
flag accordingly.
(fillout_mntent): Handle MOUNT_NOACL flag.
* path.h (enum path_types): Add PATH_NOACL.
* security.cc (allow_ntsec): Remove.
(allow_smbntsec): Remove.
* security.h (allow_ntsec): Drop declaration.
(allow_smbntsec): Drop declaration.
* include/sys/mount.h (MOUNT_NOACL): Define.

16 years ago * miscfuncs.cc (cygwin_strncasecmp): Fix bug which results in
corinna [Mon, 14 Jul 2008 19:58:15 +0000 (19:58 +0000)]
* miscfuncs.cc (cygwin_strncasecmp): Fix bug which results in
prematurely truncated strings.  Simplify target length argument to
sys_mbstowcs.

16 years agoFix for PR gdb/2477
ppluzhnikov [Mon, 14 Jul 2008 18:28:56 +0000 (18:28 +0000)]
Fix for PR gdb/2477

16 years ago * i386-dicos-tdep.c (i386_dicos_frame_align): Delete.
palves [Mon, 14 Jul 2008 18:06:57 +0000 (18:06 +0000)]
* i386-dicos-tdep.c (i386_dicos_frame_align): Delete.
(i386_dicos_push_dummy_code): New.
(i386_dicos_init_abi): Don't register i386_dicos_frame_align.
Register i386_dicos_push_dummy_code.

16 years ago * autoload.cc (GetExtendedTcpTable): Define.
corinna [Mon, 14 Jul 2008 15:56:10 +0000 (15:56 +0000)]
* autoload.cc (GetExtendedTcpTable): Define.
* fhandler_socket.cc (address_in_use): Take const struct sockaddr
pointer as argument.  Implement additional AF_INET6 table check.
(fhandler_socket::bind): Drop AF_INET test before calling
address_in_use.
* net.cc (ipv4_getnameinfo): Return EAI_FAMILY instead of 1 if
called with unsupported af_family.

16 years ago * include/iphlpapi.h (GetExtendedTcpTable): Add prototype.
corinna [Mon, 14 Jul 2008 15:55:45 +0000 (15:55 +0000)]
* include/iphlpapi.h (GetExtendedTcpTable): Add prototype.
* include/iprtrmib.h (TCP_TABLE_CLASS, MIB_TCPROW_OWNER_PID,
MIB_TCPTABLE_OWNER_PID, MIB_TCP6ROW_OWNER_PID,
MIB_TCP6TABLE_OWNER_PID): Define.
* lib/iphlpapi.def (GetExtendedTcpTable): Export.

16 years ago * mips-tdep.c (fp_register_arg_p): Add gdbarch as paramter.
deuling [Mon, 14 Jul 2008 11:25:09 +0000 (11:25 +0000)]
* mips-tdep.c (fp_register_arg_p): Add gdbarch as paramter.
(mips_n32n64_push_dummy_call, mips_o64_return_value)
(mips_eabi_push_dummy_call): Update call to fp_register_arg_p.

(MIPS_FPU_TYPE): Add gdbarch as parameter and replace current_gdbarch.
(fp_register_arg_p, mips_dump_tdep, show_mipsfpu_command)
(mips_n32n64_fp_arg_chunk_p): Update caller.

(mips_n32n64_fp_arg_chunk_p): Add gdbarch as paramter.
(mips_n32n64_push_dummy_call): Update caller.

(MIPS_LAST_ARG_REGNUM): Add gdbarch as parameter and replace
current_gdbarch.
(mips_eabi_push_dummy_call, mips_n32n64_push_dummy_call)
(mips_o32_push_dummy_call, mips_o64_push_dummy_call): Update caller.

(MIPS_LAST_FP_ARG_REGNUM): Add gdbarch as parameter and replace
current_gdbarch.
(mips_eabi_push_dummy_call, mips_o32_push_dummy_call)
(mips_o64_push_dummy_call): Update caller.

(MIPS_EABI): Add gdbarch as parameter and replace current_gdbarch.
(fp_register_arg_p, mips_dump_tdep): Update caller.

(set_reg_offset): Add gdbarch as parameter and replace current_gdbarch.
(mips16_scan_prologue, mips32_scan_prologue): Update caller.

(reset_saved_regs): Make static.  Add gdbarch as parameter.  Replace
current_gdbarch.
(mips32_scan_prologue): Update caller.

(heuristic_proc_start): Add gdbarch as parameter. Replace
current_gdbarch.
(mips_insn16_frame_cache, mips_insn32_frame_cache): Update caller.

* mipsnbsd-nat.c (mipsnbsd_fetch_inferior_registers)
(mipsnbsd_store_inferior_registers): Use get_regcache_arch to get at
the current architecture. Update call to getregs_supplies.
(getregs_supplies): Add gdbarch as parameter and replace
current_gdbarch.

* mipsnbsd-tdep.c (mipsnbsd_get_longjmp_target): Use get_frame_arch to
get at the current architecture. Update call to NBSD_MIPS_JB_OFFSET and
NBSD_MIPS_JB_ELEMENT_SIZE.
(NBSD_MIPS_JB_ELEMENT_SIZE, NBSD_MIPS_JB_OFFSET): Add gdbarch and
replace current_gdbarch.

* remote-mips.c (mips_map_regno): Add gdbarch as parameter and replace
current_gdbarch.
(mips_fetch_registers, mips_store_registers): Update call
to mips_map_regno.
(mips_load): Use get_regcache_arch to get at the current_architecture
and replace current_gdbarch.

16 years ago * gas/bfin/{bit2.s, cache2.s, control_code2.s, event2.s,
jiez [Mon, 14 Jul 2008 03:54:27 +0000 (03:54 +0000)]
* gas/bfin/{bit2.s, cache2.s, control_code2.s, event2.s,
logical2.s, move2.s, parallel.s, parallel2.s, parallel3.s,
parallel4.s, shift2.s, stack2.s, video2.s}: Remove DOS line
endings.

16 years agoMention "PR ld/6741" in ChangeLog.
hjl [Mon, 14 Jul 2008 01:22:23 +0000 (01:22 +0000)]
Mention "PR ld/6741" in ChangeLog.

16 years agoMention "PR binutils/6743" in ChangeLog.
hjl [Mon, 14 Jul 2008 01:20:48 +0000 (01:20 +0000)]
Mention "PR binutils/6743" in ChangeLog.

16 years ago2008-07-13 Craig Silverstein <csilvers@google.com>
csilvers [Mon, 14 Jul 2008 00:10:09 +0000 (00:10 +0000)]
2008-07-13  Craig Silverstein  <csilvers@google.com>

* dwarf2.c (struct dwarf2_debug): New variable info_ptr_memory.
(find_line): Use info_ptr_memory instead of sec_info_ptr.
(_bfd_dwarf2_cleanup_debug_info): Likewise.

16 years ago*** empty log message ***
gdbadmin [Mon, 14 Jul 2008 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

16 years agodaily update
amodra [Mon, 14 Jul 2008 00:00:04 +0000 (00:00 +0000)]
daily update

16 years ago * thread.c (restore_selected_frame): On fail to restore, select
palves [Sun, 13 Jul 2008 19:25:58 +0000 (19:25 +0000)]
* thread.c (restore_selected_frame): On fail to restore, select
the innermost frame, and don't crash when warning the user.

16 years ago * symtab.c (expand_line_sal): Fix a memory leak.
brobecke [Sun, 13 Jul 2008 16:58:19 +0000 (16:58 +0000)]
  * symtab.c (expand_line_sal): Fix a memory leak.

16 years ago * gdb.base/randomize.exp: Catch non-Linux targets as untested.
jkratoch [Sun, 13 Jul 2008 14:56:02 +0000 (14:56 +0000)]
* gdb.base/randomize.exp: Catch non-Linux targets as untested.

16 years ago * cyglsa.c: Don't include ntddk.h.
corinna [Sun, 13 Jul 2008 13:14:41 +0000 (13:14 +0000)]
* cyglsa.c: Don't include ntddk.h.
(RtlInitEmptyUnicodeString): Use Visual-C compatible "__inline" instead
of "inline".
(uni_alloc): Change second argument to USHORT.
(printf): Move definition of ap to make Visual-C++ happy.
(LsaApLogonUserEx): Compute size of datastructure returned to
LSA on 64 bit systems correctly to avoid heap corruption.
* cyglsa64.dll: Regenerate.
* make-64bit-version-with-visual-c.bat: Accommodate newer Microsoft
toolchains.  Add more comment.
* mslsa.def: Export LsaApLogonUserEx instead of LsaApLogonUser.

16 years ago * utils.c (struct continuation): Define as inheriting struct
palves [Sun, 13 Jul 2008 11:28:31 +0000 (11:28 +0000)]
* utils.c (struct continuation): Define as inheriting struct
cleanup.
(add_continuation, do_all_continuations)
(discard_all_continuations, add_intermediate_continuation)
(do_all_intermediate_continuations)
(discard_all_intermediate_continuations): Adjust.

16 years ago Skip varobj in running threads.
vprus [Sun, 13 Jul 2008 05:31:43 +0000 (05:31 +0000)]
Skip varobj in running threads.
        * mi/mi-cmd-var.c (mi_cmd_var_update): If varobj's
        thread is not stopped, skip the varobj.
        * Makefile.in: Update dependencies.

16 years ago Enable all MI commands while inferiour is running
vprus [Sun, 13 Jul 2008 04:13:49 +0000 (04:13 +0000)]
Enable all MI commands while inferiour is running
        * mi/mi-main.c (mi_cmd_execute): Don't check if
        inferiour is executing.

16 years ago Allow all CLI command even if target is executing.
vprus [Sun, 13 Jul 2008 04:09:47 +0000 (04:09 +0000)]
Allow all CLI command even if target is executing.
        * gdb/top.c (execute_command_1): Don't check if the inferiour
        is running.

16 years ago * mi/mi-main.c (mi_cmd_execute): Remove unused variable.
vprus [Sun, 13 Jul 2008 03:59:27 +0000 (03:59 +0000)]
* mi/mi-main.c (mi_cmd_execute): Remove unused variable.
Fix printing of frame, when frame is wrong.

16 years ago*** empty log message ***
gdbadmin [Sun, 13 Jul 2008 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

16 years agodaily update
amodra [Sun, 13 Jul 2008 00:00:04 +0000 (00:00 +0000)]
daily update

16 years ago * spu-tdep.c (spu_frame_unwind_cache): Do not error if
uweigand [Sat, 12 Jul 2008 22:42:52 +0000 (22:42 +0000)]
* spu-tdep.c (spu_frame_unwind_cache): Do not error if
backchain is unreadable.

16 years ago * linux-low.c (handle_extended_wait): Do not use "status"
uweigand [Sat, 12 Jul 2008 22:22:42 +0000 (22:22 +0000)]
* linux-low.c (handle_extended_wait): Do not use "status"
variable uninitialized.

16 years ago * spu-linux-nat.c: Include "gdbthread.h".
uweigand [Sat, 12 Jul 2008 22:16:33 +0000 (22:16 +0000)]
* spu-linux-nat.c: Include "gdbthread.h".
(spu_child_post_startup_inferior): Register main thread.
(spu_child_post_attach): Likewise.
* Makefile.in (spu-linux-nat.o): Update dependencies.

16 years ago2008-07-12 Craig Silverstein <csilvers@google.com>
csilvers [Sat, 12 Jul 2008 21:36:52 +0000 (21:36 +0000)]
2008-07-12  Craig Silverstein  <csilvers@google.com>

        * configure.in: Check for, and include, libz.a if it is
          present.
        * configure: Regenerate.
        * config.in: Regenerate.

16 years ago2008-07-12 Pedro Alves <pedro@codesourcery.com>
palves [Sat, 12 Jul 2008 19:25:42 +0000 (19:25 +0000)]
2008-07-12  Pedro Alves  <pedro@codesourcery.com>

Rewrite continuations internals on top of cleanups and plug
continuation arguments leaks.

* defs.h (struct continuation): Make it opaque.
(add_continuation, add_intermediate_continuation): Drop the int
argument of the continuation hook argument.  Add
continuation_free_args argument.
(do_all_continuations, do_all_intermediate_continuations): Drop
the error_p argument.

* utils.c (add_continuation): Drop the int argument of the
continuation hook argument.  Add continuation_free_args argument.
Reimplement on top of cleanups.
(do_all_continuations): Drop error argument.  Reimplement on top
of cleanups.
(discard_all_continuations): Reimplement on top of cleanups.
(add_intermediate_continuation): Drop the int argument of the
continuation hook argument.  Add continuation_free_args argument.
Reimplement on top of cleanups.
(do_all_intermediate_continuations): Drop error argument.
Reimplement on top of cleanups.
(discard_all_intermediate_continuations): Reimplement on top of
cleanups.

* breakpoint.c (until_break_command_continuation): Drop error
argument.  Add xfree as continuation argument deleter.

* inf-loop.c (inferior_event_handler): On error, discard all
continuations.  Adjust to new do_all_intermediate_continuations
and do_all_continuations interfaces.

* infcmd.c (step_1_continuation): Drop error_p argument.  Adjust.
Pass xfree as continuation argument deleter.
(finish_command_continuation): Drop error_p argument.  Adjust.
(finish_command_continuation_free_arg): New.
(finish_command): Pass finish_command_continuation_free_arg as
continuation argument deleter.  Adjust to new do_all_continuations
interfaces.
(attach_command_continuation): Drop error_p argument.
(attach_command_continuation_free_args): New.
(attach_command): Pass attach_command_continuation_free_args as
continuation argument deleter.

* interps.c (interp_set): Adjust to new do_all_continuations
interfaces.

* event-top.c (stdin_event_handler): In error, also discard the
intermediate continuations.

16 years ago Replace struct continuation_args by void* and per command structs.
palves [Sat, 12 Jul 2008 19:07:37 +0000 (19:07 +0000)]
Replace struct continuation_args by void* and per command structs.

* top.c (execute_command): Remove unused arg1 and arg2 locals.

* breakpoint.c (struct until_break_command_continuation_args):
New.
(until_break_command_continuation): Take a void* instead of a
continuations_arg.  Adjust.
(until_break_command): Adjust to use struct
until_break_command_continuation_args instead of struct
continuation_arg.

* infcmd.c (struct step_1_continuation_args): New.
(step_1_continuation): Take a void* instead of a
continuations_arg.  Adjust to use struct step_1_continuation_args.
(step_once): Adjust to use struct step_1_continuation_args.

(struct finish_command_continuation_args): New.
(finish_command_continuation): Take a void* instead of a
continuations_arg.  Adjust to use struct
finish_command_continuation_args.
(finish_command): Adjust to use struct
finish_command_continuation_args.
(struct attach_command_continuation_args): New.
(attach_command_continuation): Take a void* instead of a
continuations_arg.  Adjust to use struct
attach_command_continuation_args.
(attach_command): Adjust to use struct
attach_command_continuation_args.

* defs.h (struct continuation_arg): Delete.
(struct continuation): Replace the struct continuation_arg*
parameter of continuation_hook by a void*.  Replace "arg_list"
member by a new "args" member with void* type.
(add_continuation, add_intermediate_continuation): Replace struct
continuation_arg type usages by void* usages.

* utils.c (add_continuation, do_all_continuations)
(add_intermediate_continuation)
(do_all_intermediate_continuations): Replace struct
continuation_arg type usages by void* usages.  Pass "args" instead
of "arg_list".

16 years ago2008-07-12 Pedro Alves <pedro@codesourcery.com>
palves [Sat, 12 Jul 2008 18:39:09 +0000 (18:39 +0000)]
2008-07-12  Pedro Alves  <pedro@codesourcery.com>

* infrun.c (struct thread_stepping_state): Delete sal member.
(init_thread_stepping_state): Add local sal.  Use it instead of
tss->sal.
(handle_inferior_event): New local stop_pc_sal.  Use it instead of
tss->sal.
(step_into_function): Add local stop_func_sal.  Use it instead of
tss->sal.

16 years agoFix usage of recently fixed Interlocked* functions.
ericb [Sat, 12 Jul 2008 18:09:16 +0000 (18:09 +0000)]
Fix usage of recently fixed Interlocked* functions.

* winbase.h (ilockincr, ilockdecr, ilockexch, ilockcmpexch): Add
volatile qualifier, to match Interlocked* functions.

16 years ago Implement -exec-continue/-exec-interrupt --all.
vprus [Sat, 12 Jul 2008 17:10:59 +0000 (17:10 +0000)]
Implement -exec-continue/-exec-interrupt --all.
        * infcmd.c (continue_1): New, extracted from
        (continue_command): ...here.
        (interrupt_target_1): New, extracted from
        (interrupt_target_command): ...here.
        * inferior.h (continue_1, interrupt_target_1): New.
        * mi/mi-main.c (mi_cmd_exec_continue)
        (mi_cmd_exec_interrupt): Handle --all.

16 years ago Implement --thread and --frame.
vprus [Sat, 12 Jul 2008 16:37:56 +0000 (16:37 +0000)]
Implement --thread and --frame.
* gdbthread.h (find_thread_id): Declare.
        * thread.c (find_thread_id): Make non-static.
        * mi/mi-main.c (mi_cmd_execute): Switch to the right
        thread and frame, if necessary.
        * mi/mi-parse.c (mi_parse): Handle --thread and --frame.
        * mi/mi-parse.h (strcut mi_parse): New fields thread and frame.

16 years ago * infrun.c (resume): Discard cleanups on early exit path.
vprus [Sat, 12 Jul 2008 13:42:52 +0000 (13:42 +0000)]
* infrun.c (resume): Discard cleanups on early exit path.

16 years ago * infrun.c (normal_stop): For MI, report which threads
vprus [Sat, 12 Jul 2008 12:41:56 +0000 (12:41 +0000)]
    * infrun.c (normal_stop): For MI, report which threads
were stopped.

16 years ago Report thread state in -thread-info output.
vprus [Sat, 12 Jul 2008 12:34:19 +0000 (12:34 +0000)]
Report thread state in -thread-info output.
        * thread.c (print_thread_info): Add new field "state".

16 years agoRevert my last change since it has not been approved.
jiez [Sat, 12 Jul 2008 08:54:10 +0000 (08:54 +0000)]
Revert my last change since it has not been approved.

16 years ago*** empty log message ***
gdbadmin [Sat, 12 Jul 2008 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

16 years agodaily update
amodra [Sat, 12 Jul 2008 00:00:04 +0000 (00:00 +0000)]
daily update

16 years ago * gdb.arch/e500-regs.exp (decimal_vector): Adjust "v8_int8" portion
kevinb [Fri, 11 Jul 2008 21:57:23 +0000 (21:57 +0000)]
* gdb.arch/e500-regs.exp (decimal_vector): Adjust "v8_int8" portion
of regexp to account for changes made to GDB in the printing of
byte vectors.

16 years ago bfd/
jiez [Fri, 11 Jul 2008 19:24:37 +0000 (19:24 +0000)]
bfd/
* elf.c (_bfd_elf_map_sections_to_segments): Don't put
executable sections into the same segment with other
read only sections if --sep-code.
* elf32-bfin.c (elf32_bfin_code_in_l1): New variable.
(elf32_bfin_data_in_l1): New variable.
(elf32_bfin_final_write_processing): New.
(elf32_bfin_special_sections[]): New.
(elf_backend_final_write_processing): Define.
(elf_backend_special_sections): Define.

binutils/
* readelf.c (get_machine_flags): Deal with Blackfin specific
flags.

include/
* bfdlink.h (struct bfd_link_info): Add sep_code member
variable.
* elf/bfin.h (EF_BFIN_CODE_IN_L1): Define.
(EF_BFIN_DATA_IN_L1): Define.

ld/
* Makefile.am (eelf32bfin.c): Depend on bfin.em.
(eelf32bfinfd.c): Likewise.
* Makefile.in: Regenerate.
* gen-doc.texi: Set Blackfin.
* ld.texinfo: Document --sep-code and Blackfin specific
options.
* ldmain.c (main): Initialize link_info.sep_code.
* lexsup.c (enum option_values): Add OPTION_SEP_CODE.
(ld_options[]): Add --sep-code.
(parse_args): Deal with --sep-code.
* emulparams/bfin.sh (EXTRA_EM_FILE): Define.
* emulparams/elf32bfinfd.sh (OTHER_SECTIONS): Define.
* emultempl/bfin.em: New file.

16 years ago * infrun.c (handle_inferior_event): Also ignore a
palves [Fri, 11 Jul 2008 17:46:40 +0000 (17:46 +0000)]
* infrun.c (handle_inferior_event): Also ignore a
TARGET_SIGNAL_TRAP on a STOP_QUIETLY_NO_SIGSTOP.

16 years ago2008-07-11 H.J. Lu <hongjiu.lu@intel.com>
hjl [Fri, 11 Jul 2008 17:18:59 +0000 (17:18 +0000)]
2008-07-11  H.J. Lu  <hongjiu.lu@intel.com>

* ld-m68k/got-12.s: Removed.
* ld-m68k/got-13.s: Likewise.
* ld-m68k/got-14.s: Likewise.
* ld-m68k/got-15.s: Likewise.
* ld-m68k/got-34.s: Likewise.
* ld-m68k/got-35.s: Likewise.
* ld-m68k/xgot-15.s: Likewise.

* ld-m68k/got-multigot-12-13-14-34-35-ok.d: Remove #source
and expected relocations.
* ld-m68k/got-multigot-14-ok.d: Likewise.
* ld-m68k/got-negative-12-13-14-34-ok.d: Likewise.
* ld-m68k/got-negative-14-ok.d: Likewise.
* ld-m68k/got-single-12-ok.d: Likewise.
* ld-m68k/got-xgot-12-13-14-15-34-35-ok.d: Likewise.
* ld-m68k/got-xgot-15-ok.d: Likewise.

* ld-m68k/got-multigot-15-er.d: Remove #source.
* ld-m68k/got-negative-12-13-14-35-er.d: Likewise.
* ld-m68k/got-negative-15-er.d: Likewise.
* ld-m68k/got-single-13-er.d: Likewise.

* ld-m68k/m68k.exp: Move GOT tests to ...
* ld-m68k/m68k-got.exp: This.  New.

16 years ago * select.cc (peek_pipe): Temporarily revert patch from 2008-05-30.
corinna [Fri, 11 Jul 2008 16:37:28 +0000 (16:37 +0000)]
* select.cc (peek_pipe): Temporarily revert patch from 2008-05-30.

16 years agogdb
tromey [Fri, 11 Jul 2008 15:07:52 +0000 (15:07 +0000)]
gdb
* completer.c (complete_line_internal): New function, from
complete_line.  Add 'for_help' parameter.
(complete_line): Use it.
(command_completer): Move later.  Rewrite.
gdb/testsuite
* gdb.base/completion.exp: Add 'help' completion test.

16 years ago * thread.c (thread_apply_command): Move making the cleanup out of
palves [Fri, 11 Jul 2008 11:26:39 +0000 (11:26 +0000)]
* thread.c (thread_apply_command): Move making the cleanup out of
the loop.

16 years ago * mh-mingw (LDFLAGS): Append to rather than replacing previous
jsm28 [Fri, 11 Jul 2008 11:15:59 +0000 (11:15 +0000)]
* mh-mingw (LDFLAGS): Append to rather than replacing previous
value.