OSDN Git Service

pf3gnuchains/pf3gnuchains4x.git
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.

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

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

12 years ago2011-08-17 Phil Muldoon <pmuldoon@redhat.com>
pmuldoon [Wed, 17 Aug 2011 10:41:18 +0000 (10:41 +0000)]
2011-08-17  Phil Muldoon  <pmuldoon@redhat.com>
            Tom Tromey  <tromey@redhat.com>
            Matt Rice <ratmice@gmail.com>

        * python/lib/gdb/prompt.py: New file.
        * python/lib/gdb/command/prompt.py: New file.
        * NEWS: Document set extended-prompt and gdb.prompt library

2011-08-17  Phil Muldoon  <pmuldoon@redhat.com>

        * gdb.texinfo (Prompt): Add set/show extended-prompt
        documentation
        (Basic Python): Add prompt_hook anchor.
        (Python modules): Reword module text to reflect multiple modules.
        (gdb.prompt): Document gdb.prompt module.

2011-08-17  Phil Muldoon  <pmuldoon@redhat.com>

        * gdb.python/python.exp: Add extended-prompt tests.

12 years ago2011-08-17 Tristan Gingold <gingold@adacore.com>
gingold [Wed, 17 Aug 2011 10:17:38 +0000 (10:17 +0000)]
2011-08-17  Tristan Gingold  <gingold@adacore.com>

* mach-o.c (bfd_mach_o_write_section_32): Fix typo.

12 years ago PR ld/12762
amodra [Wed, 17 Aug 2011 00:39:37 +0000 (00:39 +0000)]
PR ld/12762
bfd/
* bfd-in.h (struct bfd_section_already_linked): Forward declare.
(_bfd_handle_already_linked): Declare.
* coff-alpha.c (_bfd_ecoff_section_already_linked): Define as
_bfd_coff_section_already_linked.
* coff-mips.c (_bfd_ecoff_section_already_linked): Likewise.
* coffcode.h (coff_section_already_linked): Likewise.
* cofflink.c (coff_link_add_symbols): Revert 2011-07-09 changes.
* elf-bfd.h: Likewise.
* libbfd-in.h: Likewise.
* targets.c: Likewise.
* linker.c (bfd_section_already_linked): Likewise.
(bfd_section_already_linked_table_lookup): Likewise.
(bfd_section_already_linked_table_insert): Likewise.
(_bfd_generic_section_already_linked): Likewise.  Call
_bfd_handle_already_linked.
(_bfd_handle_already_linked): New function, split out from..
* elflink.c (_bfd_elf_section_already_linked): ..here.  Revert
2011-07-09 changes.  Avoid unnecessary strcmp when matching
already_linked_list entries.  Match plugin linkonce section.
(section_signature): Delete.
* coffgen.c (_bfd_coff_section_already_linked): New function.
* libcoff-in.h (_bfd_coff_section_already_linked): Declare.
* libbfd.h: Regenerate.
* libcoff.h: Regenerate.
* bfd-in2.h: Regenerate.
ld/
* ldlang.c (section_already_linked): Revert 2011-07-09 changes.
* plugin.c: Likewise.
(asymbol_from_plugin_symbol): Create linkonce section for syms
with comdat_key.

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

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

12 years ago2011-08-16 Pierre Humblet <Pierre.Humblet@ieee.org>
phumblet [Tue, 16 Aug 2011 23:32:18 +0000 (23:32 +0000)]
2011-08-16  Pierre Humblet <Pierre.Humblet@ieee.org>

        * net.cc (gethostby_helper): Remove DEBUGGING code from and
        streamline the second pass.

12 years ago * dlfcn.cc (dlopen): Reimplement RTLD_NODELETE for Windows 2000 using
corinna [Tue, 16 Aug 2011 20:08:33 +0000 (20:08 +0000)]
* dlfcn.cc (dlopen): Reimplement RTLD_NODELETE for Windows 2000 using
internal datastructures.  Explain the code.
* ntdll.h (struct _LDR_DATA_TABLE_ENTRY): Define.
(struct _PEB_LDR_DATA): Define.
(struct _PEB): Change PVOID LoaderData to PPEB_LDR_DATA Ldr.

* fhandler_process.cc (format_process_maps): Call NtQueryVirtualMemory
with valid return length pointer.  Explain why.

12 years ago * new-features.sgml (ov-new1.7.10): Document new RTLD flags.
corinna [Tue, 16 Aug 2011 14:51:06 +0000 (14:51 +0000)]
* new-features.sgml (ov-new1.7.10): Document new RTLD flags.

12 years ago * include/cygwin/version.h (CYGWIN_VERSION_API_MINOR): Bump.
corinna [Tue, 16 Aug 2011 14:48:38 +0000 (14:48 +0000)]
* include/cygwin/version.h (CYGWIN_VERSION_API_MINOR): Bump.

12 years ago * autoload.cc (GetModuleHandleExW): Define.
corinna [Tue, 16 Aug 2011 14:44:25 +0000 (14:44 +0000)]
* autoload.cc (GetModuleHandleExW): Define.
* dlfcn.cc: Throughout mark exported symbols as extern "C".
(dlopen): Unignore flags argument.  Define ret to NULL.  Fix typo in
comment.  Support Glibc flags RTLD_NOLOAD and RTLD_NODELETE.
* include/dlfcn.h:  Clean up comments.
(RTLD_NODELETE): Define.
(RTLD_NOLOAD): Define.
(RTLD_DEEPBIND): Define.

12 years agogdb/
qiyao [Tue, 16 Aug 2011 04:15:16 +0000 (04:15 +0000)]
gdb/

* tic6x-linux-tdep.c: Move const arrays definition from here...
* tic6x-tdep.c: to here ...

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

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

12 years ago * pipe.cc (pipe): Just call _pipe with O_BINARY mode. Move code to
corinna [Mon, 15 Aug 2011 16:05:10 +0000 (16:05 +0000)]
* pipe.cc (pipe): Just call _pipe with O_BINARY mode.  Move code to
generate normalized pathnames from here...
(_pipe): ...to here.

12 years agogdb/testsuite/
jkratoch [Mon, 15 Aug 2011 07:56:20 +0000 (07:56 +0000)]
gdb/testsuite/
* gdb.arch/i386-dr3-watch.exp
(watchpoint on gap1 does not fit debug registers)
(delete all watchpoints): Fix racy expect strings.