OSDN Git Service

pf3gnuchains/sourceware.git
13 years ago*** empty log message ***
gdbadmin [Wed, 25 Aug 2010 09:00:34 +0000 (09:00 +0000)]
*** empty log message ***

13 years agodaily update
amodra [Wed, 25 Aug 2010 09:00:05 +0000 (09:00 +0000)]
daily update

13 years ago2010-08-24 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
ironhead [Wed, 25 Aug 2010 08:09:52 +0000 (08:09 +0000)]
2010-08-24  Chris Sutcliffe  <ir0nh34d@users.sourceforge.net>

        * include/prsht.h (SNDMSG, POSTMSG): Define macros and use throughout.

        Thank you to Ozkan Sezer for reporting the issue.

13 years ago2010-08-24 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
ironhead [Wed, 25 Aug 2010 08:03:57 +0000 (08:03 +0000)]
2010-08-24  Chris Sutcliffe  <ir0nh34d@users.sourceforge.net>

        * include/windowsx.h (SNDMSG): Define macro and use throughout.

        Thank you to Chris Oldwood for reporting the issue.

13 years ago2010-08-24 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
ironhead [Wed, 25 Aug 2010 07:41:35 +0000 (07:41 +0000)]
2010-08-24  Chris Sutcliffe  <ir0nh34d@users.sourceforge.net>

        * include/oleacc.h (AccessibleObjectFromEvent): Correct definition.

        Thank you to Rick Walsh for reporting the issue.

13 years ago2010-08-24 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
ironhead [Wed, 25 Aug 2010 07:35:39 +0000 (07:35 +0000)]
2010-08-24  Chris Sutcliffe  <ir0nh34d@users.sourceforge.net>

        * include/winbase.h (MoveFileWithProcessA, MoveFileWithProgressW): Define.

13 years ago2010-08-24 Vinky <rabbit_vinky@users.sourceforge.net>
ironhead [Wed, 25 Aug 2010 07:25:43 +0000 (07:25 +0000)]
2010-08-24  Vinky  <rabbit_vinky@users.sourceforge.net>

        * include/winbase.h (OVERLAPPED): Correct definition.

13 years ago2010-08-24 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
ironhead [Wed, 25 Aug 2010 07:20:33 +0000 (07:20 +0000)]
2010-08-24  Chris Sutcliffe  <ir0nh34d@users.sourceforge.net>

        * include/winnt.h (IMAGE_NT_HEADERS32, IMAGE_NT_HEADERS64): Correct
        definition.

        Thank you to Pasi Ruokola for reporting the issue.

13 years ago2010-08-24 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
ironhead [Wed, 25 Aug 2010 07:10:28 +0000 (07:10 +0000)]
2010-08-24  Chris Sutcliffe  <ir0nh34d@users.sourceforge.net>

        * include/exdisp.h (get_RegisterAsBrowser): Fix typo.

        Thank you to cheznonnon for reporting the issue.

13 years ago2010-08-24 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
ironhead [Wed, 25 Aug 2010 07:05:38 +0000 (07:05 +0000)]
2010-08-24  Chris Sutcliffe  <ir0nh34d@users.sourceforge.net>

        * lib/ws2_32.def: Regenerate using gendef on a Win7 machine.

13 years ago2010-08-24 Ozkan Sezer <sezero@users.sourceforge.net>
ironhead [Wed, 25 Aug 2010 06:26:51 +0000 (06:26 +0000)]
2010-08-24  Ozkan Sezer  <sezero@users.sourceforge.net>

        * winnt.h: Fix several SUBLANG ID errors (ref:
        http://msdn.microsoft.com/en-us/library/dd318693(VS.85).aspx).
        (SUBLANG_UI_CUSTOM_DEFAULT): 0x05, not 0x03.
        (SUBLANG_HAUSA_NIGERIA): Bad ID name, correct one is ...
        (SUBLANG_HAUSA_NIGERIA_LATIN): ... this.
        (SUBLANG_INUKTITUT_CANADA_LATIN): 0x02, not 0x01.
        (SUBLANG_IRISH_IRELAND): 0x02, not 0x01.
        (SUBLANG_LAO_LAO_PDR): Bad ID name, correct one is ...
        (SUBLANG_LAO_LAO): ... this.
        (SUBLANG_LOWER_SORBIAN_GERMANY): 0x02, not 0x01.
        (SUBLANG_SAMI_SKOLT_FINLAND): 0x08, not 0x03.
        (SUBLANG_SAMI_INARI_FINLAND): 0x09, not 0x03.
        (SUBLANG_SYRIAC_SYRIA): define as SUBLANG_SYRIAC (what MSDN mentions).
        (SUBLANG_TIGRIGNA_ERITREA): 0x02, not 0x01.
        (SUBLANG_BENGALI_INDIA): 0x01, not 0x00.
        (SUBLANG_BENGALI_BANGLADESH): 0x02, not 0x01.
        (SUBLANG_PUNJABI_INDIA): 0x01, not 0x00.
        (SUBLANG_PUNJABI_PAKISTAN): not defined in MSDN.
        (SUBLANG_ROMANIAN_ROMANIA): 0x01, not 0x00.
        (SUBLANG_ROMANIAN_MOLDOVA): not defined in MSDN.

13 years ago * linux-low.h (linux_thread_area): Delete declaration.
palves [Wed, 25 Aug 2010 05:13:15 +0000 (05:13 +0000)]
* linux-low.h (linux_thread_area): Delete declaration.

13 years ago2010-08-24 LRN <lrn1986@gmail.com>
ironhead [Wed, 25 Aug 2010 04:09:48 +0000 (04:09 +0000)]
2010-08-24  LRN  <lrn1986@gmail.com>

        * include/mmreg.h (MPEGLAYER3WAVEFORMAT, WAVE_FORMAT_UNKNOWN,
        WAVE_FORMAT_PCM, WAVE_FORMAT_ADPCM, WAVE_FORMAT_IEEE_FLOAT,
        WAVE_FORMAT_VSELP, WAVE_FORMAT_IBM_CVSD, WAVE_FORMAT_ALAW,
        WAVE_FORMAT_MULAW, WAVE_FORMAT_OKI_ADPCM, WAVE_FORMAT_DVI_ADPCM,
        WAVE_FORMAT_MEDIASPACE_ADPCM, WAVE_FORMAT_SIERRA_ADPCM,
        WAVE_FORMAT_G723_ADPCM, WAVE_FORMAT_DIGIFIX, WAVE_FORMAT_DIALOGIC_OKI_ADPCM,
        WAVE_FORMAT_MEDIAVISION_ADPCM, WAVE_FORMAT_CU_CODEC,
        WAVE_FORMAT_YAMAHA_ADPCM, WAVE_FORMAT_SONARC,
        WAVE_FORMAT_DSPGROUP_TRUESPEECH, WAVE_FORMAT_ECHOSC1,
        WAVE_FORMAT_AUDIOFILE_AF36, WAVE_FORMAT_APTX, WAVE_FORMAT_AUDIOFILE_AF10,
        WAVE_FORMAT_PROSODY_1612, WAVE_FORMAT_LRC, WAVE_FORMAT_DOLBY_AC2,
        WAVE_FORMAT_GSM610, WAVE_FORMAT_MSNAUDIO, WAVE_FORMAT_ANTEX_ADPCME,
        WAVE_FORMAT_CONTROL_RES_VQLPC, WAVE_FORMAT_DIGIREAL, WAVE_FORMAT_DIGIADPCM,
        WAVE_FORMAT_CONTROL_RES_CR10, WAVE_FORMAT_NMS_VBXADPCM,
        WAVE_FORMAT_ROLAND_RDAC, WAVE_FORMAT_ECHOSC3, WAVE_FORMAT_ROCKWELL_ADPCM,
        WAVE_FORMAT_ROCKWELL_DIGITALK, WAVE_FORMAT_XEBEC, WAVE_FORMAT_G721_ADPCM,
        WAVE_FORMAT_G728_CELP, WAVE_FORMAT_MSG723, WAVE_FORMAT_MPEG,
        WAVE_FORMAT_RT24, WAVE_FORMAT_PAC, WAVE_FORMAT_MPEGLAYER3,
        WAVE_FORMAT_LUCENT_G723, WAVE_FORMAT_CIRRUS, WAVE_FORMAT_ESPCM,
        WAVE_FORMAT_VOXWARE, WAVE_FORMAT_CANOPUS_ATRAC, WAVE_FORMAT_G726_ADPCM,
        WAVE_FORMAT_G722_ADPCM, WAVE_FORMAT_DSAT, WAVE_FORMAT_DSAT_DISPLAY,
        WAVE_FORMAT_VOXWARE_BYTE_ALIGNED, WAVE_FORMAT_VOXWARE_AC8,
        WAVE_FORMAT_VOXWARE_AC10, WAVE_FORMAT_VOXWARE_AC16,
        WAVE_FORMAT_VOXWARE_AC20, WAVE_FORMAT_VOXWARE_RT24,
        WAVE_FORMAT_VOXWARE_RT29, WAVE_FORMAT_VOXWARE_RT29HW,
        WAVE_FORMAT_VOXWARE_VR12, WAVE_FORMAT_VOXWARE_VR18,
        WAVE_FORMAT_VOXWARE_TQ40, WAVE_FORMAT_SOFTSOUND, WAVE_FORMAT_VOXWARE_TQ60,
        WAVE_FORMAT_MSRT24, WAVE_FORMAT_G729A, WAVE_FORMAT_MVI_MV12,
        WAVE_FORMAT_DF_G726, WAVE_FORMAT_DF_GSM610, WAVE_FORMAT_ISIAUDIO,
        WAVE_FORMAT_ONLIVE, WAVE_FORMAT_SBC24, WAVE_FORMAT_DOLBY_AC3_SPDIF,
        WAVE_FORMAT_ZYXEL_ADPCM, WAVE_FORMAT_PHILIPS_LPCBB, WAVE_FORMAT_PACKED,
        WAVE_FORMAT_RHETOREX_ADPCM, WAVE_FORMAT_IRAT, WAVE_FORMAT_VIVO_G723,
        WAVE_FORMAT_VIVO_SIREN, WAVE_FORMAT_DIGITAL_G723,
        WAVE_FORMAT_CREATIVE_ADPCM, WAVE_FORMAT_CREATIVE_FASTSPEECH8,
        WAVE_FORMAT_CREATIVE_FASTSPEECH10, WAVE_FORMAT_QUARTERDECK,
        WAVE_FORMAT_FM_TOWNS_SND, WAVE_FORMAT_BTV_DIGITAL, WAVE_FORMAT_VME_VMPCM,
        WAVE_FORMAT_OLIGSM, WAVE_FORMAT_OLIADPCM, WAVE_FORMAT_OLICELP,
        WAVE_FORMAT_OLISBC, WAVE_FORMAT_OLIOPR, WAVE_FORMAT_LH_CODEC,
        WAVE_FORMAT_NORRIS, WAVE_FORMAT_ISIAUDIO,
        WAVE_FORMAT_SOUNDSPACE_MUSICOMPRESS, WAVE_FORMAT_DVM, WAVE_FORMAT_RAW_AAC1,
        WAVE_FORMAT_MPEG_HEAAC, WAVE_FORMAT_MPEG_ADTS_AAC, WAVE_FORMAT_DRM,
        WAVE_FORMAT_DTS, WAVE_FORMAT_WMAVOICE9, WAVE_FORMAT_WMASPDIF,
        WAVE_FORMAT_WMAUDIO_LOSSLESS, WAVE_FORMAT_WMAUDIO2, WAVE_FORMAT_WMAUDIO3,
        WAVE_FORMAT_MPEG_LOAS, WAVE_FORMAT_RAW_SPORT, WAVE_FORMAT_ESST_AC3,
        WAVE_FORMAT_DTS2): Define.
        * include/msacm.h (HACMDRIVERID, HACMDRIVER, HACMSTREAM, HACMOBJ,
        ACMSTREAMHEADER, WAVEFILTER, acmDriverAddA, acmDriverAddW, acmDriverRemove,
        acmMetrics, acmStreamOpen, acmStreamSize, acmStreamPrepareHeader,
        acmStreamUnprepareHeader, acmStreamReset, acmStreamClose, acmStreamConvert):
        Define.

13 years agogdb/
jkratoch [Wed, 25 Aug 2010 02:24:24 +0000 (02:24 +0000)]
gdb/
* python/py-type.c (typy_richcompare): Initialize worklist.

13 years agoFix typos in ld-x86-64/x86-64.exp.
hjl [Wed, 25 Aug 2010 01:36:24 +0000 (01:36 +0000)]
Fix typos in ld-x86-64/x86-64.exp.

2010-08-24  H.J. Lu  <hongjiu.lu@intel.com>

* ld-x86-64/x86-64.exp: Fix typos.

13 years ago * arm-tdep.c: Include features/arm-with-m.c.
drow [Wed, 25 Aug 2010 00:56:12 +0000 (00:56 +0000)]
* arm-tdep.c: Include features/arm-with-m.c.
(arm_psr_thumb_bit): New.  Update all uses of CPSR_T to
call this function.
(arm_pc_is_thumb): Add a gdbarch argument.  Update all callers.
Check is_m after force-mode.
(arm_gdbarch_init): Check the binary before the target description.
Add check for M profile attribute.  If we have an M-profile device,
but no target register description, use arm-with-m.  Recognize the
new org.gnu.gdb.arm.m-profile feature and its xpsr register.
(_initialize_arm_tdep): Call initialize_tdesc_arm_with_m.
* arm-tdep.h (XPSR_T): Define.
(struct gdbarch_tdep): Add is_m member.
* features/arm-m-profile.xml, features/arm-with-m.c,
features/arm-with-m.xml: New files.

doc/
* gdb.texinfo (ARM Features): Document
org.gnu.gdb.arm.m-profile.

13 years ago * include/cygwin/version.h: Fix comment.
corinna [Wed, 25 Aug 2010 00:25:45 +0000 (00:25 +0000)]
* include/cygwin/version.h: Fix comment.

13 years ago * external.cc (cygwin_internal): In CW_CVT_MNT_OPTS case, initialize
corinna [Wed, 25 Aug 2010 00:11:23 +0000 (00:11 +0000)]
* external.cc (cygwin_internal): In CW_CVT_MNT_OPTS case, initialize
flags with *pflags to restore original behaviour.

13 years ago PR 11899
nickc [Tue, 24 Aug 2010 16:24:10 +0000 (16:24 +0000)]
    PR 11899
        * layout.cc (segment_precedes): Sort segments by their physical
        addresses, if they have been set.

13 years ago * sim/cris/asm/nonvcv32.ms: Neutralize changed &&-in-macro gas syntax.
hp [Tue, 24 Aug 2010 10:14:37 +0000 (10:14 +0000)]
* sim/cris/asm/nonvcv32.ms: Neutralize changed &&-in-macro gas syntax.

13 years ago2010-08-23 LRN <lrn1986@gmail.com>
ironhead [Tue, 24 Aug 2010 09:15:51 +0000 (09:15 +0000)]
2010-08-23  LRN  <lrn1986@gmail.com>

        * include/winbase.h (SYMBOLIC_LINK_FLAG_DIRECTORY, FILE_NAME_NORMALIZED,
        FILE_NAME_OPENED, VOLUME_NAME_DOS, VOLUME_NAME_GUID, VOLUME_NAME_NONE,
        VOLUME_NAME_NT, FILE_BASIC_INFO, FILE_STANDARD_INFO, FILE_NAME_INFO,
        FILE_STREAM_INFO, FILE_COMPRESSION_INFO, FILE_ATTRIBUTE_TAG_INFO,
        FILE_ID_BOTH_DIR_INFO, FILE_REMOTE_PROTOCOL_INFO, FILE_INFO_BY_HANDLE_CLASS,
        GetFileInformationByHandleEx, GetFinalPathNameByHandleA,
        GetFinalPathNameByHandleW): Define.

13 years agodaily update
amodra [Tue, 24 Aug 2010 09:00:06 +0000 (09:00 +0000)]
daily update

13 years ago*** empty log message ***
gdbadmin [Tue, 24 Aug 2010 09:00:03 +0000 (09:00 +0000)]
*** empty log message ***

13 years ago * dwarf2read.c (set_die_type): Fix typo in comment.
devans [Tue, 24 Aug 2010 06:49:26 +0000 (06:49 +0000)]
* dwarf2read.c (set_die_type): Fix typo in comment.

13 years ago * dwarf2read.c (read_structure_type): Add comment.
devans [Tue, 24 Aug 2010 06:44:36 +0000 (06:44 +0000)]
* dwarf2read.c (read_structure_type): Add comment.
(read_enumeration_type): Add comment.
(process_enumeration_scope): Move definition of some locals
closer to their use.
(read_namespace_type): Add comment.

13 years agogdb
tromey [Tue, 24 Aug 2010 05:29:19 +0000 (05:29 +0000)]
gdb
PR python/11145:
* python/py-value.c: Include expression.h.
(valpy_do_cast): New function.
(valpy_cast): Use it.
(valpy_dynamic_cast): New function.
(valpy_reinterpret_cast): Likewise.
(value_object_methods): Add dynamic_cast, reinterpret_cast.
gdb/doc
PR python/11145:
* gdb.texinfo (Values From Inferior): Document dynamic_cast and
reinterpret_cast methods.
gdb/testsuite
PR python/11145:
* gdb.python/py-value.c (Base, Derived): New types.
(base): New global.
* gdb.python/py-value.exp (test_subscript_regression): Add
dynamic_cast test.

13 years ago * archive.cc (Lib_group::add_symbols): Lock object before deleting its
ccoutant [Tue, 24 Aug 2010 05:28:24 +0000 (05:28 +0000)]
* archive.cc (Lib_group::add_symbols): Lock object before deleting its
symbols data.
(Lib_group::include_member): Unlock object after deleting its
symbols data.
* testsuite/start_lib_test_3.c: Remove all global symbols to trigger
the bug fixed here.

13 years ago PR python/11391:
tromey [Tue, 24 Aug 2010 05:27:48 +0000 (05:27 +0000)]
PR python/11391:
* python/py-value.c (valpy_nonzero): Don't throw error for other
Value types.

13 years agogdb
tromey [Tue, 24 Aug 2010 05:26:09 +0000 (05:26 +0000)]
gdb
PR python/10676:
* python/py-type.c: Include bcache.h, vec.h.
(struct type_equality_entry): New.
(compare_strings): New function.
(check_types_equal): Likewise.
(check_types_worklist): Likewise.
(typy_richcompare): Likewise.
(type_object_type): Set tp_richcompare field.
gdb/testsuite
PR python/10676:
* gdb.python/py-type.exp (test_fields): Add tests for type
equality.

13 years ago PR python/10953:
tromey [Tue, 24 Aug 2010 05:23:54 +0000 (05:23 +0000)]
PR python/10953:
* python/py-type.c (typy_fields): Call check_typedef.
(typy_template_argument): Add TRY_CATCH.

13 years agogdb
tromey [Tue, 24 Aug 2010 05:21:11 +0000 (05:21 +0000)]
gdb
PR python/11915:
* python/py-type.c (typy_array): New function.
(type_object_methods): Add "array".
gdb/doc
PR python/11915:
* gdb.texinfo (Types In Python): Document array method.
gdb/testsuite
PR python/11915:
* gdb.python/py-type.exp (test_fields): Add tests for array.

13 years ago * gdb.dwarf2/dw2-double-set-die-type.S: DIE 0x51f does not
kseitz [Tue, 24 Aug 2010 04:12:52 +0000 (04:12 +0000)]
* gdb.dwarf2/dw2-double-set-die-type.S: DIE 0x51f does not
have any children. Create a new abbrev for it.
Add missing terminal sequence to .debug_abbrev.

13 years agoAdd --input-osabi and --output-osabi to elfedit.
hjl [Tue, 24 Aug 2010 01:25:51 +0000 (01:25 +0000)]
Add --input-osabi and --output-osabi to elfedit.

binutils/

2010-08-23  H.J. Lu  <hongjiu.lu@intel.com>

* elfedit.c (input_elf_osabi): New.
(output_elf_osbi): Likewise.
(osabis): Likewise.
(elf_osabi): Likewise.
(update_elf_header): Support updating ELF OSABI.
(make_qualified_name): Break long line.
(command_line_switch): Add OPTION_INPUT_OSABI and
OPTION_OUTPUT_OSABI.
(options): Likewise.
(usage): Add --input-osabi and --output-osabi.
(main): Handle OPTION_INPUT_OSABI and OPTION_OUTPUT_OSABI.

* doc/binutils.texi: Document --input-osabi and --output-osabi
for elfedit.

binutils/testsuite/

2010-08-23  H.J. Lu  <hongjiu.lu@intel.com>

* binutils-all/elfedit-3.d: New.

* binutils-all/elfedit.exp: Run elfedit-3.

13 years agoFix location of this file to be where it was initially intended.
jjohnstn [Tue, 24 Aug 2010 00:51:27 +0000 (00:51 +0000)]
Fix location of this file to be where it was initially intended.

13 years ago binutils/
macro [Mon, 23 Aug 2010 22:51:39 +0000 (22:51 +0000)]
binutils/
* readelf.c (display_mips_gnu_attribute): Replace GCC options
with a textual description of a MIPS32r2 64-bit FPU.

ld/testsuite/
* ld-mips-elf/attr-gnu-4-04.d: Adjust Tag_GNU_MIPS_ABI_FP for
the new MIPS32r2 64-bit FPU description.
* ld-mips-elf/attr-gnu-4-40.d: Likewise.
* ld-mips-elf/attr-gnu-4-44.d: Likewise.

13 years ago * ldd.cc (report): Drop long pathname considerations which result in
corinna [Mon, 23 Aug 2010 20:04:04 +0000 (20:04 +0000)]
* ldd.cc (report): Drop long pathname considerations which result in
invalid path, now that this is done in cygwin_conv_path.

13 years agodaily update
amodra [Mon, 23 Aug 2010 09:00:05 +0000 (09:00 +0000)]
daily update

13 years ago*** empty log message ***
gdbadmin [Mon, 23 Aug 2010 09:00:04 +0000 (09:00 +0000)]
*** empty log message ***

13 years agoFind one .eh_frame section for --eh-frame-hdr.
hjl [Mon, 23 Aug 2010 05:21:21 +0000 (05:21 +0000)]
Find one .eh_frame section for --eh-frame-hdr.

2010-08-22  H.J. Lu  <hongjiu.lu@intel.com>

PR ld/11937
* emultempl/elf32.em (_after_open): Find one .eh_frame section
for --eh-frame-hdr.

13 years agoDon't check relocation if input ELF object ID doesn't match output.
hjl [Mon, 23 Aug 2010 04:14:23 +0000 (04:14 +0000)]
Don't check relocation if input ELF object ID doesn't match output.

bfd/

2010-08-22  H.J. Lu  <hongjiu.lu@intel.com>

PR ld/11933
* elflink.c (elf_link_add_object_symbols): Don't check relocation
if input ELF object ID doesn't match output.

ld/testsuite/

2010-08-22  H.J. Lu  <hongjiu.lu@intel.com>

PR ld/11933
* ld-x86-64/mixed1a.s: New.
* ld-x86-64/mixed1b.s: Likewise.
* ld-x86-64/mixed2a.s: Likewise.
* ld-x86-64/mixed2b.s: Likewise.

* ld-x86-64/x86-64.exp: Text mixed x86_64 and i386 inputs.

13 years agoFind an ELF input for --build-id and --eh-frame-hdr.
hjl [Mon, 23 Aug 2010 04:11:58 +0000 (04:11 +0000)]
Find an ELF input for --build-id and --eh-frame-hdr.

2010-08-22  H.J. Lu  <hongjiu.lu@intel.com>

PR ld/11937
* emultempl/elf32.em (_after_open): Find an ELF input for
--build-id and --eh-frame-hdr.

13 years ago2010-08-22 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
ironhead [Sun, 22 Aug 2010 13:03:33 +0000 (13:03 +0000)]
2010-08-22  Chris Sutcliffe  <ir0nh34d@users.sourceforge.net>

        * lib/CheckConflicts.sh: New file.

13 years ago2010-08-21 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
ironhead [Sun, 22 Aug 2010 12:52:59 +0000 (12:52 +0000)]
2010-08-21  Chris Sutcliffe  <ir0nh34d@users.sourceforge.net>

        * lib/kernel32.def (CopyLZFile, GetExpandedNameA, GetExpandedNameW, LZClose,
        LZCopy, LZInit, LZOpenFileA, LZOpenFileW, LZRead, LZSeek, OpenProcessToken,
        OpenThreadToken, RegCloseKey, RegCreateKeyExA, RegCreateKeyExW,
        RegDeleteKeyExA, RegDeleteKeyExW, RegDeleteValueA, RegDeleteValueW,
        RegEnumKeyExA, RegEnumKeyExW, RegEnumValueA, RegEnumValueW, RegFlushKey,
        RegGetKeySecurity, RegLoadKeyA, RegLoadKeyW, RegNotifyChangeKeyValue,
        RegOpenCurrentUser, RegOpenKeyExA, RegOpenKeyExW, RegOpenUserClassesRoot,
        RegQueryInfoKeyA, RegQueryInfoKeyW, RegQueryValueExA, RegQueryValueExW,
        RegRestoreKeyA, RegRestoreKeyW, RegSetKeySecurity, RegSetValueExA,
        RegSetValueW, RegUnLoadKeyA, RegUnLoadKeyW, RtlCaptureStackBackTrace,
        RtlFillMemory, RtlMoveMemory, RtlZeroMemory, SetThreadToken): Remove
        conflicting definition.
        * lib/th32.def: Remove.
        * lib/ntdll.def (RtlUnwind): Remove conflicting definition.
        * lib/version.def (VerLanguageNameA, VerLanguageNameW): Remove conflicting
        definition.

13 years ago*** empty log message ***
gdbadmin [Sun, 22 Aug 2010 09:00:33 +0000 (09:00 +0000)]
*** empty log message ***

13 years agodaily update
amodra [Sun, 22 Aug 2010 09:00:05 +0000 (09:00 +0000)]
daily update

13 years ago2010-08-21 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
ironhead [Sun, 22 Aug 2010 04:21:32 +0000 (04:21 +0000)]
2010-08-21  Chris Sutcliffe  <ir0nh34d@users.sourceforge.net>

        * lib/kernel32.def (CreateProcessAsUserW): Remove definition.

13 years ago * Makefile.in (DLL_IMPORTS): Link against advapi32.a before kernel32.a.
corinna [Sun, 22 Aug 2010 03:57:34 +0000 (03:57 +0000)]
* Makefile.in (DLL_IMPORTS): Link against advapi32.a before kernel32.a.

13 years agoFix misquoting in stdint.m4.
rwild [Sat, 21 Aug 2010 21:34:04 +0000 (21:34 +0000)]
Fix misquoting in stdint.m4.

config/:
PR target/45084
* stdint.m4 (GCC_HEADER_STDINT): Use m4 quotes for arguments
of AC_MSG_ERROR.

libdecnumber/:
* configure: Regenerate.

bfd/:
* configure: Regenerate.

13 years agodaily update
amodra [Sat, 21 Aug 2010 09:00:05 +0000 (09:00 +0000)]
daily update

13 years ago*** empty log message ***
gdbadmin [Sat, 21 Aug 2010 09:00:02 +0000 (09:00 +0000)]
*** empty log message ***

13 years agomerge from gcc
dj [Sat, 21 Aug 2010 08:58:16 +0000 (08:58 +0000)]
merge from gcc

13 years agoRevert the last checkin on sec_merge_emit.
hjl [Sat, 21 Aug 2010 07:29:27 +0000 (07:29 +0000)]
Revert the last checkin on sec_merge_emit.

2010-08-20  H.J. Lu  <hongjiu.lu@intel.com>

* merge.c (sec_merge_emit): Revert the last checkin.

13 years ago * Makefile.am (eshlelf_fd.c): Correct the name of the tool
macro [Sat, 21 Aug 2010 06:18:39 +0000 (06:18 +0000)]
* Makefile.am (eshlelf_fd.c): Correct the name of the tool
directory.
* Makefile.in: Regenerate.

13 years ago * elf32-sh.c (sh_elf_relocate_section): Handle non-ELF output
macro [Sat, 21 Aug 2010 06:15:03 +0000 (06:15 +0000)]
* elf32-sh.c (sh_elf_relocate_section): Handle non-ELF output
BFD.

13 years ago * ld-sh/sh.exp: Add missing newline.
macro [Sat, 21 Aug 2010 06:13:02 +0000 (06:13 +0000)]
* ld-sh/sh.exp: Add missing newline.

13 years ago * elf32-m68k.c (bfd_elf_m68k_set_target_options): Don't set GOT
macro [Sat, 21 Aug 2010 06:06:29 +0000 (06:06 +0000)]
* elf32-m68k.c (bfd_elf_m68k_set_target_options): Don't set GOT
options unless an m68k hash table has been found.

13 years ago binutils/
macro [Sat, 21 Aug 2010 06:04:05 +0000 (06:04 +0000)]
binutils/
* ChangeLog: Add a missing entry for 2010-04-20's commit.

ld/testsuite/
* ld-mips-elf/attr-gnu-4-01.d: Correct Tag_GNU_MIPS_ABI_FP.
* ld-mips-elf/attr-gnu-4-02.d: Likewise.
* ld-mips-elf/attr-gnu-4-10.d: Likewise.
* ld-mips-elf/attr-gnu-4-11.d: Likewise.
* ld-mips-elf/attr-gnu-4-15.d: Likewise.
* ld-mips-elf/attr-gnu-4-20.d: Likewise.
* ld-mips-elf/attr-gnu-4-22.d: Likewise.
* ld-mips-elf/attr-gnu-4-25.d: Likewise.

13 years ago * doc/c-arm.texi (ARM Options): Document -mfpu=fp4-sp-d16.
macro [Sat, 21 Aug 2010 05:53:27 +0000 (05:53 +0000)]
* doc/c-arm.texi (ARM Options): Document -mfpu=fp4-sp-d16.

13 years ago * python/python.c: Include "serial.h".
palves [Sat, 21 Aug 2010 03:52:11 +0000 (03:52 +0000)]
* python/python.c: Include "serial.h".
(gdbpy_event_fds): Change type to `struct serial *' a array from
int array.
(gdbpy_run_events): Change parameters.  Use serial_readchar in
place of read.
(gdbpy_post_event): Use serial_write in place of write.
(gdbpy_initialize_events): Use serial_pipe instead of pipe, and
serial_async in place of add_file_handler.

13 years ago * serial.h (gdb_pipe, serial_pipe): Declare.
palves [Sat, 21 Aug 2010 03:49:18 +0000 (03:49 +0000)]
* serial.h (gdb_pipe, serial_pipe): Declare.
* serial.c (serial_interface_lookup): Take a const char pointer.
(serial_fdopen): Rename to ...
(serial_fdopen_ops): ... this.  Add an OPS parameter and use it.
Call the OPS' fdopen function if there is one.
(serial_fdopen): Rewrite as wrapper to serial_fdopen_ops.
(serial_pipe): New.
(struct serial_ops) <fdopen>: New field.

* ser-mingw.c (free_pipe_state):
(free_pipe_state): Close output on non-pex pipes.
(pipe_windows_fdopen): New.
(gdb_pipe): New.
(_initialize_ser_windows): Register pipe_windows_fdopen.
* ser-go32.c (gdb_pipe): New.
* ser-pipe.c (pipe_close): Close file descriptor even if there's
no state pointer.
(pipe_ops): Delete.
(gdb_pipe): New.

13 years ago PR symtab/11465:
kseitz [Sat, 21 Aug 2010 02:16:42 +0000 (02:16 +0000)]
PR symtab/11465:
  * dwarf2read.c (struct delayed_method_info): New struct.
(struct dwarf2_cu): Add vector method_list.
(scan_partial_symbols): Count methods for union, class, structure,
and interface types.
(add_to_method_list): New function.
(free_delayed_list): New function.
(compute_delayed_physnames): New function.
(process_full_comp_unit): Make a cleanup for the CU's delayed
physname list, compute the delayed physnames, and free the
the list.
(dwarf2_add_member_fn): For C++ and Java, delay the computation
of the physname until after the CU is read.

* dwarf2read.c (read_structure_type): Check if the current
DIE's type was already completed after dwarf2_full_name
was called.

13 years ago PR symtab/11465:
kseitz [Sat, 21 Aug 2010 02:16:14 +0000 (02:16 +0000)]
PR symtab/11465:
* gdb.dwarf2/pr11465.exp: New test.
* gdb.dwarf2/pr11465.S: New file.
* gdb.dwarf2/dw2-double-set-die-type.S: New file.
* gdb.dwarf2/dw2-double-set-die-type.exp: New test.

13 years ago* cygthread.cc: Update copyright.
cgf [Sat, 21 Aug 2010 00:28:28 +0000 (00:28 +0000)]
* cygthread.cc: Update copyright.

13 years ago * emultempl/elf32.em (_after_open): Check for get_elf_backend_data
nickc [Sat, 21 Aug 2010 00:01:45 +0000 (00:01 +0000)]
    * emultempl/elf32.em (_after_open): Check for get_elf_backend_data
        returning NULL.

13 years ago * merge.c (sec_merge_emit): Do not zero pad sections that do not
nickc [Fri, 20 Aug 2010 23:41:47 +0000 (23:41 +0000)]
    * merge.c (sec_merge_emit): Do not zero pad sections that do not
        have an alignment.

13 years ago * path.cc (path_conv::check): Close handle in conv_handle if we're
corinna [Fri, 20 Aug 2010 23:29:55 +0000 (23:29 +0000)]
* path.cc (path_conv::check): Close handle in conv_handle if we're
following a symlink.

13 years ago * endian.h (htobe16, htobe32, htobe64, be16toh, be32toh, be64toh,
corinna [Fri, 20 Aug 2010 21:18:46 +0000 (21:18 +0000)]
* endian.h (htobe16, htobe32, htobe64, be16toh, be32toh, be64toh,
htole16, htole32, htole64, le16toh, le32toh, le64toh): Define.

13 years ago * fhandler_disk_file.cc (readdir_check_reparse_point): Rename from
corinna [Fri, 20 Aug 2010 20:18:57 +0000 (20:18 +0000)]
* fhandler_disk_file.cc (readdir_check_reparse_point): Rename from
is_volume_mountpoint.  Return valid d_type value for underlying
reparse point type.
(readdir_get_ino): Don't rely on the handle set in pc.check.  Open
file here if pc.handle() is NULL.
(fhandler_disk_file::readdir_helper): Try to set a correct d_type value
more diligent.
(fhandler_disk_file::readdir): Don't reset dirent_set_d_ino unless
we're really sure it's due to an untrusted FS.  Simplify usage of
FileAttributes, which is 0 if buf is NULL, anyway.  Set d_type
correctly for faked "." and ".." entries.  Improve debug output.
* path.cc (symlink_info::check): Don't keep handle to volume mount
point open.  Explain why.

13 years ago * fhandler_disk_file.cc (fhandler_disk_file::fstatvfs): Revert usage
corinna [Fri, 20 Aug 2010 17:52:24 +0000 (17:52 +0000)]
* fhandler_disk_file.cc (fhandler_disk_file::fstatvfs): Revert usage
of get_stat_handle () to get_handle ().  Add comment to explain why.
* syscalls.cc (statvfs): Drop using PC_KEEP_HANDLE.

13 years ago2010-08-20 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
ironhead [Fri, 20 Aug 2010 13:14:17 +0000 (13:14 +0000)]
2010-08-20  Chris Sutcliffe  <ir0nh34d@users.sourceforge.net>

        * lib/kernel32.def: Regenerate using gendef on a Win7 machine.

13 years ago * gold/archive.h (Add_lib_group_symbols): Add readsyms_blocker_, adjust
ccoutant [Fri, 20 Aug 2010 09:35:12 +0000 (09:35 +0000)]
* gold/archive.h (Add_lib_group_symbols): Add readsyms_blocker_, adjust
constructor, and set_blocker.
* gold/archive.cc (Add_lib_group_symbols::is_runnable): Also check
readsyms_blocker_.
* gold/readsyms.cc (Read_symbols::do_lib_group): Also pass
this->this_blocker_ to Add_lib_group_symbols::set_blocker.
* testsuite/Makefile.am (start_lib_test): New test case.
* testsuite/Makefile.in: Regenerate.
* testsuite/start_lib_test_main.c: New file.
* testsuite/start_lib_test_1.c: New file.
* testsuite/start_lib_test_2.c: New file.
* testsuite/start_lib_test_3.c: New file.

13 years agodaily update
amodra [Fri, 20 Aug 2010 09:00:05 +0000 (09:00 +0000)]
daily update

13 years ago*** empty log message ***
gdbadmin [Fri, 20 Aug 2010 09:00:03 +0000 (09:00 +0000)]
*** empty log message ***

13 years ago * NEWS: Mention some additional changes.
shebs [Fri, 20 Aug 2010 08:43:30 +0000 (08:43 +0000)]
* NEWS: Mention some additional changes.

13 years ago * Makefile.in: Rebuild with automake 1.11.1.
ian [Fri, 20 Aug 2010 08:42:02 +0000 (08:42 +0000)]
* Makefile.in: Rebuild with automake 1.11.1.
* aclocal.m4: Likewise.
* testsuite/Makefile.in: Likewise.

13 years ago PR 10893
ian [Fri, 20 Aug 2010 07:50:15 +0000 (07:50 +0000)]
PR 10893
* i386.cc (class Output_data_plt_i386): Update declarations.
Define Global_ifunc and Local_ifunc types.  Add global_ifuncs_ and
local_ifuncs_ fields.
(Target_i386::do_plt_section_for_global): New function.
(Target_i386::do_plt_section_for_local): New function.
(Output_data_plt_i386::Output_data_plt_i386): Add symtab
parameter; change all callers.  Initialize global_ifuncs_ and
local_ifuncs_.  If doing a static link define __rel_iplt_start and
__rel_iplt_end.
(Output_data_plt_i386::add_entry): Handle IFUNC symbols.
(Output_data_plt_i386::add_local_ifunc_entry): New function.
(Output_data_plt_i386::do_write): Fix GOT entries for IFUNC
symbols.
(Target_i386::make_plt_section): New function, broken out of
make_plt_entry.  Set sh_info field of .rel.plt to point to .plt.
(Target_i386::make_plt_entry): Call make_plt_section.
(Target_i386::make_local_ifunc_plt_entry): New function.
(Target_i386::Scan::reloc_needs_iplt_for_ifunc): New function.
(Target_i386::Scan::local): Handle IFUNC symbols.  Add
R_386_IRELATIVE to switch.
(Target_i386::Scan::global): Likewise.
(Target_i386::Relocate::relocate): Likewise.
(Target_i386::Relocatable_size_for_reloc): Add R_386_IRELATIVE to
switch.
* x86_64.cc (class Output_data_plt_x86_64): Update declarations.
(Target_x86_64::do_plt_section_for_global): New function.
(Target_x86_64::do_plt_section_for_local): New function.
(Output_data_plt_x86_64::Output_data_plt_x86_64): Add symtab
parameter; change all callers.  If doing a static link define
__rela_iplt_start and __rela_iplt_end.
(Output_data_plt_x86_64::add_entry): Handle IFUNC symbols.
(Output_data_plt_x86_64::add_local_ifunc_entry): New function.
(Target_x86_64::make_plt_section): Set sh_info field of .rel.plt
to point to .plt.
(Target_x86_64::make_local_ifunc_plt_entry): New function.
(Target_x86_64::Scan::check_non_pic): Add R_X86_64_IRELATIVE to
switch.
(Target_x86_64::Scan::reloc_needs_iplt_for_ifunc): New function.
(Target_x86_64::Scan::local): Handle IFUNC symbols.  Add
R_X86_64_IRELATIVE to switch.
(Target_x86_64::Scan::global): Likewise.
(Target_x86_64::Relocate::relocate): Likewise.
(Target_x86_64::Relocatable_size_for_reloc): Add R_X86_64_IRELATIVE to
switch.
* target.h (class Target): Add plt_section_for_global and
plt_section_for_local functions.  Add do_plt_section_for_global
and do_plt_section_for_local virtual functions.
* symtab.h (Symbol::needs_plt_entry): Handle IFUNC symbol.  Add
clarifying comments.
(Symbol::use_plt_offset): Handle IFUNC symbol.
* object.cc (Sized_relobj::Sized_relobj): Initialize
local_plt_offsets_.
(Sized_relobj::local_has_plt_offset): New function.
(Sized_relobj::local_plt_offset): New function.
(Sized_relobj::set_local_plt_offset): New function.
(Sized_relobj::do_count): Handle IFUNC symbol.
* object.h (class Symbol_value): Add is_ifunc_symbol_ field.  Take
a bit away from input_shndx_ field.  Add set_is_func_symbol and
is_ifunc_symbol functions.
(class Sized_relobj): Update declarations.  Remove Tls_got_entry
and Local_tls_got_offsets.  Define Local_plt_offsets.  Add
local_plt_offsets_ field.
(Sized_relobj::clear_local_symbols): Clear local_plt_offsets_.
* output.h (class Output_section_data): Add non-const
output_section function.
(class Output_data_got): Update declarations.
(class Output_data_got::Got_entry): Add use_plt_offset_ field.
Add use_plt_offset parameter to global and local constructors.
Change all callers.  Change local_sym_index_ field to 31 bits.
Change GSYM_CODE and CONSTANT_CODE accordingly.
* output.cc (Output_data_reloc_base::do_adjust_output_section): If
doing a static link don't set sh_link field.
(Output_data_got::Got_entry::write): Use PLT offset if
appropriate.
(Output_data_got::add_global_plt): New function.
(Output_data_got::add_local_plt): New function.
* target-reloc.h (relocate_section): Handle IFUNC symbol.
* defstd.cc (in_section): Remove entries for __rel_iplt_start,
__rel_iplt_end, __rela_iplt_start, and __rela_iplt_end.
* configure.ac: Set IFUNC automake conditional for glibc >= 2.11.
* testsuite/Makefile.am: Add a bunch of IFUNC tests, all within
IFUNC conditional.
* testsuite/ifunc-sel.h: New file.
* testsuite/ifuncmain1.c: New file.
* testsuite/ifuncmain1vis.c: New file.
* testsuite/ifuncmod1.c: New file.
* testsuite/ifuncdep2.c: New file.
* testsuite/ifuncmain2.c: New file.
* testsuite/ifuncmain3.c: New file.
* testsuite/ifuncmod3.c: New file.
* testsuite/ifuncmain4.c: New file.
* testsuite/ifuncmain5.c: New file.
* testsuite/ifuncmod5.c: New file.
* testsuite/ifuncmain6pie.c: New file.
* testsuite/ifuncmod6.c: New file.
* testsuite/ifuncmain7.c: New file.
* configure, testsuite/Makefile.in: Rebuild.

13 years agoFix a typo in comments.
hjl [Fri, 20 Aug 2010 06:04:35 +0000 (06:04 +0000)]
Fix a typo in comments.

2010-08-19  H.J. Lu  <hongjiu.lu@intel.com>

* config/tc-i386.c (VEX_check_operands): Fix a typo in comments.

13 years ago * Makefile.in (install-python): Add DESTDIR.
tromey [Fri, 20 Aug 2010 03:40:46 +0000 (03:40 +0000)]
* Makefile.in (install-python): Add DESTDIR.

13 years ago * gdb.arch/vsx-regs.exp: Remove wrong comment about testing AltiVec
bauermann [Fri, 20 Aug 2010 02:52:49 +0000 (02:52 +0000)]
* gdb.arch/vsx-regs.exp: Remove wrong comment about testing AltiVec
registers.  Update data sets with the new v2_double element in the
VSX register union.  Add vector_register3_vr data set for the AltiVec
registers.  Use gdb_test_no_output instead of send_gdb.

13 years ago * gdb.python/py-shared.exp: New file, factored out from
palves [Fri, 20 Aug 2010 02:00:56 +0000 (02:00 +0000)]
* gdb.python/py-shared.exp: New file, factored out from
python.exp.
* gdb.python/py-shared.c: New file.
* gdb.python/py-shared-sl.c: New file.
* gdb.python/python-1.c: New file.
* gdb.python/python-sl.c: Delete.
* gdb.python/python.c: Mention python-1.c.
* gdb.python/python.exp: Move shared library tests to
py-shared.exp.
* gdb.python/Makefile.in (EXECUTABLES): Add py-shared and python.
(MISCELLANEOUS): New.
(clean mostlyclean): Also remove $MISCELLANEOUS.

13 years ago * include/winnt.h: Define FILE_ATTRIBUTE_VIRTUAL. Change
corinna [Fri, 20 Aug 2010 01:08:55 +0000 (01:08 +0000)]
* include/winnt.h: Define FILE_ATTRIBUTE_VIRTUAL.  Change
FILE_ATTRIBUTE_VALID_FLAGS accordingly.
* include/ddk/winddk.h: Ditto.

13 years ago PR exp/11926
devans [Thu, 19 Aug 2010 22:33:10 +0000 (22:33 +0000)]
PR exp/11926
* parser-defs.h (parse_float, parse_c_float): Declare.
* parse.c (parse_float, parse_c_float): New function.
* c-exp.y (parse_number): Call parse_c_float.
* objc-exp.y (parse_number): Ditto.
* p-exp.y (parse_number): Ditto.  Use ANSI/ISO-style definition.
* jv-exp.y (parse_number): Call parse_float, fix suffix handling.

testsuite/
* gdb.base/printcmds.exp (test_float_accepted): New function.
Move existing float tests there.  Add tests for floats with suffixes.
(test_float_rejected): New function.
* gdb.java/jv-print.exp (test_float_accepted): New function.
(test_float_rejected): New function.
* gdb.objc/print.exp: New file.
* gdb.pascal/print.exp: New file.
* lib/objc.exp: New file.

13 years ago * new-features.sgml (ov-new1.7.7): New section.
corinna [Thu, 19 Aug 2010 19:35:25 +0000 (19:35 +0000)]
* new-features.sgml (ov-new1.7.7): New section.
* pathnames.sgml: Throughout, align style of screen elements.
Throughout, make all emphasis elements bold.
(pathnames-win32-api): Rewrite section.

13 years ago * external.cc (sync_wincwd): New function.
corinna [Thu, 19 Aug 2010 19:14:30 +0000 (19:14 +0000)]
* external.cc (sync_wincwd): New function.
(cygwin_internal): Rename CW_SETCWD to CW_SYNC_WINCWD.  Call
sync_wincwd from here.
* include/sys/cygwin.h (cygwin_getinfo_types): Rename CW_SETCWD to
CW_SYNC_WINCWD.

13 years agoFix regression in -file-list-exec-source-files command.
brobecke [Thu, 19 Aug 2010 18:04:10 +0000 (18:04 +0000)]
Fix regression in -file-list-exec-source-files command.

See http://sourceware.org/ml/gdb/2010-07/msg00118.html for
a description of the problem. Namely, the file and fullname
fields are inverted in the output of the -file-list-exec-source-files
GDB/MI command:

    (gdb) interpreter-exec mi -file-list-exec-source-files
    ^done,files=[{file="/takamaka.a/brobecke/ex/list-exec-source-files/foo.c",fullname="foo.c"},{file="/takamaka.a/brobecke/ex/list-exec-source-files/foo.c",fullname="foo.c"},{file="",fullname="init.c"},{file="",fullname="../sysdeps/x86_64/elf/start.S"},{file="",fullname="../sysdeps/x86_64/elf/start.S"}]

It turns out to be a silly thinko: The map_symbol_filenames function
calls the psymtab version of map_symbol_filenames routine, and this
version called the callback function with filename and fullname
in the wrong order (fullname/filename instead of filename/fullname).

The routine description in symfile.h confirst that expected order for
the FUN callback parameters:

    /* Call a callback for every file defined in OBJFILE.  FUN is the
       callback.  It is passed the file's name, the file's full name,
       and the DATA passed to this function.  */
    void (*map_symbol_filenames) (struct objfile *objfile,
                                  void (*fun) (const char *, const char *,
                                               void *),
                                  void *data);

Fixing this error uncovered another location where the arguments
were reversed: maybe_add_partial_symtab_filename.  Once the first
error was fixed, the debugger would crash while attempting to do
completion, because it was given a NULL fullname instead of the
non-NULL filename.

gdb/ChangeLog:

        * psymtab.c (map_symbol_filenames_psymtab): Call FUN with
        the arguments in the correct order.
        * symtab.c (maybe_add_partial_symtab_filename): Declare
        the arguments in the correct order.

13 years agogdb/
jkratoch [Thu, 19 Aug 2010 16:34:26 +0000 (16:34 +0000)]
gdb/
* varobj.c (varobj_create): Replace variable old_fi with old_id,
initialize it by null_frame_id, wrap its usage by get_frame_id,
frame_id_p and frame_find_by_id.

13 years ago * gdb.base/default.exp (info set): Avoid full buffer error and force
muller [Thu, 19 Aug 2010 16:05:56 +0000 (16:05 +0000)]
* gdb.base/default.exp (info set): Avoid full buffer error and force
reading up to final gdb prompt.
(show): Likewise.

13 years agobinutils/
amodra [Thu, 19 Aug 2010 14:51:47 +0000 (14:51 +0000)]
binutils/
* NEWS: Mention change in linker script expression evaluation.
ld/
* ld.texinfo (Expression Section): Detail expression evaluation.
(Builtin Functions <ADDR>): Correct.
(Builtin Functions <LOADADDR>): Don't mention LOADADDR normally
the same as ADDR.
(Builtin Functions <SEGMENT_START>): Typo fix.
* ldexp.c (new_number): New function.
(make_abs, exp_get_abs_int): Cope with NULL expld.result.section.
(fold_unary <'~', '!', '-'>): Don't make_abs.
(fold_binary): Simplify result section logic.  Return NULL section
for logical ops.
(fold_binary <SEGMENT_START>): Use new_rel_from_abs to set value to
a consistent result.
(fold_name <SIZEOF_HEADERS>): Return new_number, not new_abs.
(fold_name <DEFINED, SIZEOF, ALIGNOF, LENGTH, CONSTANT>): Likewise.
(fold_name <NAME>): No need to handle absolute symbols differently
from relative ones.
(fold_name <ORIGIN>): Don't return valid result when
lang_first_phase_enum.  Return new_rel_from_abs, not new_abs.
(exp_fold_tree_1 <etree_value>): Return new_number, not new_rel.
(exp_fold_tree_1): Ajust for NULL expld.result.section.  When assigning
a plain number to dot, assume the value is relative to expld.section.
Make terms not in an output section, absolute.
* ldlang.c (print_assignment): Fix style nit.
(lang_size_sections_1): Cope with NULL expld.result.section.
(lang_do_assignments_1): Likewise.
ld/testsuite/
* ld-scripts/memory.t: Remove ORIGIN fudge.

13 years ago * incremental.cc
ian [Thu, 19 Aug 2010 09:02:17 +0000 (09:02 +0000)]
* incremental.cc
(Output_section_incremental_inputs::write_input_files): Add cast
to avoid signed/unsigned comparison warning.
(Output_section_incremental_inputs::write_info_blocks): Likewise.

13 years ago*** empty log message ***
gdbadmin [Thu, 19 Aug 2010 09:00:35 +0000 (09:00 +0000)]
*** empty log message ***

13 years agodaily update
amodra [Thu, 19 Aug 2010 09:00:06 +0000 (09:00 +0000)]
daily update

13 years ago2010-08-18 Ladislav Michl <ladis@users.sourceforge.net>
ironhead [Thu, 19 Aug 2010 08:34:07 +0000 (08:34 +0000)]
2010-08-18  Ladislav Michl  <ladis@users.sourceforge.net>

        * include/winbase.h (SYMBOLIC_LINK_FLAG_DIRECTORY, CreateSymbolicLinkW,
        CreateSymbolicLinkA, CreateSymbolicLink): Define

13 years ago PR python/11900:
tromey [Thu, 19 Aug 2010 07:57:45 +0000 (07:57 +0000)]
PR python/11900:
* configure: Rebuild.
* configure.ac: Add install-python to CONFIG_INSTALL.
* Makefile.in (install-python): New.

13 years agoCheck i.imm_operands VEXXDS.
hjl [Thu, 19 Aug 2010 04:36:41 +0000 (04:36 +0000)]
Check i.imm_operands VEXXDS.

2010-08-18  H.J. Lu  <hongjiu.lu@intel.com>

* config/tc-i386.c (build_modrm_byte): Check i.imm_operands
instead of VEXXDS.

13 years ago* external.cc (CW_SETCWD): New option.
cgf [Thu, 19 Aug 2010 04:15:37 +0000 (04:15 +0000)]
* external.cc (CW_SETCWD): New option.
* include/cygwin/version.h: Bump api minor to 231.
* include/sys/cygwin.h (CW_SETCWD): Define.

13 years ago * gdb_assert.h (gdb_assert_not_reached): New macro.
devans [Thu, 19 Aug 2010 04:13:32 +0000 (04:13 +0000)]
* gdb_assert.h (gdb_assert_not_reached): New macro.
(gdb_assert_fail): Fix typo in comment.
* avr-tdep.c (avr_return_value): Use gdb_assert_not_reached instead of
gdb_assert (0).
* darwin-nat.c (darwin_check_new_threads): Ditto.
* dwarf2read.c (dwarf2_get_section_info): Ditto.
(munmap_section_buffer): Ditto.
* m32c-tdep.c (make_types): Ditto.
(m32c_decode_srcdest4, m32c_decode_sd23, m32c_frame_base): Ditto.
* macroexp.c (get_character_constant): Ditto.
(get_string_literal): Ditto.
* mep-tdep.c (mep_pseudo_cr_size): Ditto.
(mep_pseudo_cr_index, mep_register_type): Ditto.
(mep_pseudo_register_read, mep_pseudo_register_write): Ditto.
(mep_get_insn, mep_analyze_prologue): Ditto.
* objfiles.c (qsort_cmp): Ditto.
* prologue-value.c (pv_is_identical): Ditto.
* record.c (record_get_loc): Ditto.
* value.c (value_static_field): Ditto.
* xtensa-tdep.c (call0_track_op): Ditto.

13 years agogdb
tromey [Thu, 19 Aug 2010 04:02:32 +0000 (04:02 +0000)]
gdb
PR symtab/11919:
* gdbtypes.c (lookup_struct_elt_type): Clean up error emission.
* parse.c (parse_field_expression): Use RETURN_MASK_ERROR.  Move
name-copying lower.  Document exception behavior.
* completer.c (expression_completer): Catch exceptions from
parse_field_expression.
gdb/testsuite
PR symtab/11919:
* gdb.base/completion.exp: Add test.

13 years ago * common.cc (Sort_commons::operator()): Remove unnecessary code.
ccoutant [Thu, 19 Aug 2010 03:33:05 +0000 (03:33 +0000)]
* common.cc (Sort_commons::operator()): Remove unnecessary code.

13 years ago * gdb.texinfo (PowerPC Embedded): Mention support for the DVC register.
bauermann [Thu, 19 Aug 2010 02:58:48 +0000 (02:58 +0000)]
* gdb.texinfo (PowerPC Embedded): Mention support for the DVC register.

13 years ago * gdb.base/call-ar-st.exp (set_lang_c): Delete, unused.
devans [Thu, 19 Aug 2010 01:37:21 +0000 (01:37 +0000)]
* gdb.base/call-ar-st.exp (set_lang_c): Delete, unused.
* gdb.base/callfuncs.exp (set_lang_c): Delete, set c language directly.
* gdb.base/printcmds.exp (set_lang_c): Delete, set c language directly.
Simplify, early exit if runto_main fails.
* gdb.fortran/exprs.exp: load_lib fortran.exp.
(set_lang_fortran): Moved to lib/fortran.exp.
* gdb.fortran/types.exp: load_lib fortran.exp.
(set_lang_fortran): Moved to lib/fortran.exp.
* gdb.java/jmisc.exp (set_lang_java): Moved to lib/java.exp.
* gdb.java/jprint.exp (set_lang_java): Ditto.
* gdb.java/jv-exp.exp: load_lib java.exp.
If set_lang_java fails, issue a warning instead of failure to be
consistent with other set_lang_foo uses.
(set_lang_java): Moved to lib/java.exp.
* gdb.java/jv-print.exp (set_lang_java): Moved to lib/java.exp.
If set_lang_java fails, issue a warning instead of failure to be
consistent with other set_lang_foo uses.
* gdb.pascal/types.exp: load_lib pascal.exp.
(set_lang_pascal): Moved to lib/pascal.exp.
* lib/fortran.exp: New file.
* lib/java.exp (set_lang_java): New function.
* lib/pascal.exp (set_lang_pascal): New function.