OSDN Git Service

pf3gnuchains/pf3gnuchains4x.git
12 years agoPatch for sid/cgen setter error.
fche [Mon, 29 Aug 2011 17:31:16 +0000 (17:31 +0000)]
Patch for sid/cgen setter error.

http://sourceware.org/ml/cgen/2011-q3/msg00008.html

Author: John Wehle <john@cybersashi.com>

* sid.scm (/op-gen-set-trace1): Use rtl-c VOID instead of 'VOID.

12 years agogdb/
jkratoch [Mon, 29 Aug 2011 16:55:11 +0000 (16:55 +0000)]
gdb/
Fix TUI stepi on code without symbols.
* tui/tui-stack.c (tui_show_frame_info): Remove error, set LOW for
current PC instead.

12 years ago * flock.cc (LOCK_OBJ_NAME_LEN): Change to accommodate extra lf_ver
corinna [Mon, 29 Aug 2011 13:50:19 +0000 (13:50 +0000)]
* flock.cc (LOCK_OBJ_NAME_LEN): Change to accommodate extra lf_ver
field.
(class lockf_t): Add lf_ver field.
(lockf_t::lockf_t): Initialize lf_ver to 0.
(class inode_t): Change i_wait to i_cnt.  Change comment to explain
change in usage.
(inode_t:use): Rename from wait.  Make private.
(inode_t::unuse): Rename from unwait.  Make private.
(inode_t::inuse): Rename from waiting.  Make private.
(inode_t::notused): New public method to set use count to 0.
(inode_t::unlock_and_remove): New method to unlock node and to delete
it if it's unused in current process.
(fhandler_base::del_my_locks): Drop global list lock.  Drop variable
no_locks_left.  Simpify unlocking and removing node by just calling
unlock_and_remove.
(fixup_lockf_after_exec): Call notused method for each node.
(inode_t::get): Call use method.  Lock node only if outside of list
lock.
(inode_t::get_all_locks_list): Accommodate additional lf_ver field
when creating lockf_t structure from object name.
(lockf_t::create_lock_obj_attr): Accommodate additional lf_ver field
when creating object name from lockf_t structure.  Handle
STATUS_OBJECT_NAME_COLLISION gracefully in F_POSIX case as well.
Change comment accordingly.  Increment lf_ver field rather than high
byte of lf_wid field.  Simplify comment.
(fhandler_disk_file::lock): Always call unlock_and_remove rather than
just UNLOCK on node.
(lf_setlock): Move ret definition where it's used.  Drop unneeded
tests for obj being not NULL.  Only check for deadlock condition if the
lock we're trying to establish is a POSIX lock.  Revamp object
collecting and wait code to cover all cases.  Don't return with EDEADLK
if blocking process can't be opened for synchronization in F_POSIX case,
rather just wait like in F_FLOCK case.  Change system_printf to
debug_printf in that case.  Only run WaitForMultipleObjects with high
priority.  Close obj and process handles prior to locking node.

12 years ago*** empty log message ***
gdbadmin [Mon, 29 Aug 2011 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

12 years agogdb/
jkratoch [Sun, 28 Aug 2011 20:43:42 +0000 (20:43 +0000)]
gdb/
Code cleanup.
* mi/mi-cmd-stack.c (list_args_or_locals): Remove stb initialization
and the static keyword.
* mi/mi-cmd-target.c (mi_cmd_target_file_get, mi_cmd_target_file_put):
Make prefix an array.
* mi/mi-cmd-target.c (mi_cmd_target_file_delete): Likewise.
* mi/mi-main.c (get_register): Remove stb initialization and the static
keyword.

12 years agogdb/
jkratoch [Sun, 28 Aug 2011 20:39:28 +0000 (20:39 +0000)]
gdb/
Code cleanup - make mi_opt const.
* mi/mi-cmd-break.c (mi_cmd_break_insert, mi_cmd_break_watch): Make
opts const.
* mi/mi-cmd-disas.c (mi_cmd_disassemble): Likewise.
* mi/mi-cmd-env.c (mi_cmd_env_path): Likewise.
(mi_cmd_env_dir): Likewise.
* mi/mi-cmd-target.c (mi_cmd_target_file_get): Likewise.
(mi_cmd_target_file_put): Likewise.
* mi/mi-cmd-target.c (mi_cmd_target_file_delete): Likewise.
* mi/mi-cmd-var.c (mi_cmd_var_evaluate_expression): Likewise.
* mi/mi-getopt.c (mi_getopt): Make opts and opt const.
(mi_valid_noargs): Make opts const.
* mi/mi-getopt.h (mi_getopt): Make opts and opt const.
* mi/mi-main.c (mi_cmd_list_thread_groups): Make opts const.
(mi_cmd_data_read_memory): Likewise.
(mi_cmd_data_read_memory_bytes): Likewise.
(mi_cmd_data_write_memory): Likewise.

12 years agodaily update
amodra [Sun, 28 Aug 2011 00:00:06 +0000 (00:00 +0000)]
daily update

12 years ago*** empty log message ***
gdbadmin [Sun, 28 Aug 2011 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

12 years agoDon't expose implementation detail for opaque DIRENT structures.
keithmarshall [Sat, 27 Aug 2011 20:16:46 +0000 (20:16 +0000)]
Don't expose implementation detail for opaque DIRENT structures.

12 years ago * fhandler.cc (fhandler_base::open): Fix typo in comment.
corinna [Sat, 27 Aug 2011 20:01:28 +0000 (20:01 +0000)]
* fhandler.cc (fhandler_base::open): Fix typo in comment.
(fhandler_base::close): Move call to del_my_locks from here...
* fhandler_disk_file.cc (fhandler_disk_file::open): ...to here.
* flock.cc (struct lockfattr_t): New type.
(lockf_t::close_lock_obj): New method, use throughout.
(lockf_t::create_lock_obj_attr): New method.
(lockf_t::create_lock_obj): Use create_lock_obj_attr method.  Handle
STATUS_OBJECT_NAME_COLLISION in F_FLOCK case gracefully.  Add lengthy
comments to explain why and how.
(lockf_t::open_lock_obj): Use create_lock_obj_attr method.
(lockf_t::del_lock_obj): Call NtSetEvent rather than SetEvent for
symmetry.
(fhandler_disk_file::lock): Define n only where it's used.  Call
need_fork_fixup only if call was successful.  Handle EINTR and
ECANCELED return values from lf_setlock.
(lf_setlock): Drop WAIT_UNLOCKED and WAIT_PROC_EXITED.  Don't wait
for event object handle count to become <= 1 in F_LOCK case.
Simplify WFMO return value handling.  Don't handle signal and cancel
events here; just return with appropriate error code instead.
(lf_getblock): Ignore locks for which the handle can't be opened.
Use IsEventSignalled.
* ntdll.h (STATUS_INVALID_INFO_CLASS): Undef if defined elsewhere to
make sure the definition is casted to NTSTATUS.
(STATUS_INVALID_HANDLE): Define and ditto.
(STATUS_OBJECT_NAME_COLLISION): Define.
(NtSetEvent): Declare.

12 years ago* solib-sunos.c (allocate_rt_common_objfile): Add missing arguments to
ratmice [Sat, 27 Aug 2011 10:28:30 +0000 (10:28 +0000)]
* solib-sunos.c (allocate_rt_common_objfile): Add missing arguments to
bcache_xmalloc,  replace bcache_xmalloc with call to
psymbol_bcache_init for psymbol_cache.
* symfile.c (reread_symbols): Remove extra calls to bcache_xmalloc.

12 years ago * layout.cc (Free_list::allocate): Provide guarantee of minimum
ccoutant [Sat, 27 Aug 2011 01:28:17 +0000 (01:28 +0000)]
* layout.cc (Free_list::allocate): Provide guarantee of minimum
remaining hole size when allocating.
(Layout::make_output_section): Set fill methods for debug sections.
* layout.h (Free_list::Free_list_node): Move from private to
public.
(Free_list::set_min_hole_size): New function.
(Free_list::begin, Free_list::end): New functions.
(Free_list::min_hole_): New data member.
* output.cc: Include dwarf.h.
(Output_fill_debug_info::do_minimum_hole_size): New function.
(Output_fill_debug_info::do_write): New function.
(Output_fill_debug_line::do_minimum_hole_size): New function.
(Output_fill_debug_line::do_write): New function.
(Output_section::Output_section): Initialize new data member.
(Output_section::set_final_data_size): Ensure patch space is larger
than minimum hole size.
(Output_section::do_write): Fill holes in debug sections.
* output.h (Output_fill): New class.
(Output_fill_debug_info): New class.
(Output_fill_debug_line): New class.
(Output_section::set_free_space_fill): New function.
(Output_section::free_space_fill_): New data member.
* testsuite/Makefile.am (incremental_test_3): Add
--incremental-patch option.
(incremental_test_4): Likewise.
(incremental_test_5): Likewise.
(incremental_test_6): Likewise.
(incremental_copy_test): Likewise.
(incremental_common_test_1): Likewise.
* testsuite/Makefile.in: Regenerate.

12 years agodaily update
amodra [Sat, 27 Aug 2011 00:00:05 +0000 (00:00 +0000)]
daily update

12 years ago*** empty log message ***
gdbadmin [Sat, 27 Aug 2011 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

12 years agogdb/
jkratoch [Fri, 26 Aug 2011 21:47:21 +0000 (21:47 +0000)]
gdb/
* inf-loop.c (inferior_event_handler): Add exception_print in
INF_EXEC_COMPLETE.

12 years agogdb/
jkratoch [Fri, 26 Aug 2011 21:45:21 +0000 (21:45 +0000)]
gdb/
* breakpoint.c (bpstat_do_actions): New variable cleanup_if_error, call
make_bpstat_clear_actions_cleanup and discard_cleanups for it.
* defs.h (make_bpstat_clear_actions_cleanup): New declaration.
* exceptions.c (throw_exception): Remove the bpstat_clear_actions call.
* inf-loop.c (inferior_event_handler): New variable cleanup_if_error,
call make_bpstat_clear_actions_cleanup and discard_cleanups for it.
Call bpstat_clear_actions for failed fetch_inferior_event_wrapper.
* infrun.c (fetch_inferior_event): Call
make_bpstat_clear_actions_cleanup.
* top.c (execute_command): New variable cleanup_if_error, call
make_bpstat_clear_actions_cleanup and discard_cleanups for it.
* utils.c (do_bpstat_clear_actions_cleanup)
(make_bpstat_clear_actions_cleanup): New functions.

gdb/testsuite/
* gdb.base/commands.exp (error_clears_commands_left): New function.
(): Call it.

12 years agogdb/testsuite/
jkratoch [Fri, 26 Aug 2011 21:11:08 +0000 (21:11 +0000)]
gdb/testsuite/
* gdb.mi/mi-inheritance-syntax-error.cc (A): Make `a' public.
(C): Initialize `a'.
* gdb.mi/mi-inheritance-syntax-error.exp
(-data-evaluate-expression $path):  Expect `a' as 5.

12 years ago2011-08-26 Pedro Alves <pedro@codesourcery.com>
palves [Fri, 26 Aug 2011 19:55:00 +0000 (19:55 +0000)]
2011-08-26  Pedro Alves  <pedro@codesourcery.com>

* linux-nat.c (linux_child_follow_fork): Don't set lp->resumed on
either the parent or the child forks.  Rename a couple locals.

12 years ago2011-08-26 Pedro Alves <pedro@codesourcery.com>
palves [Fri, 26 Aug 2011 19:26:40 +0000 (19:26 +0000)]
2011-08-26  Pedro Alves  <pedro@codesourcery.com>

gdb/
* linux-nat.c (wait_lwp): Avoid assuming errno is preserved by a
library call.  Avoid reading the `status' local if all waitpid
calls failed.

12 years ago2011-08-26 Pedro Alves <pedro@codesourcery.com>
palves [Fri, 26 Aug 2011 18:58:02 +0000 (18:58 +0000)]
2011-08-26  Pedro Alves  <pedro@codesourcery.com>

gdb/
* common/linux-osdata.c (get_cores_used_by_process): Don't assume
opening /proc/PID/task always succeeds.

12 years ago * linespec.c (symtab_from_filename): Check for the end of string.
aristovski [Fri, 26 Aug 2011 17:58:57 +0000 (17:58 +0000)]
* linespec.c (symtab_from_filename): Check for the end of string.

12 years agoUpdated Spanish translations.
nickc [Fri, 26 Aug 2011 15:15:47 +0000 (15:15 +0000)]
Updated Spanish translations.

12 years ago2011-08-26 Tristan Gingold <gingold@adacore.com>
gingold [Fri, 26 Aug 2011 13:37:27 +0000 (13:37 +0000)]
2011-08-26  Tristan Gingold  <gingold@adacore.com>

* config/tc-alpha.c (s_alpha_linkage): Simplify.  Add comments.

12 years ago2011-08-26 Tristan Gingold <gingold@adacore.com>
gingold [Fri, 26 Aug 2011 13:16:36 +0000 (13:16 +0000)]
2011-08-26  Tristan Gingold  <gingold@adacore.com>

* config/tc-alpha.c (add_to_link_pool): Improve comment.
(s_alpha_fp_save): Fix indentation.

12 years ago * NEWS: Mention that --no-copy-dt-needed-entries is now the
nickc [Fri, 26 Aug 2011 12:48:08 +0000 (12:48 +0000)]
* NEWS: Mention that --no-copy-dt-needed-entries is now the
default.

12 years ago2011-08-26 Marc Khouzam <marc.khouzam@ericsson.com>
marckhouzam [Fri, 26 Aug 2011 12:32:59 +0000 (12:32 +0000)]
2011-08-26  Marc Khouzam  <marc.khouzam@ericsson.com>

PR mi/11912
* varobj.c (cplus_describe_child): Add the keyword
'class' to the output of the method when dealing
with a cast to a base class.

2011-08-26  Marc Khouzam  <marc.khouzam@ericsson.com>

PR mi/11912
* gdb.mi/mi-inheritance-syntax-error.cc: New file.
* gdb.mi/mi-inheritance-syntax-error.exp: New file.
* gdb.mi/mi-var-cp.cc: Updated for new 'class'
keyword in output of -var-info-path-expression.

12 years agogdb/
jkratoch [Fri, 26 Aug 2011 09:28:25 +0000 (09:28 +0000)]
gdb/
No functionality change.
* breakpoint.c (bpstat_clear_actions): Remove the BS parameter, make
function comment a reference, new variables tp and bs, move here code
from throw_exception.
* breakpoint.h (bpstat_clear_actions): Remove the BS parameter,
describe it in the comment.
* exceptions.c (throw_exception): Remove variable tp, move the code for
bpstat_clear_actions to bpstat_clear_actions.

12 years agogdb/testsuite/
jkratoch [Fri, 26 Aug 2011 09:20:43 +0000 (09:20 +0000)]
gdb/testsuite/
* gdb.trace/backtrace.exp: Use is_lp64_target to check 64bit target.
* gdb.trace/collection.exp: Likewise.
* gdb.trace/report.exp: Likewise.
* gdb.trace/unavailable.exp: Likewise.
* gdb.trace/while-dyn.exp: Likewise.

12 years ago * libc/time/mktm_r.c (_mktm_r): Fix previous fix.
corinna [Fri, 26 Aug 2011 07:23:41 +0000 (07:23 +0000)]
* libc/time/mktm_r.c (_mktm_r): Fix previous fix.

12 years agodaily update
amodra [Fri, 26 Aug 2011 00:00:05 +0000 (00:00 +0000)]
daily update

12 years ago*** empty log message ***
gdbadmin [Fri, 26 Aug 2011 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

12 years ago* cygthread.cc (cygthread::simplestub): Notify that the thread has detached
cgf [Thu, 25 Aug 2011 19:37:38 +0000 (19:37 +0000)]
* cygthread.cc (cygthread::simplestub): Notify that the thread has detached
also in freerange thread case.

12 years ago2011-08-25 Andrew Oakley <andrew@ado.is-a-geek.net>
tromey [Thu, 25 Aug 2011 17:59:48 +0000 (17:59 +0000)]
2011-08-25  Andrew Oakley  <andrew@ado.is-a-geek.net>

* gdb.texinfo (Types In Python): Document 'bitpos' for enums.

12 years ago * fhandler.cc (fhandler_base::open): Never open files with
corinna [Thu, 25 Aug 2011 13:35:42 +0000 (13:35 +0000)]
* fhandler.cc (fhandler_base::open): Never open files with
FILE_OVERWITE/FILE_OVERWRITE_IF.  Set file size to 0 explicitely if
regular, existing file has been opened for writing with O_TRUNC flag
set.  Explain why.

12 years agodaily update
amodra [Thu, 25 Aug 2011 00:00:05 +0000 (00:00 +0000)]
daily update

12 years ago*** empty log message ***
gdbadmin [Thu, 25 Aug 2011 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

12 years ago * thread.cc (pthread::pthread): Drop setting parent_tls. Call
corinna [Wed, 24 Aug 2011 15:18:16 +0000 (15:18 +0000)]
* thread.cc (pthread::pthread): Drop setting parent_tls.  Call
sigprocmask to copy parent thread signal mask into new parent_sigmask
member.
(pthread::thread_init_wrapper): Copy _my_tls.sigmask from new
parent_sigmask member.
* thread.h (class pthread): Drop parent_tls.  Add parent_sigmask.

12 years ago* thread.cc (pthread::exit): Create dummy tls structure to hold _main_tls
cgf [Wed, 24 Aug 2011 14:23:35 +0000 (14:23 +0000)]
* thread.cc (pthread::exit): Create dummy tls structure to hold _main_tls
contents if we've asked _main_tls to exit.

12 years ago * libc/time/mktm_r.c (_mktm_r): Fix computing tm_year.
corinna [Wed, 24 Aug 2011 13:38:31 +0000 (13:38 +0000)]
* libc/time/mktm_r.c (_mktm_r): Fix computing tm_year.

12 years agoStop threads when attaching to a PID that is the tgid.
luisgpm [Wed, 24 Aug 2011 12:17:39 +0000 (12:17 +0000)]
Stop threads when attaching to a PID that is the tgid.

12 years agoMove common linux procfs code to common/
luisgpm [Wed, 24 Aug 2011 12:07:20 +0000 (12:07 +0000)]
Move common linux procfs code to common/

12 years agoFix a change log format issue.
teawater [Wed, 24 Aug 2011 09:28:42 +0000 (09:28 +0000)]
Fix a change log format issue.

12 years ago2011-08-24 Hui Zhu <teawater@gmail.com>
teawater [Wed, 24 Aug 2011 09:24:08 +0000 (09:24 +0000)]
2011-08-24  Hui Zhu  <teawater@gmail.com>

* tracepoint.c (cond_string_is_same): New function.
(find_matching_tracepoint): Add condition check
by cond_string_is_same.

12 years ago*** empty log message ***
gdbadmin [Wed, 24 Aug 2011 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

12 years agodaily update
amodra [Wed, 24 Aug 2011 00:00:05 +0000 (00:00 +0000)]
daily update

12 years ago2011-08-23 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
ironhead [Tue, 23 Aug 2011 22:59:34 +0000 (22:59 +0000)]
2011-08-23 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>

        * include/_mingw.h: Increment version to 3.20.

12 years ago2011-08-23 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
ironhead [Tue, 23 Aug 2011 22:27:35 +0000 (22:27 +0000)]
2011-08-23 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>

        * tlsmthread.c: Update to reflect changes in tlssup.c.
        * tlssup.c: code clean-up.

12 years agogdb/
jkratoch [Tue, 23 Aug 2011 19:40:48 +0000 (19:40 +0000)]
gdb/
Fix build error in Darwin port.
* darwin-nat-info.c (darwin_debug_regions_recurse): New variable uiout.

12 years ago * poll.cc (poll): Don't return prematurely if invalid fds have been
corinna [Tue, 23 Aug 2011 14:05:02 +0000 (14:05 +0000)]
* poll.cc (poll): Don't return prematurely if invalid fds have been
encountered.  Enforce timeout set to 0 in case of invalid fds.  Take
number of invalid fds into account when returning.

12 years ago * fhandler_socket.cc (fhandler_socket::send_internal): Fix setting
corinna [Tue, 23 Aug 2011 13:07:23 +0000 (13:07 +0000)]
* fhandler_socket.cc (fhandler_socket::send_internal): Fix setting
nosignal flag.  Convert ECONNABORTED on connection-oriented socket
to EPIPE, too.

12 years ago2011-08-23 Ralf Corsépius <ralf.corsepius@rtems.org>
corsepiu [Tue, 23 Aug 2011 12:03:55 +0000 (12:03 +0000)]
2011-08-23  Ralf Corsépius  <ralf.corsepius@rtems.org>

* libc/stdlib/putenv_r.c: Use "strchr" instead of obsolete "index".
* libc/stdlib/setenv_r.c: Use "memcpy" instead of obsolete "bcopy".

12 years ago2011-08-23 Ralf Corsépius <ralf.corsepius@rtems.org>
corsepiu [Tue, 23 Aug 2011 12:01:50 +0000 (12:01 +0000)]
2011-08-23  Ralf Corsépius  <ralf.corsepius@rtems.org>

* libc/misc/ffs.c, libc/string/bcmp.c, libc/string/bcopy.c,
libc/string/bzero.c, libc/string/index.c, libc/string/rindex.c,
libc/string/strcasecmp.c, libc/string/strncasecmp.c:
Let synopsis reference "#include <strings.h>".

12 years ago2011-08-23 Ralf Corsépius <ralf.corsepius@rtems.org>
corsepiu [Tue, 23 Aug 2011 11:59:55 +0000 (11:59 +0000)]
2011-08-23  Ralf Corsépius  <ralf.corsepius@rtems.org>

* libc/posix/regexec.c: Define "nope" only #ifndef NDEBUG.
* libc/stdio/vfscanf.c: Define "state" only #ifdef _MB_CAPABLE.
* libc/string/wcwidth.c: Include <wctypes.h> for "iswprint" and
"iswcntrl".

12 years ago2011-08-23 Ralf Corsépius <ralf.corsepius@rtems.org>
corsepiu [Tue, 23 Aug 2011 05:51:04 +0000 (05:51 +0000)]
2011-08-23  Ralf Corsépius  <ralf.corsepius@rtems.org>

* libc/sys/rtems/include/limits.h: Compute SSIZE_MAX based on
__SIZE_MAX__, __SIZEOF_SIZE_T__ and __CHAR_BIT__.

12 years ago*** empty log message ***
gdbadmin [Tue, 23 Aug 2011 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***

12 years agodaily update
amodra [Tue, 23 Aug 2011 00:00:05 +0000 (00:00 +0000)]
daily update

12 years ago * picflag.m4: New file.
ro [Mon, 22 Aug 2011 17:51:24 +0000 (17:51 +0000)]
* picflag.m4: New file.

12 years agomerge from gcc
dj [Mon, 22 Aug 2011 17:16:25 +0000 (17:16 +0000)]
merge from gcc

12 years ago2011-08-22 Ralf Corsépius <ralf.corsepius@rtems.org>
corsepiu [Mon, 22 Aug 2011 16:49:33 +0000 (16:49 +0000)]
2011-08-22  Ralf Corsépius <ralf.corsepius@rtems.org>

* libc/string/index.c: Include <strings.h> for "index".
* libc/string/rindex.c: Include <strings.h> for "rindex".
* libc/string/strcasecmp.c: Include <strings.h> for "strcasecmp".
Don't include <string.h>.
* libc/string/strncasecmp.c: Include <strings.h> for "strncasecmp".
Don't include <string.h>.
* libc/string/bzero.c: Include <strings.h> for "bzero".
Don't include <string.h>
* libc/misc/ffs.c: Include <strings.h> for "ffs".
Don't include <_ansi.h>.

12 years ago * ld-powerpc/tocopt4a.s, * ld-powerpc/tocopt4b.s,
amodra [Mon, 22 Aug 2011 14:28:53 +0000 (14:28 +0000)]
* ld-powerpc/tocopt4a.s, * ld-powerpc/tocopt4b.s,
* ld-powerpc/tocopt4.d: New test.
* ld-powerpc/powerpc.exp: Run it.

12 years ago * ldmain.c (add_DT_NEEDED_for_dynamic): Default to FALSE.
matz [Mon, 22 Aug 2011 12:35:09 +0000 (12:35 +0000)]
* ldmain.c (add_DT_NEEDED_for_dynamic): Default to FALSE.
* ld.texinfo (--copy-dt-needed-entries): Mention new default.

12 years agodaily update
amodra [Mon, 22 Aug 2011 00:00:05 +0000 (00:00 +0000)]
daily update

12 years ago*** empty log message ***
gdbadmin [Mon, 22 Aug 2011 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

12 years ago* Makefile.in: Check for header file existence when building dumper.exe too.
cgf [Sun, 21 Aug 2011 19:36:52 +0000 (19:36 +0000)]
* Makefile.in: Check for header file existence when building dumper.exe too.

12 years ago* dtable.cc (conv_start_chars): Remove unneeded section attribute.
cgf [Sun, 21 Aug 2011 18:45:06 +0000 (18:45 +0000)]
* dtable.cc (conv_start_chars): Remove unneeded section attribute.

12 years agogdb/
jkratoch [Sun, 21 Aug 2011 14:33:05 +0000 (14:33 +0000)]
gdb/
Code cleanup.
* breakpoint.c (bpstat_clear_actions): Remove clearing of commands_left.
(command_line_is_silent): New function.
(bpstat_do_actions_1): No longer use commands_left, use
command_line_is_silent for commands.
(bpstat_alloc): Remove clearing of commands_left.
(bpstat_stop_status): Remove initialization of commands_left, use
command_line_is_silent.
* breakpoint.h (struct bpstats): Remove commands_left.

12 years ago* include/paths.h (_PATH_MAILDIR): Define.
yselkowitz [Sun, 21 Aug 2011 03:22:29 +0000 (03:22 +0000)]
* include/paths.h (_PATH_MAILDIR): Define.
(_PATH_SHELLS): Define.

12 years ago*** empty log message ***
gdbadmin [Sun, 21 Aug 2011 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

12 years agodaily update
amodra [Sun, 21 Aug 2011 00:00:05 +0000 (00:00 +0000)]
daily update

12 years ago * fhandler_process.cc (format_process_maps): Define page protection
corinna [Sat, 20 Aug 2011 18:55:44 +0000 (18:55 +0000)]
* fhandler_process.cc (format_process_maps): Define page protection
shortcuts RO, X, and WC.  Use in creating access flag string.  Don't
set type flag to 's' for copy-on-write pages, as on Linux.

12 years ago2011-08-19 Ralf Corsépius <ralf.corsepius@rtems.org>
corsepiu [Sat, 20 Aug 2011 05:34:21 +0000 (05:34 +0000)]
2011-08-19  Ralf Corsépius <ralf.corsepius@rtems.org>

* libc/sys/rtems/crt0.c: Rework RTEMS_STUB macro.
Include <unistd.h>.
Remove C++-style comments.
Remove hppa, a29k.
Add clock_gettime, gettimeofday, sched_yield.

12 years ago2011-08-20 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
ironhead [Sat, 20 Aug 2011 05:00:11 +0000 (05:00 +0000)]
2011-08-20 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>

        * include/_mingw.h: Increment version to 3.19.

12 years ago2011-08-19 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
ironhead [Sat, 20 Aug 2011 04:12:22 +0000 (04:12 +0000)]
2011-08-19  Chris Sutcliffe  <ir0nh34d@users.sourceforge.net>

        * include/float.h: Modify guard to accomodate CLang.

        Thanks to Ruben Van Boxem for the report.

12 years ago2011-08-19 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
ironhead [Sat, 20 Aug 2011 04:11:27 +0000 (04:11 +0000)]
2011-08-19  Chris Sutcliffe  <ir0nh34d@users.sourceforge.net>

        * tlssup.c: Remove mingwm10.dll fallback.

12 years ago2011-08-19 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
ironhead [Sat, 20 Aug 2011 01:38:15 +0000 (01:38 +0000)]
2011-08-19  Chris Sutcliffe  <ir0nh34d@users.sourceforge.net>

        * include/sys/types.h (ssize_t): Defined as int as opposed to long.

        Thanks to bvassche for the report.

12 years agodaily update
amodra [Sat, 20 Aug 2011 00:00:05 +0000 (00:00 +0000)]
daily update

12 years ago*** empty log message ***
gdbadmin [Sat, 20 Aug 2011 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

12 years ago* new-features.sgml (ov-new1.7.10): Document /proc/devices
yselkowitz [Fri, 19 Aug 2011 20:06:28 +0000 (20:06 +0000)]
* new-features.sgml (ov-new1.7.10): Document /proc/devices
and /proc/misc.

12 years ago* devices.h (fh_devices): Define DEV_MISC_MAJOR, DEV_MEM_MAJOR,
yselkowitz [Fri, 19 Aug 2011 20:05:12 +0000 (20:05 +0000)]
* devices.h (fh_devices): Define DEV_MISC_MAJOR, DEV_MEM_MAJOR,
DEV_SOUND_MAJOR.  Use throughout.
* fhandler_proc.cc (proc_tab): Add /proc/devices and /proc/misc
virtual files.
(format_proc_devices): New function.
(format_proc_misc): New function.

12 years agoUpdate AVX tests.
hjl [Fri, 19 Aug 2011 19:27:52 +0000 (19:27 +0000)]
Update AVX tests.

2011-08-19  Sergey A. Guriev  <sergeya.a.guriev@intel.com>

* gas/i386/avx-gather-intel.d: Added missing vpgather tests.
* gas/i386/avx-gather.d: Likewise.
* gas/i386/x86-64-avx-gather-intel.d: Likewise.
* gas/i386/x86-64-avx-gather.d: Likewise.

* gas/i386/avx-intel.d: Added missing vpinsrd and removed
duplicated vpinsrb instructions.
* gas/i386/avx.d: Likewise.
* gas/i386/avx.s: Likewise.
* gas/i386/ilp32/x86-64-avx-intel.d: Likewise.
* gas/i386/ilp32/x86-64-avx.d: Likewise.
* gas/i386/x86-64-avx-intel.d: Likewise.
* gas/i386/x86-64-avx.d: Likewise.
* gas/i386/x86-64-avx.s: Likewise.

12 years ago* dtable.cc: Mark some const variables as static.
cgf [Fri, 19 Aug 2011 18:19:20 +0000 (18:19 +0000)]
* dtable.cc: Mark some const variables as static.
* environ.cc (conv_start_chars): Move to shared cygwin region and initialize at
compile time.
(match_first_char): New generic function for querying conv_start_chars.
(posify_maybe): Rename from posify.
(environ_init): Remove conv_envvars initialization.  Don't check
conv_start_chars, just allow posify_maybe to make the decision.
* fhandler_console.cc (__vt100_conv): Fix formatting.  Mark as const.

12 years ago2011-08-19 Ralf Corsépius <ralf.corsepius@rtems.org>
corsepiu [Fri, 19 Aug 2011 17:00:32 +0000 (17:00 +0000)]
2011-08-19  Ralf Corsépius <ralf.corsepius@rtems.org>

* libc/stdio/vasiprintf.c: Include "local.h" for "_svfiprintf_r".
* libc/stdio/vasprintf.c Include "local.h" for "_svfprintf_r".
* libc/stdio/vsiprintf.c: Include "local.h" for "_svfiprintf_r".
* libc/stdio/vsniprintf.c: Include "local.h" for "_svfiprintf_r".
* libc/stdio/vsnprintf.c: Include "local.h" for "_svfprintf_r"
* libc/stdio/vsprintf.c: Include "local.h" for "_svfprintf_r"

12 years ago2011-08-19 Ralf Corsépius <ralf.corsepius@rtems.org>
corsepiu [Fri, 19 Aug 2011 16:58:20 +0000 (16:58 +0000)]
2011-08-19  Ralf Corsépius <ralf.corsepius@rtems.org>

* libc/string/bcmp.c: Include <strings.h> for "bcmp".
* libc/string/bcopy.c: Include <strings.h> for "bcopy".
* libc/string/strcasestr.c: Include <strings.h> for "strncasecmp".
* libc/time/strptime.c: Include <strings.h> for "strncasecmp".

12 years agoInclude the <root>/cpu/ dir in GDB releases
brobecke [Fri, 19 Aug 2011 15:48:36 +0000 (15:48 +0000)]
Include the <root>/cpu/ dir in GDB releases

This directory contains some files that are used to generate some
of the files included in the GDB release, and thus must be part of
the GDB release also.

ChangeLog:

        * src-release (GDB_SUPPORT_DIRS): Add 'cpu'.

12 years ago * iq2000/sim.ld (.gcc_except_table): Include .gcc_except_table.foo
nickc [Fri, 19 Aug 2011 14:57:50 +0000 (14:57 +0000)]
* iq2000/sim.ld (.gcc_except_table): Include .gcc_except_table.foo
sections as well.

12 years ago * doc/as.texinfo: Include c-xstormy16.texi.
nickc [Fri, 19 Aug 2011 14:48:40 +0000 (14:48 +0000)]
* doc/as.texinfo: Include c-xstormy16.texi.

12 years ago * libc/include/process.h: Remove exec family function declarations.
corinna [Fri, 19 Aug 2011 14:29:33 +0000 (14:29 +0000)]
* libc/include/process.h: Remove exec family function declarations.
Add comment.
* libc/include/sys/unistd.h (execlpe): Declare for Cygwin.

12 years ago * libc/time/mktime.c (validate_structure): Account for tm_mon possibly
corinna [Fri, 19 Aug 2011 14:14:17 +0000 (14:14 +0000)]
* libc/time/mktime.c (validate_structure): Account for tm_mon possibly
being given as negative.
(mktime): Set tm_isdst=0 when !daylight.

12 years ago * fhandler_console.cc (fhandler_console::read): Recognize backspace key
corinna [Fri, 19 Aug 2011 13:10:00 +0000 (13:10 +0000)]
* fhandler_console.cc (fhandler_console::read): Recognize backspace key
using the device independent key code, rather than the device dependent
scan code.

12 years ago * include/winuser.h: Ad missing MAPVK_xxx definitions.
corinna [Fri, 19 Aug 2011 11:58:04 +0000 (11:58 +0000)]
* include/winuser.h: Ad missing MAPVK_xxx definitions.

12 years ago * elf64-ppc.c (ppc64_elf_edit_toc): Ignore can_optimize bit if
amodra [Fri, 19 Aug 2011 08:12:02 +0000 (08:12 +0000)]
* elf64-ppc.c (ppc64_elf_edit_toc): Ignore can_optimize bit if
we haven't seen expected -mcmodel=medium/large code relocs.

12 years ago* sysv_shm.cc (ACCESSPERMS): Remove to fix redefined warning, as
yselkowitz [Fri, 19 Aug 2011 01:41:49 +0000 (01:41 +0000)]
* sysv_shm.cc (ACCESSPERMS): Remove to fix redefined warning, as
this is now defined in <sys/stat.h>.

12 years ago*** empty log message ***
gdbadmin [Fri, 19 Aug 2011 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

12 years agodaily update
amodra [Fri, 19 Aug 2011 00:00:06 +0000 (00:00 +0000)]
daily update

12 years ago * gdb.cp/meth-typedefs.cc: New file.
kseitz [Thu, 18 Aug 2011 16:19:00 +0000 (16:19 +0000)]
* gdb.cp/meth-typedefs.cc: New file.
* gdb.cp/meth-typedefs.exp: New file.

12 years ago PR c++/12266
kseitz [Thu, 18 Aug 2011 16:17:31 +0000 (16:17 +0000)]
PR c++/12266
* cp-name-parser.y (struct demangle_info): Remove unused
member PREV.
(d_grab): Likewise.
(allocate_info): Change return type to struct demangle_info *.
Always allocate a new demangle_info.
Remove unused PREV pointer.
(cp_new_demangle_parse_info): New function.
(cp_demangled_name_parse_free): New function.
(do_demangled_name_parse_free_cleanup): New function.
(make_cleanup_cp_demangled_name_parse_free): New function.
(cp_demangled_name_to_comp): Change return type to
struct demangle_parse_info *.
Allocate a new storage for each call.
(main): Update usage for cp_demangled_name_to_comp
API change.
* cp-support.h (struct demangle_parse_info): New structure.
(cp_demangled_name_to_comp): Update API change for
return type.
(cp_new_demangle_parse_info): Declare.
(make_cleanup_cp_demangled_name_parse_free): New declaration.
(cp_demangled_name_parse_free): Declare.
* cp-support.c (cp_canonicalize_string): Update API
change for cp_demangled_name_to_comp.
(mangled_name_to_comp): Likewise.
Return struct demangle_parse_info, too.
(cp_class_name_from_physname): Update mangled_name_to_comp
API change.
(method_name_from_physname): Likewise.
(cp_func_name): Update API change for cp_demangled_name_to_comp.
(cp_remove_params): Likewise.
* python/py-type.c (typy_legacy_template_argument): Likewise.

* cp-support.h (cp_canonicalize_string_no_typedefs): Declare.
(cp_merge_demangle_parse_infos): Declare.
* cp-support.c (ignore_typedefs): New file global.
(copy_string_to_obstack): New function.
(inspect_type): New function.
(replace_typedefs): New function.
(replace_typedefs_qualified_name): New function.
(cp_canonicalize_string_no_typedefs): New function.
* cp-name-parser.y (cp_merge_demangle_parse_infos): New function.
(cp_new_demangle__parse_info): Allocate and initialize the obstack.
* linespec.c (find_methods): Use cp_canonicalize_string_no_typedefs
instead of cp_canonicalize_string.
(find_method): Likewise.
(decode_compound): Before looking up the name, call
cp_canonicalize_string_no_typedefs.
(decode_variable): Likewise.

12 years ago* dcrt0.cc (dll_crt0_0): Remove unneeded __stdcall decoration.
cgf [Thu, 18 Aug 2011 15:59:15 +0000 (15:59 +0000)]
* dcrt0.cc (dll_crt0_0): Remove unneeded __stdcall decoration.
* init.cc: Reflect change to dll_crt0_0 in declaration.

12 years ago * write.c (resolve_reloc_expr_symbols): Convert local symbols
amodra [Thu, 18 Aug 2011 14:10:34 +0000 (14:10 +0000)]
* write.c (resolve_reloc_expr_symbols): Convert local symbols
on relocs to section+offset.
(get_frag_for_reloc): New function.
(write_relocs): Merge sort fixup relocs with those from .reloc
directives.

12 years ago2011-08-18 Tristan Gingold <gingold@adacore.com>
gingold [Thu, 18 Aug 2011 09:28:41 +0000 (09:28 +0000)]
2011-08-18  Tristan Gingold  <gingold@adacore.com>

* mach-o.c (bfd_mach_o_read_segment): Initialize list.

12 years ago * dtable.cc (dtable::get_debugger_info): Add missing braces.
corinna [Thu, 18 Aug 2011 09:16:49 +0000 (09:16 +0000)]
* dtable.cc (dtable::get_debugger_info): Add missing braces.
(dtable::stdio_init): Fix incorrect negation of not_open(2) condition.