OSDN Git Service

pf3gnuchains/pf3gnuchains4x.git
15 years agoAdd missing ChangeLog entries for my last commit.
rwild [Sun, 21 Dec 2008 12:45:51 +0000 (12:45 +0000)]
Add missing ChangeLog entries for my last commit.

15 years ago* pipe.cc (getov_result): Add parameters to facilitate better EOF checking.
cgf [Sun, 21 Dec 2008 01:54:32 +0000 (01:54 +0000)]
* pipe.cc (getov_result): Add parameters to facilitate better EOF checking.
(pipe_handler): Pass extra arguments to getov_result.

15 years ago*** empty log message ***
gdbadmin [Sun, 21 Dec 2008 00:00:35 +0000 (00:00 +0000)]
*** empty log message ***

15 years agodaily update
amodra [Sun, 21 Dec 2008 00:00:07 +0000 (00:00 +0000)]
daily update

15 years ago* fhandler.cc (fhandler_base::wait_overlapped): Reorganize to eliminate gotos
cgf [Sat, 20 Dec 2008 19:20:00 +0000 (19:20 +0000)]
* fhandler.cc (fhandler_base::wait_overlapped): Reorganize to eliminate gotos
and to hopefully eliminate one race when a signal is detected or there is a
WFMO error.

15 years ago2008-12-20 H.J. Lu <hongjiu.lu@intel.com>
hjl [Sat, 20 Dec 2008 18:20:16 +0000 (18:20 +0000)]
2008-12-20  H.J. Lu  <hongjiu.lu@intel.com>

* config/tc-i386.c (parse_insn): Optimize ".s" handling.

15 years agogas/
hjl [Sat, 20 Dec 2008 17:40:49 +0000 (17:40 +0000)]
gas/

2008-12-20  H.J. Lu  <hongjiu.lu@intel.com>

* config/tc-i386.c (_i386_insn): Add swap_operand.
(parse_insn): Handle ".s".
(match_template): Handle swap_operand.

* doc/c-i386.texi: Document .s suffix.

gas/testsuite/

2008-12-20  H.J. Lu  <hongjiu.lu@intel.com>

* gas/i386/i386.exp: Run opts, opts-intel, sse2avx-opts,
sse2avx-opts-intel, x86-64-opts, x86-64-opts-intel,
x86-64-sse2avx-opts and x86-64-sse2avx-opts-intel.

* gas/i386/opts.d: New.
* gas/i386/opts-intel.d: Likewise.
* gas/i386/opts.s: Likewise.
* gas/i386/sse2avx-opts.d: Likewise.
* gas/i386/sse2avx-opts-intel.d: Likewise.
* gas/i386/x86-64-opts.d: Likewise.
* gas/i386/x86-64-opts-intel.d: Likewise.
* gas/i386/x86-64-opts.s: Likewise.
* gas/i386/x86-64-sse2avx-opts.d: Likewise.
* gas/i386/x86-64-sse2avx-opts-intel.d: Likewise.

opcodes/

2008-12-20  H.J. Lu  <hongjiu.lu@intel.com>

* i386-dis.c (EbS): New.
(EvS): Likewise.
(EMS): Likewise.
(EXqS): Likewise.
(EXxS): Likewise.
(b_swap_mode): Likewise.
(v_swap_mode): Likewise.
(q_swap_mode): Likewise.
(x_swap_mode): Likewise.
(v_mode): Updated.
(w_mode): Likewise.
(t_mode): Likewise.
(xmm_mode): Likewise.
(swap_operand): Likewise.
(dis386): Use EbS on movB.  Use EvS on moveS.
(dis386_twobyte): Use EXxS on movapX.
(prefix_table): Use EXxS on movups, movupd, movdqu, movdqa,
vmovups, vmovdqu, vmovdqa. Use EMS and EXqS on movq.
(vex_table): Use EXxS on vmovapX.
(vex_len_table): Use EXqS on vmovq.
(intel_operand_size): Handle b_swap_mode, v_swap_mode,
q_swap_mode and x_swap_mode.
(OP_E_register): Handle b_swap_mode and v_swap_mode.
(OP_EM): Handle v_swap_mode.
(OP_EX): x_swap_mode and q_swap_mode.

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

* i386-opc.h (S): New.
(Modrm): Updated.
(i386_opcode_modifier): Add s.

* i386-opc.tbl: Add S to movapd, movaps, movdqa, movdqu, movq,
movupd, movups, vmovapd, vmovaps, vmovdqa, vmovdqu and vmovq.
* i386-tbl.h: Regenerated.

15 years ago* pinfo.h (pinfo::thisproc): Declare. Rename from set_myself.
cgf [Sat, 20 Dec 2008 17:32:31 +0000 (17:32 +0000)]
* pinfo.h (pinfo::thisproc): Declare.  Rename from set_myself.
* pinfo.cc (pinfo::thisproc): Define.  Rename from set_myself.  Set procinfo to
NULL to avoid confusing subsequent init.
(pinfo_init): Accommodate set_myself -> pinfo::thisproc rename.
* dcrt0.cc (child_info_fork::handle_fork): Ditto.
(child_info_spawn::handle_spawn): Ditto.

15 years ago * pwdgrp.h (pwdgrp::refresh): Fix indentation.
corinna [Sat, 20 Dec 2008 09:35:18 +0000 (09:35 +0000)]
* pwdgrp.h (pwdgrp::refresh): Fix indentation.
* uinfo.cc (pwdgrp::load): Open file synchronized to avoid truncated
read.  Drop local variable off.

15 years ago2008-12-16 Danny Smith <dannysmith@users.sourceforge.net>
ironhead [Sat, 20 Dec 2008 03:55:37 +0000 (03:55 +0000)]
2008-12-16 Danny Smith <dannysmith@users.sourceforge.net>

        * msvcrt.def.in (___lc_codepage_func, ___lc_collate_cp_func,
        ___lc_handle_func, ___mb_cur_max_func, ___setlc_active_func,
        ___unguarded_readlc_active_add_func, __crtCompareStringW,
        __crtGetStringTypeW, __crtLCMapStringW, __pctype_func,
        __pwctype_func, __iob_func, __uncaught_exception, __wcserror,
        __CxxDetectRethrow, __CxxExceptionFilter, __CxxQueryExceptionSize,
        __CxxRegisterExceptionObject, __CxxUnregisterExceptionObject,
        __CxxCallUnwindDtor, __DestructExceptionObject, _aligned_free,
        _aligned_malloc, _aligned_offset_malloc, _aligned_offset_realloc,
        _aligned_realloc, _cgetws, _cputws, _cwprintf, _cwscanf, _getwch,
        _getwche, _putwch, _resetstkoflw, _scprintf, _scwprintf,
        _set_SSE2_enable, _snscanf, _snwscanf, _strtoi64, _strtoui64,
        _ungetwch, _vscprintf, _vscwprintf, _wcserror, _wcstoi64,
        _wcstoui64, _wctype, _wtof, _get_heap_handle): Always export.

15 years ago * ld-cris/tls-err-77.d, ld-cris/tls-gc-79.d, ld-cris/tls-ie-8e.s,
hp [Sat, 20 Dec 2008 00:30:39 +0000 (00:30 +0000)]
* ld-cris/tls-err-77.d, ld-cris/tls-gc-79.d, ld-cris/tls-ie-8e.s,
ld-cris/tls-ie-8e1.d: New tests.

15 years ago * gas/cris/rd-tls-1.s, gas/cris/rd-tls-1.d: Test :IE and
hp [Sat, 20 Dec 2008 00:28:57 +0000 (00:28 +0000)]
* gas/cris/rd-tls-1.s, gas/cris/rd-tls-1.d: Test :IE and
decoration on double-indirect.
* gas/cris/tls-err-1.s: Test :IE on wrong-size operand.

15 years ago * config/tc-cris.c (cris_process_instruction): Handle
hp [Sat, 20 Dec 2008 00:27:34 +0000 (00:27 +0000)]
* config/tc-cris.c (cris_process_instruction): Handle
BFD_RELOC_CRIS_32_IE, in the test whether the relocation fits.
(get_3op_or_dip_prefix_op): Handle TLS/PIC decoration for the
"double indirect" addressing mode.
(cris_get_reloc_suffix): Add entry for :IE for BFD_RELOC_CRIS_32_IE.
(cris_number_to_imm, tc_gen_reloc): Handle BFD_RELOC_CRIS_32_IE.

15 years ago * elf32-cris.c (cris_elf_howto_table): Add entry for R_CRIS_32_IE.
hp [Sat, 20 Dec 2008 00:26:35 +0000 (00:26 +0000)]
* elf32-cris.c  (cris_elf_howto_table): Add entry for R_CRIS_32_IE.
(cris_reloc_map): Similarly.
(cris_elf_relocate_section, cris_elf_gc_sweep_hook)
(cris_elf_check_relocs): Handle R_CRIS_32_IE.
* reloc.c (bfd_reloc_code_type): Add entry for R_CRIS_32_IE.
* bfd-in2.h, libbfd.h: Regenerate.

15 years ago * cris.h (R_CRIS_32_IE): New relocation.
hp [Sat, 20 Dec 2008 00:24:16 +0000 (00:24 +0000)]
* cris.h (R_CRIS_32_IE): New relocation.

15 years ago*** empty log message ***
gdbadmin [Sat, 20 Dec 2008 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

15 years agodaily update
amodra [Sat, 20 Dec 2008 00:00:05 +0000 (00:00 +0000)]
daily update

15 years ago* pinfo.cc (pinfo_basic): New class.
cgf [Fri, 19 Dec 2008 19:09:48 +0000 (19:09 +0000)]
* pinfo.cc (pinfo_basic): New class.
(pinfo_basic::pinfo_basic): Define constructor for new class.
(myself): Initialize from myself_initial.
(set_myself): Set pid and progname from already myself_initial.
* strace.cc (strace::strace): Split apart strace::hello.  Send notification to
strace as early as possible.
(strace::hello): Just send clause which describes the current process.  This
can now be preceded by early initialization strace output.
* include/sys/strace.h (strace::strace): Declare new constructor.

15 years ago * fhandler_registry.cc (perf_data_files): New table.
corinna [Fri, 19 Dec 2008 14:31:40 +0000 (14:31 +0000)]
* fhandler_registry.cc (perf_data_files): New table.
(PERF_DATA_FILE_COUNT): New constant.
(fhandler_registry::exists): Add check for HKEY_PERFORMANCE_DATA
value names.
(fhandler_registry::fstat): For HKEY_PERFORMANCE_DATA, return
default values only.
(fhandler_registry::readdir): For HKEY_PERFORMANCE_DATA, list
names from perf_data_files only.
(fhandler_registry::fill_filebuf): Use larger buffer to speed up
access to HKEY_PERFORMANCE_DATA values.  Remove check for possible
subkey.  Add RegCloseKey ().
(open_key): Replace goto by break, remove label.  Do not try to
open subkey of HKEY_PERFORMANCE_DATA.  Add missing RegCloseKey ()
after open subkey error.

15 years ago * path.cc (path_conv::check): Handle incoming DOS paths non-POSIXy,
corinna [Fri, 19 Dec 2008 12:15:33 +0000 (12:15 +0000)]
* path.cc (path_conv::check): Handle incoming DOS paths non-POSIXy,
always case-insensitive, always ignoring ACLs.

15 years ago*** empty log message ***
gdbadmin [Fri, 19 Dec 2008 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

15 years agodaily update
amodra [Fri, 19 Dec 2008 00:00:05 +0000 (00:00 +0000)]
daily update

15 years agogas/testsuite/
hjl [Thu, 18 Dec 2008 22:47:27 +0000 (22:47 +0000)]
gas/testsuite/

2008-12-18  H.J. Lu  <hongjiu.lu@intel.com>

* gas/i386/intel.d: Remove trailing white spaces after nop.
* gas/i386/intelpic.d: Likewise.
* gas/i386/nops16-1.d: Likewise.
* gas/i386/nops-1-i686.d: Likewise.
* gas/i386/nops-3.d: Likewise.
* gas/i386/nops-3-i386.d: Likewise.
* gas/i386/nops-3-i686.d: Likewise.
* gas/i386/nops-4.d: Likewise.
* gas/i386/nops-4-i386.d: Likewise.
* gas/i386/nops-4-i686.d: Likewise.
* gas/i386/opcode.d: Likewise.
* gas/i386/opcode-suffix.d: Likewise.
* gas/i386/reloc.d: Likewise.
* gas/i386/tlsnopic.d: Likewise.
* gas/i386/x86-64-nops-1.d: Likewise.
* gas/i386/x86-64-nops-1-nocona.d: Likewise.
* gas/i386/x86-64-nops-2.d: Likewise.
* gas/i386/x86-64-nops-3.d: Likewise.
* gas/i386/x86-64-nops-4-core2.d: Likewise.
* gas/i386/x86-64-nops-4.d: Likewise.
* gas/i386/x86-64-nops-4-k8.d: Likewise.
* gas/i386/x86-64-opcode.d: Likewise.

ld/testsuite/

2008-12-18  H.J. Lu  <hongjiu.lu@intel.com>

* ld-i386/tlsld1.dd: Remove trailing white spaces after nop.

opcodes/

2008-12-18  H.J. Lu  <hongjiu.lu@intel.com>

* i386-dis.c (mnemonicendp): New.
(op): Likewise.
(print_insn): Use mnemonicendp.
(OP_3DNowSuffix): Likewise.
(CMP_Fixup): Likewise.
(CMPXCHG8B_Fixup): Likewise.
(CRC32_Fixup): Likewise.
(OP_DREX_FCMP): Likewise.
(OP_DREX_ICMP): Likewise.
(VZERO_Fixup): Likewise.
(VCMP_Fixup): Likewise.
(PCLMUL_Fixup): Likewise.
(VPERMIL2_Fixup): Likewise.
(MOVBE_Fixup): Likewise.
(putop): Update mnemonicendp.
(oappend): Use stpcpy.
(simd_cmp_op): Changed to struct op.
(vex_cmp_op): Likewise.
(pclmul_op): Likewise.
(vpermil2_op): Likewise.

15 years ago Backport link test fix from upstream Libtool:
rwild [Thu, 18 Dec 2008 21:36:44 +0000 (21:36 +0000)]
Backport link test fix from upstream Libtool:

* libltdl.m4 (_LT_SYS_DYNAMIC_LINKER, _LT_LINKER_SHLIBS):
Add cache variables to tests that require the linker to work.
For shlibpath_overrides_runpath, this also changes the semantics
to let the result from the C compiler take precedence.
compiler take precedence.

binutils/

* configure: Regenerate.

opcodes/

* configure: Regenerate.

bfd/

* configure: Regenerate.

gas/

* configure: Regenerate.

gprof/

* configure: Regenerate.

ld/

* configure: Regenerate.

15 years ago * linux-nat.c (linux_child_follow_fork): If following the child,
palves [Thu, 18 Dec 2008 21:35:22 +0000 (21:35 +0000)]
* linux-nat.c (linux_child_follow_fork): If following the child,
and not detaching the parent, also add the child fork to the fork
list.
* linux-fork.c (linux_fork_context): Remove dead error call.
Assert that the incoming newfp argument is not null.  Do not add a
new fork for inferior_ptid.  Assert that there is one already.

15 years ago * fhandler_disk_file.cc: Set 4th parameter of NtQueryDirectoryFile to
corinna [Thu, 18 Dec 2008 18:54:24 +0000 (18:54 +0000)]
* fhandler_disk_file.cc: Set 4th parameter of NtQueryDirectoryFile to
NULL throughout.
(fhandler_disk_file::facl): Fix a condition so that fstat_by_handle
is actually used.
(fhandler_disk_file::readdir): Don't print debug message on a simple
STATUS_NO_MORE_FILES status code.

15 years agomerge from gcc
dj [Thu, 18 Dec 2008 15:56:12 +0000 (15:56 +0000)]
merge from gcc

15 years ago * path.cc (symlin_info::check): Set 4th parameter of
corinna [Thu, 18 Dec 2008 15:37:19 +0000 (15:37 +0000)]
* path.cc (symlin_info::check): Set 4th parameter of
NtQueryDirectoryFile to NULL instead of 0 since it's a pointer.
Simplify label and break from loop handling in symlink evaluation
conditional expression.  Drop a now useless break statement.  Fix
behaviour when searching for `foo' and then finding a `foo.lnk'
which is no shortcut.

15 years ago * config.sub, config.guess: Update from upstream sources.
bje [Thu, 18 Dec 2008 03:26:46 +0000 (03:26 +0000)]
* config.sub, config.guess: Update from upstream sources.

15 years ago * options.h (class General_options): Add --no case for
ian [Thu, 18 Dec 2008 01:53:38 +0000 (01:53 +0000)]
* options.h (class General_options): Add --no case for
--export-dynamic.

15 years ago*** empty log message ***
gdbadmin [Thu, 18 Dec 2008 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***

15 years agodaily update
amodra [Thu, 18 Dec 2008 00:00:05 +0000 (00:00 +0000)]
daily update

15 years ago2008-12-17 Jeff Johnston <jjohnstn@redhat.com>
jjohnstn [Wed, 17 Dec 2008 23:16:07 +0000 (23:16 +0000)]
2008-12-17  Jeff Johnston  <jjohnstn@redhat.com>

        * COPYING.NEWLIB: Updated.
        * COPYING.LIBGLOSS: Ditto.

15 years ago2008-12-17 Jon Beniston <jon@beniston.com>
jjohnstn [Wed, 17 Dec 2008 23:09:09 +0000 (23:09 +0000)]
2008-12-17  Jon Beniston <jon@beniston.com>

        * configure.host: Set syscall_dir for lm32 target.

15 years ago2008-12-17 Jon Beniston <jon@beniston.com>
jjohnstn [Wed, 17 Dec 2008 23:08:09 +0000 (23:08 +0000)]
2008-12-17  Jon Beniston <jon@beniston.com>

        * README: Add description of lm32 directory.
        * configure.in: Add lm32 target.
        * configure: Regenerated.
        * libnosys/configure.in: Add lm32 target.
        * libnosys/configure: Regenerated.
        * lm32: New directory.
        * lm32/aclocal.m4: New file.
        * lm32/Makefile.in: New file.
        * lm32/configure.in: New file.
        * lm32/configure: New file.
        * lm32/crt0.S: New file.
        * lm32/isatty.c: New file.
        * lm32/scall.S: New file.
        * lm32/sim.ld: New file.

15 years agoUpdate my email address.
devans [Wed, 17 Dec 2008 04:27:18 +0000 (04:27 +0000)]
Update my email address.

15 years ago (cris_elf_relocate_section) <R_CRIS_8, R_CRIS_16, R_CRIS_32>: Add missing
hp [Wed, 17 Dec 2008 02:31:16 +0000 (02:31 +0000)]
(cris_elf_relocate_section) <R_CRIS_8, R_CRIS_16, R_CRIS_32>: Add missing
gate h != NULL for h->def_regular test.

15 years ago * ld-cris/expalltst3, ld-cris/expdyn2.s, ld-cris/libdso-15.d: New
hp [Wed, 17 Dec 2008 02:15:34 +0000 (02:15 +0000)]
* ld-cris/expalltst3, ld-cris/expdyn2.s, ld-cris/libdso-15.d: New
tests.

15 years ago * elf32-cris.c (elf_cris_copy_indirect_symbol): Return without
hp [Wed, 17 Dec 2008 02:14:30 +0000 (02:14 +0000)]
* elf32-cris.c (elf_cris_copy_indirect_symbol): Return without
action for symbols other than bfd_link_hash_indirect.

15 years agodaily update
amodra [Wed, 17 Dec 2008 00:00:05 +0000 (00:00 +0000)]
daily update

15 years ago*** empty log message ***
gdbadmin [Wed, 17 Dec 2008 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

15 years ago * plugin.cc (Plugin::load): Move LDPT_MESSAGE to front of transfer
ccoutant [Tue, 16 Dec 2008 19:19:15 +0000 (19:19 +0000)]
* plugin.cc (Plugin::load): Move LDPT_MESSAGE to front of transfer
vector.
(Plugin_manager::claim_file): Create plugin object even if
plugin did not call the add_symbols callback.
(Plugin_obj::get_symbol_resolution_info): Guard against plugin
asking for more symbols than were added.
* testsuite/Makefile.am (plugin_test_1): Add test case with
no global symbols.
(empty.syms): New target.
* testsuite/Makefile.in: Regenerate.
* testsuite/plugin_test.c (claim_file_hook): Add new debug
message. Don't call add_symbols if no globals.
(all_symbols_read_hook): Don't provide replacement for empty
claimed file.

15 years ago2008-12-16 Christophe Lyon <christophe.lyon@st.com>
denis [Tue, 16 Dec 2008 13:15:50 +0000 (13:15 +0000)]
2008-12-16  Christophe Lyon  <christophe.lyon@st.com>

       * gdb.base/expand-psymtabs.c: Insert code in foo so that the
       compiler actually generate code at the expected line number.

15 years ago2008-12-16 Paolo Bonzini <bonzini@gnu.org>
bonzini [Tue, 16 Dec 2008 12:31:18 +0000 (12:31 +0000)]
2008-12-16  Paolo Bonzini  <bonzini@gnu.org>

Sync with GCC:

2008-12-12  Sebastian Pop  <sebastian.pop@amd.com>

* configure.ac (ppllibs): Add by default the lib flags.
* configure: Regenerate.

2008-12-04  Jack Howarth  <howarth@bromo.med.uc.edu>

        * configure.ac: Add double brackets on darwin[912].
        * configure: Regenerate.

2008-12-02  Jack Howarth  <howarth@bromo.med.uc.edu>

        * configure.ac: Expand to darwin10 and later.
        * configure: Regenerate.

15 years ago2008-12-16 Tristan Gingold <gingold@adacore.com>
gingold [Tue, 16 Dec 2008 11:15:57 +0000 (11:15 +0000)]
2008-12-16  Tristan Gingold  <gingold@adacore.com>

* inflow.c: Remove old_sigio, handle_sigio, old_fcntl_flags,
set_sigio_trap, clear_sigio_trap definitions.
* inferior.h: Remove set_sigio_trap and clear_sigio_trap declarations.
* inf-ptrace.c (inf_ptrace_wait): Remove call to set_sigio_trap
and clear_sigio_trap.
* inf-ttrace.c (inf_ttrace_wait): Ditto.
* linux-nat.c (linux_nat_wait): Ditto.
* spu-linux-nat.c (spu_child_wait): Ditto.
* rs6000-nat.c (rs6000_wait): Ditto.
* target.c: Remove target_activity_function and target_activity_fd.
* target.h: Remove target_activity_function and target_activity_fd
declarations.

15 years ago * utils.sgml: Fix typo in passwd screen text.
corinna [Tue, 16 Dec 2008 10:56:33 +0000 (10:56 +0000)]
* utils.sgml: Fix typo in passwd screen text.

15 years ago * fhandler_registry.cc (DEFAULT_VALUE_NAME): Remove constant.
corinna [Tue, 16 Dec 2008 09:20:05 +0000 (09:20 +0000)]
* fhandler_registry.cc (DEFAULT_VALUE_NAME): Remove constant.
(encode_regname): Encode empty (default) name to "@".
Encode "@" to "%40".  Change error return to -1.
(decode_regname): Decode "@" to empty name.  Decode "%40" to "@".
(fhandler_registry::exists): Skip check for keys if name is empty.
Remove check for DEFAULT_VALUE_NAME, now handled by decode_regname ().
(fhandler_registry::readdir): Remove check for empty name, now
handled by encode_regname ().
(fhandler_registry::open): Remove check for DEFAULT_VALUE_NAME.
(fhandler_registry::open_key): Fail with ENOENT if key name is empty.

15 years ago- Fix a problem with "File Close" menu that let insight becoming unstable
denis [Tue, 16 Dec 2008 09:07:57 +0000 (09:07 +0000)]
- Fix a problem with "File Close" menu that let insight becoming unstable
and unable to reopen a new binary (Linux and Win32 hosts)
- Fix a problem with the source window that, once a binary is closed, is
splitted into 2 part and alway displays the old sources. (Win32 hosts only)

2008-12-16  Denis Pilat  <denis.pilat@st.com>
on behalf of Nunzio Raciti  <nunzio.raciti@st.com>

* library/srctextwin.itb (_clear_cache): Take care of $p variable that
could contains ":" for source pane on windows hosts.
* library/srcwin.itb (choose_and_update): Avoid updating the "source"
window if target executable name is empty.

15 years ago * gdb.texinfo (Omissions from Ada): Add missing GDB prompt in
brobecke [Tue, 16 Dec 2008 06:14:00 +0000 (06:14 +0000)]
    * gdb.texinfo (Omissions from Ada): Add missing GDB prompt in
        examples.
        (Additions to Ada): Likewise. Add the missing opening and closing
        parenthesis of the GDB prompt in one of the examples.

15 years ago2008-12-15 Paul Pluzhnikov <ppluzhnikov@google.com>
ppluzhnikov [Tue, 16 Dec 2008 05:06:02 +0000 (05:06 +0000)]
2008-12-15  Paul Pluzhnikov  <ppluzhnikov@google.com>

* dbxread.c (read_ofile_symtab): Sign-extend 32-bit N_LSYM and
N_PSYM STABS values for 64-bit GDB.

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

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

15 years ago * syscalls.cc (gen_full_path_at): Use isabspath instead of isdirsep
corinna [Mon, 15 Dec 2008 20:53:18 +0000 (20:53 +0000)]
* syscalls.cc (gen_full_path_at): Use isabspath instead of isdirsep
to recognize absolute path.

15 years ago2008-12-15 Jeff Johnston <jjohnstn@redhat.com>
jjohnstn [Mon, 15 Dec 2008 20:31:47 +0000 (20:31 +0000)]
2008-12-15  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/stdio/stdio.tex: Remove putwc and getwc references as they
        are included as part of fputwc and fgetwc, respectively.

15 years ago * sec_auth.cc (open_local_policy): Set lsa handle to
corinna [Mon, 15 Dec 2008 20:25:44 +0000 (20:25 +0000)]
* sec_auth.cc (open_local_policy): Set lsa handle to
INVALID_HANDLE_VALUE when LsaOpenPolicy fails.  Explain why.

15 years ago2008-12-15 Joel Sherrill <joel.sherrill@oarcorp.com>
joel [Mon, 15 Dec 2008 19:48:06 +0000 (19:48 +0000)]
2008-12-15 Joel Sherrill <joel.sherrill@oarcorp.com>

* ppc-instructions, ppc-spr-table: Add ability
to read tbrl and tbru special registers.

15 years ago * setlsapwd.cc (setlsapwd): Simplify code. Only try to call cygserver
corinna [Mon, 15 Dec 2008 18:07:34 +0000 (18:07 +0000)]
* setlsapwd.cc (setlsapwd): Simplify code.  Only try to call cygserver
if opening local policy fails.  Don't treat removing non-existant
private data as error.

15 years ago * generic/gdbtk-cmds.c (valprint.h): Include.
kevinb [Mon, 15 Dec 2008 18:06:12 +0000 (18:06 +0000)]
* generic/gdbtk-cmds.c (valprint.h): Include.
(gdb_eval): Fetch print options via get_formatted_print_options.
Update call to val_print.
(gdb_update_mem): Likewise, but for print_scalar_formatted.
* generic/gdbtk-register.c (valprint.h): Include.
(get_register): Use get_formatted_print_options.  Update calls
to val_print.
* generic/gdbtk-wrapper.c (valprint.h): Include.
(wrap_val_print): Use get_formatted_print_options.  Delete
variables deref_ref and pretty; assign to equivalent fields
in the value_print_options struct instead.  Update call to
val_print.

15 years ago * setpwd.cc (client_request_setpwd::serve): Don't treat removing
corinna [Mon, 15 Dec 2008 18:05:50 +0000 (18:05 +0000)]
* setpwd.cc (client_request_setpwd::serve): Don't treat removing
non-existant private data as error.

15 years ago * setlsapwd.cc (setlsapwd): Explicitely erase password buffer content
corinna [Mon, 15 Dec 2008 17:39:38 +0000 (17:39 +0000)]
* setlsapwd.cc (setlsapwd): Explicitely erase password buffer content
after usage.

15 years ago * setpwd.cc (client_request_setpwd::serve): Explicitely erase password
corinna [Mon, 15 Dec 2008 17:39:21 +0000 (17:39 +0000)]
* setpwd.cc (client_request_setpwd::serve): Explicitely erase password
buffer content after usage.

15 years ago * passwd.c (main): Put how to delete the registry password on its own
corinna [Mon, 15 Dec 2008 17:33:08 +0000 (17:33 +0000)]
* passwd.c (main): Put how to delete the registry password on its own
line in passwd -R output.

15 years agoopcodes:
rearnsha [Mon, 15 Dec 2008 17:24:12 +0000 (17:24 +0000)]
opcodes:
* arm-dis.c (coprocessor_opcodes): Disassemble VFP instructions using
unified syntax.
gas/testsuite:
* gas/arm/group-reloc-ldc.d: Disassembly of VFP instructions now uses
unified syntax.
* gas/arm/vfp-non-overlap.d: Likewise.
* gas/arm/vfp-neon-syntax.d: Likewise.
* gas/arm/vfp-neon-syntax_t2.d: Likewise.
* gas/arm/vfp1.d: Likewise.
* gas/arm/vfp1_t2.d: Likewise.
* gas/arm/vfp1xD.d: Likewise.
* gas/arm/vfp1xD_t2.d: Likewise.
* gas/arm/vfp2.d: Likewise.
* gas/arm/vfp2_t2.d: Likewise.
* gas/arm/vfpv3-32drs.d: Likewise.
* gas/arm/vfpv3-const-conv.d: Likewise.
ld/testsuite:
* ld-arm/vfp11-fix-scalar.d: Disassembly of VFP instructions now uses
unified syntax.
* ld-arm/vfp11-fix-vector.d: Likewise.

15 years ago * gdb.base/consecutive.exp: Don't use global in gdb_expect.
jiez [Mon, 15 Dec 2008 13:04:56 +0000 (13:04 +0000)]
* gdb.base/consecutive.exp: Don't use global in gdb_expect.

15 years ago * fhandler_registry.cc (fhandler_registry::exists): Handle EACCES.
corinna [Mon, 15 Dec 2008 12:51:46 +0000 (12:51 +0000)]
* fhandler_registry.cc (fhandler_registry::exists): Handle EACCES.
(fhandler_registry::open): Ditto.

15 years ago * cygwin.din: Export fgetwc, fgetws, fputwc, fputws, fwide, getwc,
corinna [Mon, 15 Dec 2008 12:40:28 +0000 (12:40 +0000)]
* cygwin.din: Export fgetwc, fgetws, fputwc, fputws, fwide, getwc,
getwchar, putwc, putwchar, ungetwc.
* posix.sgml: Move above functions (add missing) into "implemented
SUSv3" section.
* include/cygwin/version.h: Bump api minor number.

15 years ago * fhandler.h (class fhandler_registry): Declare dup method.
corinna [Mon, 15 Dec 2008 12:33:27 +0000 (12:33 +0000)]
* fhandler.h (class fhandler_registry): Declare dup method.
* fhandler_registry.cc (fhandler_registry::exists): Fix missing
parenthesis.
(fhandler_registry::dup): New method.

15 years ago2008-12-15 Tristan Gingold <gingold@adacore.com>
gingold [Mon, 15 Dec 2008 11:32:08 +0000 (11:32 +0000)]
2008-12-15  Tristan Gingold  <gingold@adacore.com>

* dwarf2expr.c (execute_stack_op): Handle DW_OP_swap.

15 years ago * ada-lang.c (ada_value_slice_ptr): Rename to...
guitton [Mon, 15 Dec 2008 10:40:27 +0000 (10:40 +0000)]
* ada-lang.c (ada_value_slice_ptr): Rename to...
(ada_value_slice_from_ptr): ... this. Return a lazy value instead
of a reference. Update comment.
(ada_value_struct_elt): Ditto if arg is a pointer or a reference.
Update comment as well.
(ada_evaluate_subexp): Update use of ada_value_slice_ptr.

15 years ago * gcc.sgml: Use 'bash$' as Cygwin prompt throughout.
corinna [Mon, 15 Dec 2008 09:37:50 +0000 (09:37 +0000)]
* gcc.sgml: Use 'bash$' as Cygwin prompt throughout.
* gdb.sgml: Ditto.
* pathnames.sgml: Ditto.  Fix the @ expansion example.

15 years ago * elf32-cris.c (elf_cris_copy_indirect_symbol): New function.
hp [Mon, 15 Dec 2008 03:17:49 +0000 (03:17 +0000)]
* elf32-cris.c (elf_cris_copy_indirect_symbol): New function.
(elf_backend_copy_indirect_symbol): Define to above.

15 years ago * ld-cris/libdso-13b.d: New test.
hp [Mon, 15 Dec 2008 02:33:38 +0000 (02:33 +0000)]
* ld-cris/libdso-13b.d: New test.

15 years ago * elf32-cris.c (struct elf_cris_pcrel_relocs_copied): New member
hp [Mon, 15 Dec 2008 02:32:22 +0000 (02:32 +0000)]
* elf32-cris.c (struct elf_cris_pcrel_relocs_copied): New member
r_type.  Fix formatting.
(cris_elf_relocate_section) <R_CRIS_8_PCREL, R_CRIS_16_PCREL>
<R_CRIS_32_PCREL>: Also break early if the symbol doesn't get
emitted as a dynamic one.
(cris_elf_check_relocs) <R_CRIS_7, R_CRIS_16, R_CRIS_32>: Fork
from PCREL relocs code and simplify; don't fall through.
<R_CRIS_8_PCREL, R_CRIS_16_PCREL, R_CRIS_32_PCREL>: Simplify for
pcrel only.  For non-local or overridable symbols in a DSO, always
keep count of relocs, not just when -Bsymbolic.  Don't emit
message nor mark as TEXTREL here.
(elf_cris_discard_excess_dso_dynamics): Emit warning and mark as
TEXTREL here, if there are nondiscarded pcrel relocs.

15 years ago * elf32-cris.c (elf_cris_got_elt_size) <symtab_hdr>: Initialize
hp [Mon, 15 Dec 2008 02:10:26 +0000 (02:10 +0000)]
* elf32-cris.c (elf_cris_got_elt_size) <symtab_hdr>: Initialize
using ibfd, not abfd.

15 years ago * ld-cris/hidedsofns2468, ld-cris/libdso-12b.d,
hp [Mon, 15 Dec 2008 01:36:21 +0000 (01:36 +0000)]
* ld-cris/hidedsofns2468, ld-cris/libdso-12b.d,
ld-cris/libdso-12c.d, ld-cris/libdso-1b.d, ld-cris/dso-1b.s: New
tests.

15 years ago * ld-cris/got7.s: Correct .size expression.
hp [Mon, 15 Dec 2008 01:30:57 +0000 (01:30 +0000)]
* ld-cris/got7.s: Correct .size expression.
* ld-cris/tls-e-20a.d: Adjust accordingly.

15 years agodaily update
amodra [Mon, 15 Dec 2008 00:00:45 +0000 (00:00 +0000)]
daily update

15 years ago*** empty log message ***
gdbadmin [Mon, 15 Dec 2008 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***

15 years ago * utils.c (xmalloc,xcalloc,xstrdup): New fns.
devans [Sun, 14 Dec 2008 20:51:04 +0000 (20:51 +0000)]
* utils.c (xmalloc,xcalloc,xstrdup): New fns.
* server.h (ATTR_MALLOC): New macro.
(xmalloc,xcalloc,xstrdup): Declare.
* hostio.c: Replace malloc,calloc,strdup with xmalloc,xcalloc,xstrdup.
* inferiors.c: Ditto.
* linux-low.c: Ditto.
* mem-break.c: Ditto.
* regcache.c: Ditto.
* remote-utils.c: Ditto.
* server.c: Ditto.
* target.c: Ditto.
* win32-low.c: Ditto.

15 years ago * gdb.texinfo (Omissions from Ada): Remove incorrect documentation
brobecke [Sun, 14 Dec 2008 18:30:25 +0000 (18:30 +0000)]
    * gdb.texinfo (Omissions from Ada): Remove incorrect documentation
        about the result of 'Address not being of type System.Address.
        This problem has been fixed a while ago.

15 years ago* fhandler_disk_file.cc (readdir_get_ino): Don't complain about MS-DOS paths
cgf [Sun, 14 Dec 2008 06:01:46 +0000 (06:01 +0000)]
* fhandler_disk_file.cc (readdir_get_ino): Don't complain about MS-DOS paths
since the function could be fed one by an internal call.

15 years ago*** empty log message ***
gdbadmin [Sun, 14 Dec 2008 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

15 years agodaily update
amodra [Sun, 14 Dec 2008 00:00:05 +0000 (00:00 +0000)]
daily update

15 years ago* utils.sgml: Convert some backslashes to slashes.
cgf [Sat, 13 Dec 2008 22:43:54 +0000 (22:43 +0000)]
* utils.sgml: Convert some backslashes to slashes.

15 years ago* pathnames.sgml: Convert some backslashes to slashes.
cgf [Sat, 13 Dec 2008 21:14:44 +0000 (21:14 +0000)]
* pathnames.sgml: Convert some backslashes to slashes.

15 years ago* cygheap.cc (cygheap_user::~cygheap_user): Remove unneeded if 0'ed code.
cgf [Sat, 13 Dec 2008 21:05:30 +0000 (21:05 +0000)]
* cygheap.cc (cygheap_user::~cygheap_user): Remove unneeded if 0'ed code.
* fhandler_registry.cc (fhandler_registry::exists): Recode goto as if/else to
avoid a gcc4 compiler warning.
(fhandler_registry::open): Ditto.  Use one goto rather than two.
* gentls_offsets: Fix compiler warning in generated output.
* tlsoffsets.h: Regenerate.
* mount.cc (fillout_mntent): slashify native paths returned via getmntent.

15 years ago * gnu-v3-abi.c (vtable_ptrdiff_type): New function.
kevinb [Sat, 13 Dec 2008 00:39:52 +0000 (00:39 +0000)]
* gnu-v3-abi.c (vtable_ptrdiff_type): New function.
(gnuv3_decode_method_ptr, gnuv3_print_method_ptr)
(gnuv3_method_ptr_to_value): Use a better approximation for
`ptrdiff_t' instead of `long'.

* m32c-tdep.c (m32c_gdbarch_init): Call set_gdbarch_vbit_in_delta().
(m32c_push_dummy_call): Dereference pointer type.

15 years ago*** empty log message ***
gdbadmin [Sat, 13 Dec 2008 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

15 years agodaily update
amodra [Sat, 13 Dec 2008 00:00:09 +0000 (00:00 +0000)]
daily update

15 years ago * linux-low.c (linux_wait_for_process): Don't clobber current_inferior
devans [Fri, 12 Dec 2008 23:14:28 +0000 (23:14 +0000)]
* linux-low.c (linux_wait_for_process): Don't clobber current_inferior
in debugging printf.

15 years ago * linux-low.c (handle_extended_wait): Simplify, use my_waitpid.
devans [Fri, 12 Dec 2008 23:13:20 +0000 (23:13 +0000)]
* linux-low.c (handle_extended_wait): Simplify, use my_waitpid.

15 years ago2008-12-12 Craig Howland <howland@LGSInnovations.com>
jjohnstn [Fri, 12 Dec 2008 19:47:05 +0000 (19:47 +0000)]
2008-12-12  Craig Howland <howland@LGSInnovations.com>

        * libc/include/wchar.h:  Added wcstok() declaration.
        * libc/string/wcstok.c: New file, implementing wcstok.
        * libc/string/Makefile.am: Add wcstok support.
        * libc/string/wcstrings.tex: Ditto.
        * libc/string/Makefile.in: Regenerated.

15 years agogdb
tromey [Fri, 12 Dec 2008 17:58:47 +0000 (17:58 +0000)]
gdb
PR cli/2563:
* cli/cli-decode.c (delete_cmd): Add hook-related out parameters.
(add_cmd): Update.  Install hooks into new command.
(add_alias_cmd): Update.
gdb/testsuite
* gdb.base/commands.exp (redefine_hook_test): New proc.
Call it.

15 years ago2008-12-12 Ralf Corsepius <ralf.corsepius@rtems.org>
jjohnstn [Fri, 12 Dec 2008 17:21:08 +0000 (17:21 +0000)]
2008-12-12  Ralf Corsepius  <ralf.corsepius@rtems.org>

        * libc/stdio/fputws.c: Fix documentation.
        * libc/stdio/getwchar.c: Ditto.
        * libc/stdio/putwchar.c: Ditto.

15 years ago2008-12-12 Ralf Corsepius <ralf.corsepius@rtems.org>
jjohnstn [Fri, 12 Dec 2008 17:16:03 +0000 (17:16 +0000)]
2008-12-12  Ralf Corsepius  <ralf.corsepius@rtems.org>

        * libc/include/sys/features.h: Set RTEMS's _POSIX_MONOTONIC_CLOCK to
        200112L (SUSv3 compliance).
        Comment out RTEMS's _POSIX_SHARED_MEMORY_OBJECTS (Unsupported).

15 years ago2008-12-12 Ralf Corsepius <ralf.corsepius@rtems.org>
jjohnstn [Fri, 12 Dec 2008 17:11:33 +0000 (17:11 +0000)]
2008-12-12  Ralf Corsepius  <ralf.corsepius@rtems.org>

        * libc/sys/rtems/crt0.c: Add stubs for getdents(), nanosleep(),
        _execve(), _exit().

15 years ago2008-12-12 Ralf Corsepius <ralf.corsepius@rtems.org>
jjohnstn [Fri, 12 Dec 2008 17:07:37 +0000 (17:07 +0000)]
2008-12-12  Ralf Corsepius  <ralf.corsepius@rtems.org>

        * configure.host: Let *rtems* default to c99-formats.

15 years agogdb
tromey [Fri, 12 Dec 2008 17:03:36 +0000 (17:03 +0000)]
gdb
* macroexp.c (get_pp_number): Require digit after leading ".".
Correctly handle suffixes.
gdb/testsuite
* gdb.base/macscp.exp: New regression test.

15 years ago * macrocmd.c (macro_define_command): Skip whitespace after
tromey [Fri, 12 Dec 2008 16:58:45 +0000 (16:58 +0000)]
* macrocmd.c (macro_define_command): Skip whitespace after
macro name.
(print_one_macro): Print space after macro name.

15 years ago * target-reloc.h (Default_scan_relocatable_relocs): Only discard
ian [Fri, 12 Dec 2008 16:33:04 +0000 (16:33 +0000)]
* target-reloc.h (Default_scan_relocatable_relocs): Only discard
r_type == 0 for a local symbol with r_sym == 0.
(scan_relocatable_relocs): Pass r_sym to
local_non_section_strategy.
* reloc.cc (Emit_relocs_strategy::local_non_section_strategy): Add
r_sym parameter.