OSDN Git Service
luisgpm [Wed, 24 Aug 2011 12:07:20 +0000 (12:07 +0000)]
Move common linux procfs code to common/
teawater [Wed, 24 Aug 2011 09:28:42 +0000 (09:28 +0000)]
Fix a change log format issue.
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.
gdbadmin [Wed, 24 Aug 2011 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***
amodra [Wed, 24 Aug 2011 00:00:05 +0000 (00:00 +0000)]
daily update
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.
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.
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.
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.
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.
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".
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>".
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".
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__.
gdbadmin [Tue, 23 Aug 2011 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***
amodra [Tue, 23 Aug 2011 00:00:05 +0000 (00:00 +0000)]
daily update
ro [Mon, 22 Aug 2011 17:51:24 +0000 (17:51 +0000)]
* picflag.m4: New file.
dj [Mon, 22 Aug 2011 17:16:25 +0000 (17:16 +0000)]
merge from gcc
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>.
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.
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.
amodra [Mon, 22 Aug 2011 00:00:05 +0000 (00:00 +0000)]
daily update
gdbadmin [Mon, 22 Aug 2011 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***
cgf [Sun, 21 Aug 2011 19:36:52 +0000 (19:36 +0000)]
* Makefile.in: Check for header file existence when building dumper.exe too.
cgf [Sun, 21 Aug 2011 18:45:06 +0000 (18:45 +0000)]
* dtable.cc (conv_start_chars): Remove unneeded section attribute.
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.
yselkowitz [Sun, 21 Aug 2011 03:22:29 +0000 (03:22 +0000)]
* include/paths.h (_PATH_MAILDIR): Define.
(_PATH_SHELLS): Define.
gdbadmin [Sun, 21 Aug 2011 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***
amodra [Sun, 21 Aug 2011 00:00:05 +0000 (00:00 +0000)]
daily update
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.
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.
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.
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.
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.
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.
amodra [Sat, 20 Aug 2011 00:00:05 +0000 (00:00 +0000)]
daily update
gdbadmin [Sat, 20 Aug 2011 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***
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.
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.
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.
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.
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"
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".
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'.
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.
nickc [Fri, 19 Aug 2011 14:48:40 +0000 (14:48 +0000)]
* doc/as.texinfo: Include c-xstormy16.texi.
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.
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.
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.
corinna [Fri, 19 Aug 2011 11:58:04 +0000 (11:58 +0000)]
* include/winuser.h: Ad missing MAPVK_xxx definitions.
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.
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>.
gdbadmin [Fri, 19 Aug 2011 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***
amodra [Fri, 19 Aug 2011 00:00:06 +0000 (00:00 +0000)]
daily update
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.
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.
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.
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.
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.
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.
gdbadmin [Thu, 18 Aug 2011 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***
amodra [Thu, 18 Aug 2011 00:00:05 +0000 (00:00 +0000)]
daily update
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.
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.
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.
gdbadmin [Wed, 17 Aug 2011 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***
amodra [Wed, 17 Aug 2011 00:00:05 +0000 (00:00 +0000)]
daily update
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.
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.
corinna [Tue, 16 Aug 2011 14:51:06 +0000 (14:51 +0000)]
* new-features.sgml (ov-new1.7.10): Document new RTLD flags.
corinna [Tue, 16 Aug 2011 14:48:38 +0000 (14:48 +0000)]
* include/cygwin/version.h (CYGWIN_VERSION_API_MINOR): Bump.
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.
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 ...
amodra [Tue, 16 Aug 2011 00:00:05 +0000 (00:00 +0000)]
daily update
gdbadmin [Tue, 16 Aug 2011 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***
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.
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.
amodra [Mon, 15 Aug 2011 00:00:05 +0000 (00:00 +0000)]
daily update
gdbadmin [Mon, 15 Aug 2011 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***
qiyao [Sun, 14 Aug 2011 16:17:07 +0000 (16:17 +0000)]
gdb/
* NEWS: New port to Texas Instruments TMS320C6x.
qiyao [Sun, 14 Aug 2011 16:06:59 +0000 (16:06 +0000)]
gdb/gdbserver/
* target.h (struct target_ops): Fix indent.
* win32-low.c (win32_target_ops): Fix comment.
qiyao [Sun, 14 Aug 2011 15:58:39 +0000 (15:58 +0000)]
gdb/testsuite/
* gdb.base/maint.exp: set data_section to ".neardata".
* gdb.base/savedregs.c (thrower): Trigger SIGILL on NO-MMU machine.
* gdb.base/savedregs.exp: Handle SIGILL.
* gdb.mi/mi-syn-frame.c (bar): Trigger SIGILL on NO-MMU machine.
* gdb.xml/tdesc-regs.exp: Set core-regs for tic6x-*-*.
qiyao [Sun, 14 Aug 2011 15:25:45 +0000 (15:25 +0000)]
gdb/gdbserver/
* Makefile.in (clean): Remove tic6x-*.c files.
(linux-tic6x-low.o, tic6x-c62x-linux.o, tic6x-c64x-linux.o): New rules.
(tic6x-c64xp-linux.o, tic6x-c62x-linux.c, tic6x-c64x-linux.c): Likewise.
(tic6x-c64xp-linux.c): Likewise.
* configure.srv: Add support for tic6x-*-uclinux.
* linux-tic6x-low.c: New.
* linux-low.c (PT_TEXT_ADDR, PT_DATA_ADDR, PT_TEXT_END_ADDR): Define.
qiyao [Sun, 14 Aug 2011 14:03:42 +0000 (14:03 +0000)]
gdb/
* configure.tgt: Handle tic6x-*-*linux and tic6x-*-*.
* solib-dsbt.c: New file. Support DSBT shared object.
* tic6x-linux-tdep.c: New file.
* tic6x-tdep.c: New file.
* tic6x-tdep.h: New file.
qiyao [Sun, 14 Aug 2011 13:03:11 +0000 (13:03 +0000)]
gdb/
* remote.c (PACKET_qXfer_fdpic): New enum value.
(remote_protocol_features): Add qXfer:fdpic:read packet.
(remote_xfer_partial): Support TARGET_OBJECT_FDPIC.
(_initialize_remote): Add set/show remote read-fdpic-loadmap command.
* target.h (enum target_object): Add TARGET_OBJECT_FDPIC.
gdb/gdbserver:
* target.h (struct target_ops): Add read_loadmap.
* linux-low.c (struct target_loadseg): New type.
(struct target_loadmap): New type.
(linux_read_loadmap): New function.
(linux_target_ops): Add linux_read_loadmap.
* server.c (handle_query): Support qXfer:fdpic:read packet.
* win32-low.c (win32_target_ops): Initialize field `read_loadmap' to NULL.
gdb/doc/
* gdb.texinfo : Document qXfer:fdpic:read packet.
qiyao [Sun, 14 Aug 2011 12:50:13 +0000 (12:50 +0000)]
Add files missed in previous commit.
qiyao [Sun, 14 Aug 2011 12:43:35 +0000 (12:43 +0000)]
gdb/doc/
* gdb.texinfo (Standard Target Features): Document C6x features.
(TIC6x Features): New node.
gdb/
* features/Makefile (WHICH): Add tic6x-c64xp tic6x-c64x tic6x-c62x
tic6x-c64xp-linux tic6x-c64x-linux and tic6x-c62x-linux.
* features/tic6x-c6xp.xml, features/tic6x-core.xml: New.
* features/tic6x-gp.xml, features/tic6x-c62x.xml: New.
* features/tic6x-c64x.xml, features/tic6x-c64xp.xml: New.
* features/tic6x-c62x-linux.xml, features/tic6x-c64x-linux.xml: New.
* features/tic6x-c64xp-linux.xml: New.
* features/tic6x-c64xp.c, features/tic6x-c64x.c: Generated.
* features/tic6x-c62x.c, features/tic6x-c64xp-linux.c: Generated.
* features/tic6x-c64x-linux.c, features/tic6x-c62x-linux.c: Generated.
* regformats/tic6x-c62x.dat, regformats/tic6x-c64x.dat: Generated.
* regformats/tic6x-c64xp.dat, regformats/tic6x-c62x-linux.dat: Generated.
* regformats/tic6x-c64x-linux.dat, regformats/tic6x-c64xp-linux.dat: Generated.
* config/djgpp/fnchange.lst: Add features/tic6x-*.xml and
features/tic6x-*.c files.
Add regformats/tic6x-*.dat files.
qiyao [Sun, 14 Aug 2011 12:28:15 +0000 (12:28 +0000)]
Merge from gcc:
2011-08-14 Yao Qi <yao@codesourcery.com>
* configure.ac (tic6x-*-*): Remove gdb from noconfigdirs.
* configure: Regenerate.
amodra [Sun, 14 Aug 2011 09:17:16 +0000 (09:17 +0000)]
* elf32-ppc.c (ppc_elf_select_plt_layout): Force bss-plt when
shared and call to _mcount will go via plt.
amodra [Sun, 14 Aug 2011 08:11:50 +0000 (08:11 +0000)]
* elf64-ppc.c: Prefix all einfo error strings with "%P: ".
* elf32-ppc.c: Likewise.
(ppc_elf_select_plt_layout): Use einfo rather than info to report
forced bss-plt.
gdbadmin [Sun, 14 Aug 2011 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***
amodra [Sun, 14 Aug 2011 00:00:05 +0000 (00:00 +0000)]
daily update
corinna [Sat, 13 Aug 2011 10:28:15 +0000 (10:28 +0000)]
* miscfuncs.cc (CreatePipeOverlapped): New function.
(ReadPipeOverlapped): Ditto.
(WritePipeOverlapped): Ditto.
* miscfuncs.h: Declare new functions.
* pinfo.cc (commune_process): Call WritePipeOverlapped instead of
WriteFile. Set timeout to 1 sec.
(_pinfo::commune_request): Call ReadPipeOverlapped instead of ReadFile.
Set timeout to 0.5 secs.
* sigproc.cc (sig_send): Create pipe using CreatePipeOverlapped.
gdbadmin [Sat, 13 Aug 2011 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***
amodra [Sat, 13 Aug 2011 00:00:06 +0000 (00:00 +0000)]
daily update
devans [Fri, 12 Aug 2011 22:21:50 +0000 (22:21 +0000)]
* NEWS: Mention new "type" attribute of python gdb.Symbol objects.
* python/py-symbol.c (sympy_get_type): New function.
(symbol_object_getset): Add "type".
doc/
* gdb.texinfo (Symbols In Python): Document symbol.type.
testsuite/
* gdb.python/py-symbol.exp: Add test for symbol.type.
hjl [Fri, 12 Aug 2011 20:33:33 +0000 (20:33 +0000)]
Add R_X86_64_RELATIVE64.
2011-08-12 H.J. Lu <hongjiu.lu@intel.com>
PR ld/13082
* x86-64.h (R_X86_64_RELATIVE64): New.
hjl [Fri, 12 Aug 2011 19:42:38 +0000 (19:42 +0000)]
Add R_X86_64_RELATIVE64 and handle R_X86_64_64 for x32.
bfd/
2011-08-12 H.J. Lu <hongjiu.lu@intel.com>
PR ld/13082
* elf64-x86-64.c (x86_64_elf_howto_table): Add R_X86_64_RELATIVE64.
(elf_x86_64_relocate_section): Treat R_X86_64_64 like R_X86_64_32
and zero-extend it to 64bit if addend is zero for x32. Generate
R_X86_64_RELATIVE64 for x32.
include/elf/
2011-08-12 H.J. Lu <hongjiu.lu@intel.com>
PR ld/13082
* x86-64.h (R_X86_64_RELATIVE64): New.
ld/testsuite/
2011-08-12 H.J. Lu <hongjiu.lu@intel.com>
PR ld/13082
* ld-x86-64/pr13082-1.s: New.
* ld-x86-64/pr13082-1a.d: Likewise.
* ld-x86-64/pr13082-1b.d: Likewise.
* ld-x86-64/pr13082-2.s: Likewise.
* ld-x86-64/pr13082-2a.d: Likewise.
* ld-x86-64/pr13082-2b.d: Likewise.
* ld-x86-64/pr13082-3.s: Likewise.
* ld-x86-64/pr13082-3a.d: Likewise.
* ld-x86-64/pr13082-3b.d: Likewise.
* ld-x86-64/pr13082-4.s: Likewise.
* ld-x86-64/pr13082-4a.d: Likewise.
* ld-x86-64/pr13082-4b.d: Likewise.
* ld-x86-64/pr13082-5.s: Likewise.
* ld-x86-64/pr13082-5a.d: Likewise.
* ld-x86-64/pr13082-5b.d: Likewise.
* ld-x86-64/pr13082-6.s: Likewise.
* ld-x86-64/pr13082-6a.d: Likewise.
* ld-x86-64/pr13082-6b.d: Likewise.
* ld-x86-64/x86-64.exp: Run pr13082-[1-6][ab].
dj [Fri, 12 Aug 2011 18:44:43 +0000 (18:44 +0000)]
merge from gcc
palves [Fri, 12 Aug 2011 17:04:31 +0000 (17:04 +0000)]
2011-08-12 Pedro Alves <pedro@codesourcery.com>
PR tui/13073
gdb/
* tui/tui-regs.c (tui_show_register_group): Skip registers with an
empty name.
(tui_show_register_group): Don't store a byte buffer in the data
element's value.
(tui_register_format): Skip registers with an empty name.
(tui_get_register): Store a struct value in the data element's
value field instead of a byte buffer holding the raw register
contents. Account for optimized-out and unavailable registers
when comparing register contents.