OSDN Git Service

pf3gnuchains/pf3gnuchains3x.git
16 years ago * gdbarch.sh: Document the return_value method. Explain that
brobecke [Tue, 29 Apr 2008 16:06:06 +0000 (16:06 +0000)]
    * gdbarch.sh: Document the return_value method. Explain that
        the FUNCTYPE parameter might be NULL.
        * gdbarch.h: Regenerated.
        * sparc-tdep.c (sparc32_push_dummy_code): Do not pass the function
        type when calling using_struct_return, as this is unnecessary
        on this target.

16 years ago * elf.c (_bfd_elf_get_dynamic_reloc_upper_bound)
drow [Tue, 29 Apr 2008 11:53:44 +0000 (11:53 +0000)]
* elf.c (_bfd_elf_get_dynamic_reloc_upper_bound)
(_bfd_elf_canonicalize_dynamic_reloc): Find dynamic relocations
even if they are not loaded.
* elflink.c (_bfd_elf_init_2_index_sections): Set data_index_section
first.

* ld-arm/symbian-seg1.s, ld-arm/symbian-seg1.d: New files.
* ld-arm/arm-elf.exp: Run symbian-seg1.

16 years ago * syscalls.cc (rename): Use volume serial numbers stored in path_conv
corinna [Tue, 29 Apr 2008 09:24:53 +0000 (09:24 +0000)]
* syscalls.cc (rename): Use volume serial numbers stored in path_conv
rather than fetching them here for the "same file" test.  Change
comment to reflect this.

16 years ago * terminal.h (create_tty_session): Fix return type.
brobecke [Tue, 29 Apr 2008 00:52:26 +0000 (00:52 +0000)]
    * terminal.h (create_tty_session): Fix return type.

16 years ago*** empty log message ***
gdbadmin [Tue, 29 Apr 2008 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***

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

16 years ago * i386.cc (Relocate::relocate): Fix typos for R_386_PC16 and
ccoutant [Mon, 28 Apr 2008 23:09:21 +0000 (23:09 +0000)]
* i386.cc (Relocate::relocate): Fix typos for R_386_PC16 and
R_386_PC8 relocations.

16 years ago * gas/mips/mips4.s: Split out fp instruction from here ...
nemet [Mon, 28 Apr 2008 17:10:18 +0000 (17:10 +0000)]
* gas/mips/mips4.s: Split out fp instruction from here ...
* gas/mips/mips4-fp.s: ... to here.
* gas/mips/mips4.d: Update.
* gas/mips/mips4-fp.l: New file. Check error messages with
-msoft-float.
* gas/mips/mips4-fp.d: New file. Check disassembly with
hard-float.

* gas/mips/mips32r2.s: Split out fp instructions from here ...
* gas/mips/mips32r2-fp32.s: ... to here.
* gas/mips/mips32r2.d: Update.
* gas/mips/mips32r2-fp32.l: New file.  Check error messages with
-msoft-float.
* gas/mips/mips32r2-fp32.d: New file.  Check disassembly with
hard-float.

* gas/mips/mips32r2-ill-nofp.s, gas/mips/mips32r2-ill-nofp.l: New
test derived from mips32r2-ill.

* gas/mips/mips32-sf32.l: New list test for mips32-sf32.s to check
error messages for soft-float targets.

* gas/mips/mips-macro-ill-sfp.s, gas/mips/mips-macro-ill-sfp.l:
New test for -msingle-float.
* gas/mips/mips-macro-ill-nofp.s, gas/mips/mips-macro-ill-nofp.l:
New test for -msoft-float.
* gas/mips/mips-hard-float-flag.s,
gas/mips/mips-hard-float-flag.l: New test for -mhard-float.
* gas/mips/mips-double-float-flag.s,
gas/mips/mips-double-float-flag.l: New test for -mdouble-float.

* gas/mips/mips.exp: Run new mips4-fp and mips32r2-fp dump tests.
Run mips4-fp and mips32r2-fp list tests with -msoft-float.  Run
new mips32r2-ill-nofp with -msoft-float.  Run new mips32-sf32 list
test with -msoft-float.  Run new mips-macro-ill-sfp test with
-msingle-float.  Run new mips-macro-ill-nofp test with
-msoft-float.  Run new mips-hard-float-flag and
mips-double-float-flag tests.

16 years ago * config/tc-mips.c (file_mips_soft_float, file_mips_single_float):
nemet [Mon, 28 Apr 2008 17:06:27 +0000 (17:06 +0000)]
* config/tc-mips.c (file_mips_soft_float, file_mips_single_float):
New statics.
(OPTION_ELF_BASE): Make room for new option macros.
(OPTION_SOFT_FLOAT, OPTION_HARD_FLOAT, OPTION_SINGLE_FLOAT,
OPTION_DOUBLE_FLOAT): New option macros.
(md_longopts): Add msoft-float, mhard-float, msingle-float and
mdouble-float.
(md_parse_option): Handle OPTION_SINGLE_FLOAT,
OPTION_DOUBLE_FLOAT, OPTION_SOFT_FLOAT and OPTION_HARD_FLOAT.
(md_show_usage): Add -msoft-float, -mhard-float, -msingle-float
and -mdouble-float.
(struct mips_set_options): New fields soft_float and single_float.
(mips_opts): Initialized them.  Add comment for each field
initializer.
(mips_after_parse_args): Set them based on file_mips_soft_float
and file_mips_single_float.
(s_mipsset): Add support for `.set softfloat', `.set hardfloat',
`.set singlefloat' and `.set doublefloat'.
(is_opcode_valid): New function to invoke OPCODE_IS_MEMBER.
Handle single-float and soft-float instructions here.
(macro_build, mips_ip): Use it instead of OPCODE_IS_MEMBER.
(is_opcode_valid_16): New function.
(mips16_ip): Use it instead of OPCODE_IS_MEMBER.
(macro) <M_LDC1_AB, M_SDC1_AB, M_L_DOB, M_L_DAB, M_S_DAB,
M_S_DOB>: Remove special-casing of r4650.
* doc/c-mips.texi (-march=): Add Octeon.
(MIPS Opts): Document -msoft-float and -mhard-float.  Document
-msingle-float and -mdouble-float.
(MIPS floating-point): New section.  Document `.set softfloat' and
`.set hardfloat'.  Document `.set singlefloat' and `.set
doublefloat'.

16 years ago * mips-opc.c (mips_builtin_opcodes): Mark prefx and c1
nemet [Mon, 28 Apr 2008 17:03:58 +0000 (17:03 +0000)]
* mips-opc.c (mips_builtin_opcodes): Mark prefx and c1
instructions FP_S.  Mark l.s, li.s, lwc1, swc1, s.s, trunc.w.s and
cop1 macros INSN2_M_FP_S.  Mark l.d, li.d, ldc1 and sdc1 macros
INSN2_M_FP_D.  Mark trunc.w.d macro INSN2_M_FP_S and INSN2_M_FP_D.

16 years ago * mips.h (INSN_MACRO): Move it up to the the pinfo macros.
nemet [Mon, 28 Apr 2008 16:59:27 +0000 (16:59 +0000)]
* mips.h (INSN_MACRO): Move it up to the the pinfo macros.
(INSN2_M_FP_S, INSN2_M_FP_D): New pinfo2 macros.

16 years ago * path.cc (symlink_info::check): Avoid special handling for
corinna [Mon, 28 Apr 2008 16:01:53 +0000 (16:01 +0000)]
* path.cc (symlink_info::check): Avoid special handling for
STATUS_BUFFER_OVERFLOW when calling NtQueryDirectoryFile.
* strace.cc (strace::vprntf): Use bigger buffer.

16 years ago * ld-scripts/rgn-over8.s: Tweak.
nathan [Mon, 28 Apr 2008 14:08:15 +0000 (14:08 +0000)]
* ld-scripts/rgn-over8.s: Tweak.

16 years agold/
nathan [Mon, 28 Apr 2008 12:45:32 +0000 (12:45 +0000)]
ld/
* ldlang.c (lang_size_sections_1): Don't check LMA overflow on
non-load sections.
ld/testsuite/
* ld-scripts/rgn-over.exp: Allow -ok file names to pass.
* ld-scripts/rgn-over8.s: New.
* ld-scripts/rgn-over8.t: New.
* ld-scripts/rgn-over8-ok.d: New.

16 years ago * kernel32.cc (CreateFileMappingW): Remove stray small_printf.
corinna [Mon, 28 Apr 2008 11:13:03 +0000 (11:13 +0000)]
* kernel32.cc (CreateFileMappingW): Remove stray small_printf.

16 years ago * autoload.cc (IsWow64Process): Remove.
corinna [Mon, 28 Apr 2008 08:47:06 +0000 (08:47 +0000)]
* autoload.cc (IsWow64Process): Remove.
(Wow64DisableWow64FsRedirection): Remove.
(Wow64RevertWow64FsRedirection): Remove.
* ntdll.h (enum _PROCESSINFOCLASS): Define ProcessWow64Information.
* init.cc (respawn_wow64_process): Use NtQueryInformationProcess to
get WOW64 state.
* wincap.cc (wincapc::init): Ditto.
* wincap.h (wincapc::wow64): Change type to ULONG.

16 years ago PR binutils/6449
nickc [Mon, 28 Apr 2008 08:30:23 +0000 (08:30 +0000)]
            PR binutils/6449
                * objdump.c (slurp_file): Open the file in binary mode.
                * ar.c: Remove conditional definition of O_BINARY.
                * bin2.c: Likewise.
                * rename.c: Likewise.
                * strings.c: Likewise.
                * sysdep.h: Add conditional definition of O_BINARY.

16 years agodaily update
amodra [Mon, 28 Apr 2008 00:00:05 +0000 (00:00 +0000)]
daily update

16 years ago*** empty log message ***
gdbadmin [Mon, 28 Apr 2008 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

16 years ago * wincap.h (wincapc::wow64): Change type to BOOL.
corinna [Sun, 27 Apr 2008 16:12:00 +0000 (16:12 +0000)]
* wincap.h (wincapc::wow64): Change type to BOOL.
* wincap.cc: Remove explicit use of this pointer in wincapc methods.
(wincapc::init): Fix bug in IsWow64Process handling.

16 years ago2008-04-26 Yuval <uvman@users.sourceforge.net>
ironhead [Sun, 27 Apr 2008 00:06:44 +0000 (00:06 +0000)]
2008-04-26  Yuval  <uvman@users.sourceforge.net>

        * include/ntsecpkg.h (SECPKG_STATE_ENCRYPTION_PERMITTED,
        SECPKG_STATE_STRONG_ENCRYPTION_PERMITTED, SECPKG_STATE_DOMAIN_CONTROLLER,
        SECPKG_STATE_WORKSTATION, SECPKG_STATE_STANDALONE,
        LSA_TOKEN_INFORMATION_TYPE, SECPKG_EXTENDED_INFORMATION_CLASS,
        SECPKG_NAME_TYPE, SECPKG_PRIMARY_CRED, SECPKG_SUPPLEMENTAL_CRED,
        SECPKG_SUPPLEMENTAL_CRED_ARRAY, SECPKG_PARAMETERS,
        SECPKG_EVENT_DOMAIN_CHANGE, SECPKG_CLIENT_INFO, SecurityUserData,
        SECPKG_GSS_INFO, SECPKG_CONTEXT_THUNKS, SECPKG_MUTUAL_AUTH_LEVEL,
        SECPKG_CALL_INFO, SECPKG_EXTENDED_INFORMATION, PLSA_CALLBACK_FUNCTION,
        *PLSA_CLIENT_REQUEST, LSA_SEC_HANDLE, SEC_THREAD_START, SEC_ATTRS,
        *PLSA_REGISTER_CALLBACK, *PLSA_CREATE_LOGON_SESSION,
        *PLSA_DELETE_LOGON_SESSION, *PLSA_ADD_CREDENTIAL, *PLSA_GET_CREDENTIALS,
        *PLSA_DELETE_CREDENTIAL, *PLSA_ALLOCATE_LSA_HEAP, *PLSA_FREE_LSA_HEAP,
        *PLSA_ALLOCATE_CLIENT_BUFFER, *PLSA_FREE_CLIENT_BUFFER,
        *PLSA_COPY_TO_CLIENT_BUFFER, *PLSA_COPY_FROM_CLIENT_BUFFER,
        *PLSA_IMPERSONATE_CLIENT, *PLSA_UNLOAD_PACKAGE, *PLSA_DUPLICATE_HANDLE,
        *PLSA_SAVE_SUPPLEMENTAL_CREDENTIALS, *PLSA_CREATE_THREAD,
        *PLSA_GET_CLIENT_INFO, *PLSA_REGISTER_NOTIFICATION,
        *PLSA_CANCEL_NOTIFICATION, *PLSA_MAP_BUFFER, *PLSA_CREATE_TOKEN,
        *PLSA_AUDIT_LOGON, *PLSA_CALL_PACKAGE, *PLSA_FREE_LSA_HEAP,
        *PLSA_GET_CALL_INFO, *PLSA_CALL_PACKAGEEX, *PLSA_CREATE_SHARED_MEMORY,
        *PLSA_ALLOCATE_SHARED_MEMORY, *PLSA_FREE_SHARED_MEMORY,
        *PLSA_DELETE_SHARED_MEMORY, *PLSA_OPEN_SAM_USER, *PLSA_GET_USER_CREDENTIALS,
        *PLSA_GET_USER_AUTH_DATA, *PLSA_CLOSE_SAM_USER,
        *PLSA_CONVERT_AUTH_DATA_TO_TOKEN, *PLSA_CLIENT_CALLBACK,
        *PLSA_UPDATE_PRIMARY_CREDENTIALS, *PLSA_GET_AUTH_DATA_FOR_USER,
        *PLSA_CRACK_SINGLE_NAME, *PLSA_AUDIT_ACCOUNT_LOGON,
        *PLSA_CALL_PACKAGE_PASSTHROUGH, SECPKG_DLL_FUNCTIONS, LSA_DISPATCH_TABLE,
        LSA_SECPKG_FUNCTION_TABLE, *PLSA_AP_INITIALIZE_PACKAGE, *PLSA_AP_LOGON_USER,
        *PLSA_AP_CALL_PACKAGE, *PLSA_AP_LOGON_TERMINATED,
        *PLSA_AP_CALL_PACKAGE_UNTRUSTED, *PLSA_AP_CALL_PACKAGE_PASSTHROUGH,
        *PLSA_AP_LOGON_USER_EX, *PLSA_AP_LOGON_USER_EX2, SpInitializeFn,
        SpShutDownFn, SpGetInfoFn, SpAcceptCredentialsFn,
        SpAcquireCredentialsHandleFn, SpQueryCredentialsAttributesFn,
        SpFreeCredentialsHandleFn, SpSaveCredentialsFn, SpGetCredentialsFn,
        SpDeleteCredentialsFn, SpInitLsaModeContextFn, SpAcceptLsaModeContextFn,
        SpDeleteContextFn, SpApplyControlTokenFn, SpGetUserInfoFn,
        SpGetExtendedInformationFn, SpQueryContextAttributesFn, SpAddCredentialsFn,
        SpSetExtendedInformationFn, SpInstanceInitFn, SpInitUserModeContextFn,
        SpMakeSignatureFn, SpVerifySignatureFn, SpSealMessageFn, SpUnsealMessageFn,
        SpGetContextTokenFn, SpCompleteAuthTokenFn, SpFormatCredentialsFn,
        SpMarshallSupplementalCredsFn, SpExportSecurityContextFn,
        SpImportSecurityContextFn, SECPKG_FUNCTION_TABLE,
        SECPKG_USER_FUNCTION_TABLE, *SpLsaModeInitializeFn,
        *SpUserModeInitializeFn): Define.
        * include/sspi.h (SECURITY_STRING): Define.

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

16 years agodaily update
amodra [Sun, 27 Apr 2008 00:00:05 +0000 (00:00 +0000)]
daily update

16 years ago * dcrt0.cc (dll_crt0_0): Set SEM_NOGPFAULTERRORBOX error mode, too,
corinna [Sat, 26 Apr 2008 18:01:41 +0000 (18:01 +0000)]
* dcrt0.cc (dll_crt0_0): Set SEM_NOGPFAULTERRORBOX error mode, too,
to accommodate Vista/Longhorn.
* spawn.cc (spawn_guts): Move check for CREATE_SUSPENDED condition
after the call to ch.set() since it depends on it.

16 years ago * mi/mi-interp.c (mi_new_thread): Quote the thread id.
vprus [Sat, 26 Apr 2008 17:58:47 +0000 (17:58 +0000)]
* mi/mi-interp.c (mi_new_thread): Quote the thread id.

16 years ago2008-04-26 Danny Smith <dannysmith@users.sourceforge.net>
ironhead [Sat, 26 Apr 2008 12:07:34 +0000 (12:07 +0000)]
2008-04-26  Danny Smith  <dannysmith@users.sourceforge.net>

        * include/specstrings.h: Add more dummy defines.

16 years ago2008-04-26 Chuck Wilson <cwilso11@users.sourceforge.net>
ironhead [Sat, 26 Apr 2008 11:39:14 +0000 (11:39 +0000)]
2008-04-26  Chuck Wilson  <cwilso11@users.sourceforge.net>

        * Makefile.in: correct issues with mingw10.dll having multiple relocs.

16 years ago * libc/include/sys/stat.h: Guard at-functions with !__INSIDE_CYGWIN__.
corinna [Sat, 26 Apr 2008 07:49:38 +0000 (07:49 +0000)]
* libc/include/sys/stat.h: Guard at-functions with !__INSIDE_CYGWIN__.
(fstatat): Fix type of third parameter.

16 years ago * breakpoint.c (condition_command, commands_from_control_command)
brobecke [Sat, 26 Apr 2008 05:43:45 +0000 (05:43 +0000)]
    * breakpoint.c (condition_command, commands_from_control_command)
        (break_command_really): Minor reformatting.

16 years ago2008-04-25 Michael Frysinger <vapier@gentoo.org>
vapier [Sat, 26 Apr 2008 01:10:55 +0000 (01:10 +0000)]
2008-04-25  Michael Frysinger  <vapier@gentoo.org>

* configure.tgt (bfin-*-linux-uclibc*): Set targ_emul to elf32bfinfd
and targ_extra_emuls to elf32bfin.

16 years ago2008-04-25 Danny Smith <dannysmith@users.sourceforge.net>
ironhead [Sat, 26 Apr 2008 00:24:19 +0000 (00:24 +0000)]
2008-04-25  Danny Smith  <dannysmith@users.sourceforge.net>

        * include/process.h: Include stdint.h for intptr_t definition.
        (_execl, _execle, _execlp, _execlpe, _execv, _execve, _execvp, _execvpe,
        _spawnl, _spawnle, _spawnlp, _spawnlpe, _spawnv, _spawnve, _spawnvp,
        _spawnvpe): Return intptr_t.
        (execl, execle, execlp, execlpe, execv, execve, execvp, execvpe, spawnl,
        spawnle, spawnlp, spawnlpe, spawnv, spawnve, spawnvp, spawnvpe): Return
        intptr_t.

        [!_WPROCESS_DEFINED]: Include stdint.h for intptr_t definition.
        (_wexecl, _wexecle, _wexeclp, _wexeclpe, _wexecv, _wexecve, _wexecvp,
        _wexecvpe, _wspawnl, _wspawnle, _wspawnlp, _wspawnlpe, _wspawnv, _wspawnve,
        _wspawnvp, _wspawnvpe): Return intptr_t.

16 years ago2008-04-25 Danny Smith <dannysmith@users.sourceforge.net>
ironhead [Sat, 26 Apr 2008 00:16:37 +0000 (00:16 +0000)]
2008-04-25  Danny Smith  <dannysmith@users.sourceforge.net>

        * include/wchar.h (fwide): Return success code rather than failure in inline
        definition.
        * mingwex/fwide.c (fwide): ANSI-fy. Get rid of Q8 comments.  Return success
        code rather than failure.

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

16 years ago*** empty log message ***
gdbadmin [Sat, 26 Apr 2008 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

16 years ago * gdb.base/macscp.exp: Enable kfails. Compile with -g3 for GCC.
drow [Fri, 25 Apr 2008 21:47:11 +0000 (21:47 +0000)]
* gdb.base/macscp.exp: Enable kfails.  Compile with -g3 for GCC.
(maybe_kfail): New.

16 years agogas/
davem [Fri, 25 Apr 2008 19:58:03 +0000 (19:58 +0000)]
gas/

* config/tc-sparc.c: Accept 'softint_clear' and 'softint_set'
%asr aliases.

* doc/c-sparc.texi: Consistently refer to architecture 'versions',
rather than occaisionally 'levels'.  Consistently refer to Sun's
UNIX variant as SunOS, every version of Solaris is also SunOS.
Document new 'softint_clear' and 'softint_set' aliases.  Clarify
which architecture versions support '%dcr', '%cq', and '%gl'. Add
section on 32-bit/64-bit opcode translations.

opcodes/

* sparc-dis.c: Emit %stick instead of %sys_tick, and %stick_cmpr
instead of %sys_tick_cmpr, as suggested in architecture manuals.

16 years agogdb/
palves [Fri, 25 Apr 2008 18:45:22 +0000 (18:45 +0000)]
gdb/
* dwarf2read.c (dwarf2_const_value): Handle DW_FORM_strp.

gdb/testsuite/
* gdb.dwarf2/dw2-strp.S, gdb.dwarf2/dw2-strp.exp: New files.

16 years ago * Makefile.in (install): Drop install rules for postinstall script.
corinna [Fri, 25 Apr 2008 17:22:31 +0000 (17:22 +0000)]
* Makefile.in (install): Drop install rules for postinstall script.

16 years ago * postinstall: Remove (Moved to base-cygwin package).
corinna [Fri, 25 Apr 2008 17:13:27 +0000 (17:13 +0000)]
* postinstall: Remove (Moved to base-cygwin package).

16 years ago * fhandler.cc (fhandler_base::open): Move handling FILE_ATTRIBUTE_NORMAL
corinna [Fri, 25 Apr 2008 16:59:41 +0000 (16:59 +0000)]
* fhandler.cc (fhandler_base::open): Move handling FILE_ATTRIBUTE_NORMAL
back to its old place.  Or it to file_attributes instead of setting it.

16 years ago * fhandler.cc (fhandler_base::open): *Only* handle SYSTEM and HIDDEN
corinna [Fri, 25 Apr 2008 16:50:29 +0000 (16:50 +0000)]
* fhandler.cc (fhandler_base::open): *Only* handle SYSTEM and HIDDEN
attributes in FILE_OVERWRITE case.

16 years ago * fhandler.cc (fhandler_base::open): Handle SYSTEM and HIDDEN attributes
corinna [Fri, 25 Apr 2008 16:33:00 +0000 (16:33 +0000)]
* fhandler.cc (fhandler_base::open): Handle SYSTEM and HIDDEN attributes
in FILE_OVERWRITE case as well.

16 years ago* reloc16.c (bfd_coff_reloc16_get_value): Add support for
nickc [Fri, 25 Apr 2008 16:02:42 +0000 (16:02 +0000)]
* reloc16.c (bfd_coff_reloc16_get_value): Add support for
  undefined weak symbols.

16 years ago * amd64-tdep.c (amd64_get_longjmp_target): New.
palves [Fri, 25 Apr 2008 14:57:30 +0000 (14:57 +0000)]
* amd64-tdep.c (amd64_get_longjmp_target): New.
(amd64_init_abi): Register amd64_get_longjmp_target as
gdbarch_get_longjmp_target callback.
* i386-tdep.c (i386_get_longjmp_target): Remove 64-bit handling.

16 years ago * po/vi.po: Updated Vietnamese translation.
nickc [Fri, 25 Apr 2008 14:52:23 +0000 (14:52 +0000)]
    * po/vi.po: Updated Vietnamese translation.

16 years ago * breakpoint.h (enum bpstat_what_main_action): Delete
palves [Fri, 25 Apr 2008 14:50:07 +0000 (14:50 +0000)]
* breakpoint.h (enum bpstat_what_main_action): Delete
BPSTAT_WHAT_CLEAR_LONGJMP_RESUME_SINGLE.

* breakpoint.c (clrs): Delete.
(bpstat_what): Update table.

* infrun.c (handle_inferior_event): Remove
BPSTAT_WHAT_CLEAR_LONGJMP_RESUME_SINGLE handling.

16 years ago * libc/machine/arm/setjmp.S: Fix thumb2 support.
nickc [Fri, 25 Apr 2008 09:02:39 +0000 (09:02 +0000)]
        * libc/machine/arm/setjmp.S: Fix thumb2 support.

            * arm/crt0.S: Allow assembly under ARMv7 ISA.  Support for
            initializing stack pointers for interrupt modes is still pending.

16 years ago*** empty log message ***
gdbadmin [Fri, 25 Apr 2008 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

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

16 years ago * fhandler_disk_file.cc (fhandler_base::fstat_helper): Disable calling
corinna [Thu, 24 Apr 2008 17:15:17 +0000 (17:15 +0000)]
* fhandler_disk_file.cc (fhandler_base::fstat_helper): Disable calling
pc.ndisk_links.  Just use nNumberOfLinks instead.

16 years ago * mi/mi-cmds.h (mi_cmd_args_ftype): Remove.
vprus [Thu, 24 Apr 2008 13:28:03 +0000 (13:28 +0000)]
* mi/mi-cmds.h (mi_cmd_args_ftype): Remove.
Adjust all prototypes using mi_cmd_args_ftype to use
mi_cmd_argv_ftype.
(struct mi_cmd): Remove the args_func field.
* mi/mi-cmds.c: Don't provide value for the args_func field.
* mi/mi-main.c (mi_execute_async_cli_command)
(mi_cmd_exec_run, mi_cmd_exec_next, mi_cmd_exec_next_instruction)
(mi_cmd_exec_step, mi_cmd_exec_step_instruction)
(mi_cmd_exec_finish, mi_cmd_exec_until, mi_cmd_exec_return)
(mi_cmd_exec_continue, mi_cmd_exec_interrupt)
(mi_cmd_target_download): Adjust.
(mi_cmd_target_select): Adjust. Pass 0 for from_tty parameter.
(mi_cmd_execute): Do not check for args_func.
(mi_execute_async_cli_command): Adjust.
* mi/mi-parse.c: Don't check for args_func.

16 years ago * breakpoint.c (bpstat_check_location)
vprus [Thu, 24 Apr 2008 12:56:44 +0000 (12:56 +0000)]
    * breakpoint.c (bpstat_check_location)
        (bpstat_check_watchpoint, bpstat_check_breakpoint_conditions):
        New, extracted from bpstat_stop_status.
        (bpstat_stop_status): Use the above.

16 years ago * fhandler_disk_file.cc (fhandler_base::utimens_fs): Fix typo in
corinna [Thu, 24 Apr 2008 12:37:05 +0000 (12:37 +0000)]
* fhandler_disk_file.cc (fhandler_base::utimens_fs): Fix typo in
input range check.

16 years ago * mi/mi-main.c (last_async_command): Rename to current_token.
vprus [Thu, 24 Apr 2008 12:09:48 +0000 (12:09 +0000)]
    * mi/mi-main.c (last_async_command): Rename to current_token.
        (previous_async_command): Remove.
        (mi_cmd_gdb_exit): Adjust.
        (mi_cmd_exec_interrupt): Don't dance with previous_async_command.
        (mi_cmd_target_select): Adjust.
        (mi_cmd_execute): Don't set previous_async_command.  Free token
        here even in async mode.
        (mi_execute_async_cli_command): Adjust.
        (mi_exec_async_cli_cmd_continuation): Adjust.  Do not free the
        token.
        (mi_load_progress): Adjust.

16 years ago * infcmd.c (step_1_continuation): Always disable longjmp
vprus [Thu, 24 Apr 2008 11:43:13 +0000 (11:43 +0000)]
    * infcmd.c (step_1_continuation): Always disable longjmp
        breakpoint if we're not going to do another step.

16 years ago* libc/include/machine/ieeefp.h: Fix typo: _DOUBLE_IS_32_BITS
nickc [Thu, 24 Apr 2008 11:26:41 +0000 (11:26 +0000)]
* libc/include/machine/ieeefp.h: Fix typo: _DOUBLE_IS_32_BITS
  should be _DOUBLE_IS_32BITS.

16 years ago exec_cleanup murder.
vprus [Thu, 24 Apr 2008 11:13:44 +0000 (11:13 +0000)]
exec_cleanup murder.
* breakpoint.c (until_break_command_continuation): Add
the 'error' parameter.  Directly delete the breakoint as
opposed to running cleanups.
(until_break_command): Install continuation only
after starting the target.  Don't use exec cleanups,
use ordinary cleanups.  Discard cleanups is successfully
started the target in async mode.
(make_cleanup_delete_breakpoint): Remove.
* breakpoint.h (make_cleanup_delete_breakpoint): Remove
declaration.
* defs.h (do_exec_cleanups, make_exec_cleanup): Remove
declarations.
(struct continations): Add the 'error' parameter to the
continuation_hook field.
(add_continuation, do_all_continuations)
(add_intermediate_continuation)
(do_all_intermediate_continuations): Add the 'error' parameter.
* exceptions.c (throw_exception): Don't call do_exec_cleanups.
* inf-loop.c (inferior_event_handler): Instead of calling
discard_all_continuations, use do_all_continuations with 1 as
'error' parameter.  Pass 0 as 'error' parameter in existing uses
of discard_all_continuations.
* infcmd.c (step_1): Do not use exec cleanup.  For async case, discard
cleanups.
(step_once): Install continuation only after resuming the target.
(step_1_continuation): Disable longjmp breakpoint on error.
(finish_command_continuation): Add the error parameter.  Delete
the finish breakpoint directly, do not use cleanups.
(finish_command): Do not use exec_cleanups. Always setup
continuation.  For sync case, immediately run them.
(attach_command_continuation): Add the error parameter.
* infrun.c (fetch_inferior_event): Do not use exec cleanups to
remove step_resume_breakpoint -- adjust delete it directly.
* interps.c (interp_set): Adjust call to do_all_continations.
* mi/mi-interp.c (mi_interpreter_exec_continuation): Do not
do exec cleanups.
* mi/mi-main.c (mi_cmd_target_select): Do not do exec
cleanups.
(mi_cmd_execute): Do not use exec_cleanup.
(mi_execute_async_cli_command): Simplify the string concatenation
logic.  Do no use exec cleanup.
(mi_exec_async_cli_cmd_continuation): New parameter error.
Free last_async_command.
* top.c (command_line_handler_continuation): New parameter error.
* utils.c (exec_cleanup_chain, make_exec_cleanup)
(do_exec_cleanups): Remove.
(add_continuation, do_all_continations)
(add_intermediate_continuation)
(do_all_intermediate_continuations): New parameter error.

16 years ago * breakpoint.h (bp_location_p): New typedef.
vprus [Thu, 24 Apr 2008 10:21:43 +0000 (10:21 +0000)]
* breakpoint.h (bp_location_p): New typedef.
Register a vector of bp_location_p.
* breakpoint.c (always_inserted_mode)
(show_always_inserted_mode): New.
(unlink_locations_from_global_list): Remove.
(update_global_location_list)
(update_global_location_list_nothrow): New.
(update_watchpoint): Don't free locations.
(should_insert_location): New.
(insert_bp_location): Use should_insert_location.
(insert_breakpoint_locations): Copied from
insert_breakpoints.
(insert_breakpoint): Use insert_breakpoint_locations.
(bpstat_stop_status): Call update_global_location_list
when disabling breakpoint.
(allocate_bp_location): Don't add to bp_location_chain.
(set_raw_breakpoint)
(create_longjmp_breakpoint, enable_longjmp_breakpoint)
(disable_longjmp_breakpoint, create_overlay_event_breakpoint)
(enable_overlay_breakpoints, disable_overlay_breakpoints)
(set_longjmp_resume_breakpoint)
(enable_watchpoints_after_interactive_call_stop)
(disable_watchpoints_before_interactive_call_start)
(create_internal_breakpoint)
(create_fork_vfork_event_catchpoint)
(create_exec_event_catchpoint, set_momentary_breakpoint)
(create_breakpoints, break_command_1, watch_command_1)
(create_exception_catchpoint)
(handle_gnu_v3_exceptions)
(disable_breakpoint, breakpoint_re_set_one)
(create_thread_event_breakpoint, create_solib_event_breakpoint)
(create_ada_exception_breakpoint): : Don't call check_duplicates.
Call update_global_location_list.
(delete_breakpoint): Don't remove locations and don't
try to reinsert them. Call update_global_location_list.
(update_breakpoint_locations): Likewise.
(restore_always_inserted_mode): New.
(update_breakpoints_after_exec): Temporary disable
always inserted mode.
* Makefile.in: Update dependencies.

* infrun.c (proceed): Remove breakpoints while stepping
over breakpoint.
(handle_inferior_event): Don't remove or insert
breakpoints.
* linux-fork.c (checkpoint_command): Remove breakpoints
before fork and insert after.
(linux_fork_context): Remove breakpoints before switch
and insert after.
* target.c (target_disconnect, target_detach): Remove
breakpoints from target.

16 years ago * cygwin-api.in.sgml: Add std-susv4 section to Compatibility chapter.
corinna [Thu, 24 Apr 2008 10:00:04 +0000 (10:00 +0000)]
* cygwin-api.in.sgml: Add std-susv4 section to Compatibility chapter.

16 years ago * cygwin.din (futimens): Export.
corinna [Thu, 24 Apr 2008 09:59:53 +0000 (09:59 +0000)]
* cygwin.din (futimens): Export.
(utimensat): Export.
* fhandler.cc (fhandler_base::utimens): Replace fhandler_base::utimes.
Call utimens_fs.
* fhandler.h (class fhandler_base): Declare utimens_fs instead of
utimes_fs, utimens instead of utimes.
(class fhandler_disk_file): Declare utimens instead of utimes.
* fhandler_disk_file.cc (fhandler_disk_file::utimens): Replace
fhandler_disk_file::utimes.
(fhandler_base::utimens_fs): Replace fhandler_base::utimes_fs.
Implement tv_nsec handling according to SUSv4.
* syscalls.cc (utimensat): New function.
* times.cc (timespec_to_filetime): New function.
(timeval_to_timespec): New function.
(utimens_worker): Replace utimes_worker.
(utimes): Convert timeval to timespec and call utimens_worker.
(lutimes): Ditto.
(futimens): Take over implementation from futimes.
(futimes): Convert timeval to timespec and call futimens.
* winsup.h (timespec_to_filetime): Declare.
* include/cygwin/version.h: Bump API minor number.
* posix.sgml: Add SUSv4 section.  Add futimens and utimensat to it.

16 years ago * libc/include/sys/stat.h (UTIME_NOW): Define for Cygwin.
corinna [Thu, 24 Apr 2008 09:39:20 +0000 (09:39 +0000)]
* libc/include/sys/stat.h (UTIME_NOW): Define for Cygwin.
(UTIME_OMIT): Ditto.
(utimensat): Declare for Cygwin.
(futimens): Ditto.

16 years ago * include/wait.h: New file.
corinna [Thu, 24 Apr 2008 08:46:40 +0000 (08:46 +0000)]
* include/wait.h: New file.

16 years ago * breakpoint.c (print_one_breakpoint_location): In MI
vprus [Thu, 24 Apr 2008 08:46:17 +0000 (08:46 +0000)]
* breakpoint.c (print_one_breakpoint_location): In MI
mode, report the location string the breakpoint was
originally created with.

16 years ago(oops) Add changelog entry for David Miller's SunPRO support patch which was
nickc [Thu, 24 Apr 2008 08:20:55 +0000 (08:20 +0000)]
(oops) Add changelog entry for David Miller's SunPRO support patch which was
accidentally omitted yesterday.

16 years agodaily update
amodra [Thu, 24 Apr 2008 00:00:04 +0000 (00:00 +0000)]
daily update

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

16 years ago2008-04-23 Ken Werner <ken.werner@de.ibm.com>
jjohnstn [Wed, 23 Apr 2008 23:10:54 +0000 (23:10 +0000)]
2008-04-23  Ken Werner  <ken.werner@de.ibm.com>

        * libc/include/_ansi.h: _LONG_LONG renamed to _LONG_LONG_TYPE.
        * libc/include/math.h: Likewise.

16 years ago2008-04-23 Maxim Grigoriev <maxim2405@gmail.com>
maxim2405 [Wed, 23 Apr 2008 21:17:04 +0000 (21:17 +0000)]
2008-04-23  Maxim Grigoriev  <maxim2405@gmail.com>

* Makefile.in (xtensa-tdep.o): Update dependencies.
* configure.tgt (xtensa*): Update dependencies.
* xtensa-tdep.c (arreg_number): Renamed from areg_number.
Local variable areg renamed to arreg.
(areg_number): New function.
(xtensa_pseudo_register_read, xtensa_pseudo_register_write)
(xtensa_extract_return_value, xtensa_store_return_value): areg_number
replaced by arreg_number.
(xtensa_windowed_frame_cache, struct xtensa_frame_cache): New comments.
(xtensa_alloc_frame_cache): Initialize cache->wd.ws.
(xtensa_scan_prologue): New function.
(xtensa_frame_cache): New local fp_regnum. Handle separately the case,
when ENTRY instraction hasn't been executed yet. Get the frame pointer
value based on prologue analysis. Fix the bugs preventing WS and
AR4-AR7/A11 registers from getting right values for intermediate frames,
whose registers have been already spilled.
(xtensa_frame_prev_register): Fix WS register value. Use are_number
and arreg_number appropriately.
(xtensa_gdbarch_init): Set solib_svr4_fetch_link_map_offsets to
svr4_ilp32_fetch_link_map_offsets.

16 years ago2008-04-23 Mike Frysinger <vapier@gentoo.org>
vapier [Wed, 23 Apr 2008 18:40:34 +0000 (18:40 +0000)]
2008-04-23  Mike Frysinger  <vapier@gentoo.org>

* Makefile.am (OBJ_FORMAT_CFILES): Add config/obj-fdpicelf.c.
(OBJ_FORMAT_HFILES): Add config/obj-fdpicelf.h.
(obj-fdpicelf.o): Define.
* Makefile.in: Regenerate.
* configure.tgt: Set bfd_gas to yes when fmt is fdpicelf.
(bfin-*-*): Delete.
(bfin-*-linux-uclibc): New; set fmt to fdpicelf and em to linux.
(bfin-*-uclinux*): New; set fmt to elf and em to linux.
* config/obj-fdpicelf.c: New.
* config/obj-fdpicelf.h: Likewise.
* config/tc-bfin.c (bfin_flags, bfin_pic_flag): Set default based on
the OBJ_FDPIC_ELF define.
(OPTION_NOPIC): Define.
(md_longopts): Add mnopic and mno-fdpic.
(md_parse_option): Handle OPTION_NOPIC.

16 years ago Based on patch from Masaki Muranaka <monaka@monami-software.com>:
kseitz [Wed, 23 Apr 2008 18:09:41 +0000 (18:09 +0000)]
    Based on patch from Masaki Muranaka  <monaka@monami-software.com>:
        * compat/strstr.c: Include tcl.h and define NULL if it is
        not already defined.

16 years ago * object.cc (Sized_relobj::include_section_group): Check for
ian [Wed, 23 Apr 2008 17:40:19 +0000 (17:40 +0000)]
* object.cc (Sized_relobj::include_section_group): Check for
invalid section group.

16 years ago * object.cc (make_elf_object): Correct test for 64-bit ELF file
ian [Wed, 23 Apr 2008 17:32:53 +0000 (17:32 +0000)]
* object.cc (make_elf_object): Correct test for 64-bit ELF file
header size.

16 years ago * readsyms.cc (Read_symbols::do_read_symbols): Use get_view rather
ian [Wed, 23 Apr 2008 17:29:04 +0000 (17:29 +0000)]
* readsyms.cc (Read_symbols::do_read_symbols): Use get_view rather
than read for file header.
* archive.cc (Archive::include_member): Likewise.

16 years agobfd/
hjl [Wed, 23 Apr 2008 16:11:45 +0000 (16:11 +0000)]
bfd/

2008-04-23  Paolo Bonzini  <bonzini@gnu.org>

* aclocal.m4: Regenerate.
* configure: Regenerate.

binutils/

2008-04-23  Paolo Bonzini  <bonzini@gnu.org>

* aclocal.m4: Regenerate.
* configure: Regenerate.

gas/

2008-04-23  Paolo Bonzini  <bonzini@gnu.org>

* aclocal.m4: Regenerate.
* configure: Regenerate.

gold/

2008-04-23  Paolo Bonzini  <bonzini@gnu.org>

* aclocal.m4: Regenerate.
* configure: Regenerate.

gprof/

2008-04-23  Paolo Bonzini  <bonzini@gnu.org>

* aclocal.m4: Regenerate.
* configure: Regenerate.

ld/

2008-04-23  Paolo Bonzini  <bonzini@gnu.org>

* aclocal.m4: Regenerate.
* configure: Regenerate.

opcodes/

2008-04-23  Paolo Bonzini  <bonzini@gnu.org>

* aclocal.m4: Regenerate.
* configure: Regenerate.

16 years ago2008-04-23 H.J. Lu <hongjiu.lu@intel.com>
hjl [Wed, 23 Apr 2008 16:01:09 +0000 (16:01 +0000)]
2008-04-23  H.J. Lu  <hongjiu.lu@intel.com>

* gas/i386/i386.exp: Run sse-noavx and x86-64-sse-noavx.

* gas/i386/sse-noavx.d: New.
* gas/i386/sse-noavx.s: Likewise.
* gas/i386/x86-64-sse-noavx.d: Likewise.
* gas/i386/x86-64-sse-noavx.s: Likewise.

16 years ago2008-04-23 H.J. Lu <hongjiu.lu@intel.com>
hjl [Wed, 23 Apr 2008 14:34:05 +0000 (14:34 +0000)]
2008-04-23  H.J. Lu  <hongjiu.lu@intel.com>

* gas/i386/sse2.s: Add tests for pmuludq, paddq and psubq.
* gas/i386/x86-64-simd.s: Likewise.

* gas/i386/sse2.d: Updated.
* gas/i386/x86-64-simd.d: Likewise.
* gas/i386/x86-64-simd-intel.d: Likewise.
* gas/i386/x86-64-simd-suffix.d: Likewise.

16 years ago2008-04-23 H.J. Lu <hongjiu.lu@intel.com>
hjl [Wed, 23 Apr 2008 14:33:56 +0000 (14:33 +0000)]
2008-04-23  H.J. Lu  <hongjiu.lu@intel.com>

* gas/i386/sse2.s: Add tests for pmuludq, paddq and psubq.
* gas/i386/x86-64-simd.s: Likewise.

* gas/i386/sse2.d: Updated.
* gas/i386/x86-64-simd.d: Likewise.
* gas/i386/x86-64-simd-intel.d: Likewise.
* gas/i386/x86-64-simd-suffix.d: Likewise.

16 years ago * config/obj-elf.c (obj_elf_section_type): Add prototype
nickc [Wed, 23 Apr 2008 13:54:56 +0000 (13:54 +0000)]
    * config/obj-elf.c (obj_elf_section_type): Add prototype
        before obj_elf_section_word and add 'warn' arg.
        (obj_elf_section_word): Add type pointer arg, and if no #SECTION
        is matched, try checking for #SECTION_TYPE.
        (obj_elf_section): Adjust for new args.
        (obj_elf_type_name): New function.
        (obj_elf_type): Call it, and accept STT_foo number strings
        in .type statements as output by SunPRO compiler.

16 years ago2008-04-23 Andrew Stubbs <andrew.stubbs@st.com>
ams [Wed, 23 Apr 2008 13:21:52 +0000 (13:21 +0000)]
2008-04-23  Andrew Stubbs  <andrew.stubbs@st.com>

* printcmd.c: Define USE_PRINTF_I64 and PRINTF_HAS_LONG_LONG on MinGW.
(printf_command): Convert %lld to %I64d when USE_PRINTF_I64 set.

16 years agogdb:
bonzini [Wed, 23 Apr 2008 12:21:45 +0000 (12:21 +0000)]
gdb:
2008-04-23  Paolo Bonzini  <bonzini@gnu.org>

        * acinclude.m4: Add override.m4.
        * configure: Regenerate.

gdb/gdbserver:
2008-04-23  Paolo Bonzini  <bonzini@gnu.org>

        * acinclude.m4: Add override.m4.
        * configure: Regenerate.

gdb/testsuite:
2008-04-23  Paolo Bonzini  <bonzini@gnu.org>

        * aclocal.m4: Add override.m4.
        * configure: Regenerate.

16 years ago * mount.cc (usage): Mark -s and -u as ignored.
corinna [Wed, 23 Apr 2008 11:37:58 +0000 (11:37 +0000)]
* mount.cc (usage): Mark -s and -u as ignored.
(print_version): Simplify printing copyright dates.
(main): Remove default_flag.  Dont set flags on -s and -u options.
(mount_commands): Drop handling -s and -u options.

16 years ago * posix.sgml: Add openat, faccessat, fchmodat, fchownat, fstatat,
corinna [Wed, 23 Apr 2008 11:19:57 +0000 (11:19 +0000)]
* posix.sgml: Add openat, faccessat, fchmodat, fchownat, fstatat,
futimesat, linkat, mkdirat, mkfifoat, mknodat, readlinkat, renameat,
symlinkat, unlinkat to list of implemented Solaris functions.

16 years ago * cygwin.din: Sort.
corinna [Wed, 23 Apr 2008 11:13:52 +0000 (11:13 +0000)]
* cygwin.din: Sort.
(faccessat): Export.
(fchmodat): Export.
(fchownat): Export.
(fstatat): Export.
(futimesat): Export.
(linkat): Export.
(mkdirat): Export.
(mkfifoat): Export.
(mknodat): Export.
(openat): Export.
(readlinkat): Export.
(renameat): Export.
(symlinkat): Export.
(unlinkat): Export.
* path.cc (readlink): Align definition to POSIX.
* syscalls.cc (gen_full_path_at): New static function.
(faccessat): Implement.
(fchmodat): Implement.
(fchownat): Implement.
(fstatat): Implement.
(futimesat): Implement.
(linkat): Implement.
(mkdirat): Implement.
(mkfifoat): Implement.
(mknodat): Implement.
(openat): Implement.
(readlinkat): Implement.
(renameat): Implement.
(symlinkat): Implement.
(unlinkat): Implement.
* include/cygwin/version.h: Bump API minor number.

16 years ago * libc/include/stdio.h (renameat): Declare for Cygwin.
corinna [Wed, 23 Apr 2008 11:13:24 +0000 (11:13 +0000)]
* libc/include/stdio.h (renameat): Declare for Cygwin.
(symlinkat): Ditto.
* libc/include/sys/unistd.h (readlink): Align declaration to POSIX.
(faccessat): Declare for Cygwin.
(fchownat): Ditto.
(linkat): Ditto.
(readlinkat): Ditto.
* libc/include/sys/_default_fcntl.h (AT_FDCWD): Define for Cygwin.
(AT_EACCESS): Ditto.
(AT_SYMLINK_NOFOLLOW): Ditto.
(AT_SYMLINK_FOLLOW): Ditto.
(AT_REMOVEDIR): Ditto.
(futimesat): Declare for Cygwin.
(openat): Ditto.
(unlinkat): Ditto.
* libc/include/sys/stat.h (fchmodat): Ditto.
(fstatat): Ditto.
(mkdirat): Ditto.
(mkfifoat): Ditto.
(mknodat): Ditto.

16 years ago2008-04-23 Paolo Bonzini <bonzini@gnu.org>
bonzini [Wed, 23 Apr 2008 10:24:41 +0000 (10:24 +0000)]
2008-04-23  Paolo Bonzini  <bonzini@gnu.org>

* confsubdir.m4: Remove.
* override.m4: Apply _AC_ARG_VALIDATE fix to all versions
but 2.62.

16 years agoopcodes/
davem [Wed, 23 Apr 2008 07:49:32 +0000 (07:49 +0000)]
opcodes/

* sparc-opc.c (asi_table): Add UltraSPARC and Niagara
extended values.
(prefetch_table): Add missing values.

gas/

* config/tc-sparc.c (v9a_asr_table): Add missing
'stick' and 'stick_cmpr', and document ordering rules
of table.
(tc_gen_reloc): Accept BFD_RELOC_SPARC_PC22 and
BFD_RELOC_SPARC_PC10.
* doc/c-sparc.texi: New section on Sparc constants.
Add documentation for %stick and %stick_cmpr.

gas/testsuite/

* gas/sparc/pc2210.d: New file.
* gas/sparc/pc2210.d: Likewise.
* gas/sparc/sparc.exp: Run new %pc22/%pc10 relocation test.

16 years ago*** empty log message ***
gdbadmin [Wed, 23 Apr 2008 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

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

16 years agogas/
hjl [Tue, 22 Apr 2008 22:27:13 +0000 (22:27 +0000)]
gas/

2008-04-22  H.J. Lu  <hongjiu.lu@intel.com>

* config/tc-i386.c (md_assemble): Don't check SSE instructions
if noavx is 0.

opcodes/

2008-04-22  H.J. Lu  <hongjiu.lu@intel.com>

* i386-gen.c (opcode_modifiers): Add NoAVX.

* i386-opc.h (NoAVX): New.
(OldGcc): Updated.
(i386_opcode_modifier): Add noavx.

* i386-opc.tbl: Add NoAVX to SSE, SSE2, SSE3 and SSSE3
instructions which don't have AVX equivalent.
* i386-tbl.h: Regenerated.

16 years ago * ada-lang.c (get_selections): Variable PROMPT made non-const and
jkratoch [Tue, 22 Apr 2008 22:23:15 +0000 (22:23 +0000)]
* ada-lang.c (get_selections): Variable PROMPT made non-const and
initialized with a trailing space now.  Use PROMPT_ARG of
COMMAND_LINE_INPUT instead of printing it ourselves.

16 years ago * dcrt0.cc (dll_crt0_0): Move CWD initialization from here...
corinna [Tue, 22 Apr 2008 20:56:26 +0000 (20:56 +0000)]
* dcrt0.cc (dll_crt0_0): Move CWD initialization from here...
(dll_crt0_1): ...to here.

16 years ago * NEWS: Document support for 64-bit core file.
brobecke [Tue, 22 Apr 2008 20:29:07 +0000 (20:29 +0000)]
    * NEWS: Document support for 64-bit core file.

16 years ago * cygwin.din (fmemopen): Export.
corinna [Tue, 22 Apr 2008 16:55:23 +0000 (16:55 +0000)]
* cygwin.din (fmemopen): Export.
(open_memstream): Export.
* include/cygwin/version.h: Bump API minor number.

16 years ago * cygcheck.cc (dump_sysinfo): Fix multiple Cygwin DLL test.
corinna [Tue, 22 Apr 2008 14:42:05 +0000 (14:42 +0000)]
* cygcheck.cc (dump_sysinfo): Fix multiple Cygwin DLL test.
* path.cc: Fetch mount points from fstab files instead of from
registry.  Use adapted functions copied from Cygwin DLL.
(mnt_t): Drop issys member.  Define as "mnt_t" instead of "struct mnt_t"
subsequently.
(max_mount_entry): New variable.
(unconvert_slashes): Move to earlier location in file.  Make inline.
(find2): Remove.
(get_cygdrive0): Remove.
(get_cygdrive): Remove.
(skip_ws): New function.
(find_ws): Ditto.
(conv_fstab_spaces): Ditto.
(read_flags): Ditto.
(from_fstab_line): Ditto.
(get_user): Ditto.
(from_fstab): Ditto.
(mnt_sort): Ditto.
(read_mounts): Drop old registry code.  Fetch
"Software\Cygwin\Setup\rootdir" value from HKCU or HKLM key.  Use
rootdir extracted from module path as fallback.  Call from_fstab for
nouser and user mount points.
(setmntent): Check max_mount_entry to test if read_mounts must be
called.
(getmntent): Use MOUNT_SYSTEM flag instead of mnt_t's issys member.

16 years agodoc/ChangeLog:
corinna [Tue, 22 Apr 2008 11:03:40 +0000 (11:03 +0000)]
doc/ChangeLog:
--------------

* gdb.texinfo (Set SH Calling convention): New @item.
(Show SH Calling convention): Ditto.

ChangeLog:
----------

* NEWS: Add information on calling convention and new SH CLI options.

* sh-tdep.c (sh_cc_gcc): New static string.
(sh_cc_renesas): Ditto.
(sh_cc_enum): New static string array.
(sh_active_calling_convention): New static string pointer denoting
active user chosen ABI.
(sh_is_renesas_calling_convention): New function to return function
specific ABI, or user choice if necessary.
(sh_use_struct_convention): Rename first argument and turn around its
meaning.  Check for renesas ABI and return accordingly.
(sh_use_struct_convention_nofpu): New function.
(sh_next_flt_argreg): Get function type as third parameter.  Check
for renesas ABI and choose floating registers accordingly.
(sh_push_dummy_call_fpu): Check for ABI and choose argument slot and
struct return slot accordingly.
(sh_push_dummy_call_nofpu): Ditto.
(sh_return_value_nofpu): Call sh_use_struct_convention_nofpu from here.
Evaluate ABI and give to sh_use_struct_convention_nofpu.
(sh_return_value_fpu):  Evaluate ABI and give to
sh_use_struct_convention.
(show_sh_command): New function.
(set_sh_command): Ditto.
(_initialize_sh_tdep): Initialize `set/show sh calling-convention
CLI command.

* gdbarch.sh (return_value): Add func_type argument.
* gdbarch.c: Regenerate.
* gdbarch.h: Ditto.
* eval.c (evaluate_subexp_standard): Rename local variable value_type to
val_type so as not to collide with value_type function.  Call
using_struct_return with additional function type argument.
* infcall.c (call_function_by_hand): Call using_struct_return and
gdbarch_return_value with additional function type argument.
* infcmd.c (print_return_value): Take addition func_type argument.
Call gdbarch_return_value with additional function type argument.
(finish_command_continuation): Call print_return_value with additional
function type argument.
(finish_command): Ditto.
* sparc-tdep.c (sparc32_push_dummy_code): Call using_struct_return with
additional function type argument.
* stack.c (return_command): Call using_struct_return and
gdbarch_return_value with additional function type argument.
* value.c (using_struct_return): Take additional function type argument.
* value.h (using_struct_return): Accommodate declaration.
* alpha-tdep.c (alpha_return_value): Add func_type argument.
* amd64-tdep.c (amd64_return_value): Ditto.
* arm-tdep.c (arm_return_value): Ditto.
* avr-tdep.c (avr_return_value): Ditto.
* cris-tdep.c (cris_return_value): Ditto.
* frv-tdep.c (frv_return_value): Ditto.
* h8300-tdep.c (h8300_return_value): Ditto.
(h8300h_return_value): Ditto.
* hppa-tdep.c (hppa32_return_value): Ditto.
(hppa64_return_value): Ditto.
* i386-tdep.c (i386_return_value): Ditto.
* ia64-tdep.c (ia64_return_value): Ditto.
* iq2000-tdep.c (iq2000_return_value): Ditto.
* m32c-tdep.c (m32c_return_value): Ditto.
* m32r-tdep.c (m32r_return_value): Ditto.
* m68hc11-tdep.c (m68hc11_return_value): Ditto.
* m68k-tdep.c (m68k_return_value): Ditto.
(m68k_svr4_return_value): Ditto.
* m88k-tdep.c  (m88k_return_value): Ditto.
* mep-tdep.c (mep_return_value): Ditto.
* mips-tdep.c (mips_eabi_return_value): Ditto.
(mips_n32n64_return_value): Ditto.
(mips_o32_return_value): Ditto.
(mips_o64_return_value): Ditto.
* mn10300-tdep.c (mn10300_return_value): Ditto.
* mt-tdep.c (mt_return_value): Ditto.
* ppc-linux-tdep.c (ppc_linux_return_value): Ditto.
* ppc-sysv-tdep.c (ppc_sysv_abi_return_value): Ditto.
(ppc_sysv_abi_broken_return_value): Ditto.
(ppc64_sysv_abi_return_value): Ditto.
* ppc-tdep.h (ppc_sysv_abi_return_value): Ditto.
(ppc_sysv_abi_broken_return_value): Ditto.
(ppc64_sysv_abi_return_value): Ditto.
* ppcnbsd-tdep.c (ppcnbsd_return_value): Ditto.
* rs6000-tdep.c (rs6000_return_value): Ditto.
* s390-tdep.c (s390_return_value): Ditto.
* score-tdep.c (score_return_value): Ditto.
* sh-tdep.c (sh_return_value_nofpu): Ditto.
(sh_return_value_fpu): Ditto.
* sh64-tdep.c (sh64_return_value): Ditto.
* sparc-tdep.c (sparc32_return_value): Ditto.
* sparc64-tdep.c (sparc64_return_value): Ditto.
* spu-tdep.c (spu_return_value): Ditto.
* v850-tdep.c (v850_return_value): Ditto.
* vax-tdep.c (vax_return_value): Ditto.
* xstormy16-tdep.c (xstormy16_return_value): Ditto.
* xtensa-tdep.c (xtensa_return_value): Ditto.

* gdbtypes.h (struct type): Add calling_convention member.
* dwarf2read.c (read_subroutine_type): Add calling convention read
from DW_AT_calling_convention attribute to function type.

16 years ago * sec_auth.cc (create_token): Add integrity level SID to token on
corinna [Tue, 22 Apr 2008 10:45:34 +0000 (10:45 +0000)]
* sec_auth.cc (create_token): Add integrity level SID to token on
systems supporting that.  Remove useless check for dynamically loading
NtCreateToken function.
* sec_helper.cc (mandatory_medium_integrity_sid): Define.
(mandatory_high_integrity_sid): Define.
(mandatory_system_integrity_sid): Define.
* sec_helper.h (mandatory_medium_integrity_sid): Declare.
(mandatory_high_integrity_sid): Declare.
(mandatory_system_integrity_sid): Declare.

16 years ago * include/winnt.h (SECURITY_MANDATORY_LABEL_AUTHORITY): Define.
corinna [Tue, 22 Apr 2008 10:43:04 +0000 (10:43 +0000)]
* include/winnt.h (SECURITY_MANDATORY_LABEL_AUTHORITY): Define.
(SECURITY_MANDATORY_UNTRUSTED_RID): Define.
(SECURITY_MANDATORY_LOW_RID): Define.
(SECURITY_MANDATORY_MEDIUM_RID): Define.
(SECURITY_MANDATORY_HIGH_RID): Define.
(SECURITY_MANDATORY_SYSTEM_RID): Define.
(SECURITY_MANDATORY_PROTECTED_PROCESS_RID): Define.
(SECURITY_MANDATORY_MAXIMUM_USER_RID): Define.
(SE_GROUP_INTEGRITY): Define.
(SE_GROUP_INTEGRITY_ENABLED): Define.

16 years ago * eval.c (evaluate_subexp_standard): Use value_subscripted_rvalue for
deuling [Tue, 22 Apr 2008 06:53:17 +0000 (06:53 +0000)]
* eval.c (evaluate_subexp_standard): Use value_subscripted_rvalue for
multi_f77_subscript to support values from registers.
* valarith.c (value_subscripted_rvalue): Remove prototype and static.
* value.h (value_subscripted_rvalue): Add prototype.

* f-typeprint.c (f_type_print_base): Add support for TYPE_CODE_UNION.
Fix output.
* f-valprint.c (f_val_print): Likewise.

16 years ago * gdb.texinfo (Fortran Operators): Describe '%' operator.
deuling [Tue, 22 Apr 2008 06:51:04 +0000 (06:51 +0000)]
* gdb.texinfo (Fortran Operators): Describe '%' operator.

16 years ago * archive.c (_bfd_write_archive_contents): Fix incorrect use of
ccoutant [Tue, 22 Apr 2008 00:12:23 +0000 (00:12 +0000)]
* archive.c (_bfd_write_archive_contents): Fix incorrect use of
ARFMAG.