Cary Coutant [Mon, 29 Aug 2011 18:22:30 +0000 (18:22 +0000)]
* output.cc: (Output_fill_debug_info::do_minimum_hole_size): Add
casts to match formatting specs.
(Output_fill_debug_line::do_minimum_hole_size): Likewise.
Jan Kratochvil [Mon, 29 Aug 2011 16:55:16 +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.
gdbadmin [Mon, 29 Aug 2011 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***
Jan Kratochvil [Sun, 28 Aug 2011 20:43:43 +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.
Jan Kratochvil [Sun, 28 Aug 2011 20:39:29 +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.
Alan Modra [Sun, 28 Aug 2011 00:00:06 +0000 (00:00 +0000)]
daily update
gdbadmin [Sun, 28 Aug 2011 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***
matt rice [Sat, 27 Aug 2011 10:28:31 +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.
Cary Coutant [Sat, 27 Aug 2011 01:28:18 +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.
Alan Modra [Sat, 27 Aug 2011 00:00:05 +0000 (00:00 +0000)]
daily update
gdbadmin [Sat, 27 Aug 2011 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***
Jan Kratochvil [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.
Jan Kratochvil [Fri, 26 Aug 2011 21:45:24 +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.
Jan Kratochvil [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.
Pedro Alves [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.
Pedro Alves [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.
Pedro Alves [Fri, 26 Aug 2011 18:58:04 +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.
Aleksandar Ristovski [Fri, 26 Aug 2011 17:58:57 +0000 (17:58 +0000)]
* linespec.c (symtab_from_filename): Check for the end of string.
Nick Clifton [Fri, 26 Aug 2011 15:15:52 +0000 (15:15 +0000)]
Updated Spanish translations.
Tristan Gingold [Fri, 26 Aug 2011 13:37:28 +0000 (13:37 +0000)]
2011-08-26 Tristan Gingold <gingold@adacore.com>
* config/tc-alpha.c (s_alpha_linkage): Simplify. Add comments.
Tristan 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.
Nick Clifton [Fri, 26 Aug 2011 12:48:08 +0000 (12:48 +0000)]
* NEWS: Mention that --no-copy-dt-needed-entries is now the
default.
Marc Khouzam [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.
Jan Kratochvil [Fri, 26 Aug 2011 09:28:27 +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.
Jan Kratochvil [Fri, 26 Aug 2011 09:20:44 +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.
Alan Modra [Fri, 26 Aug 2011 00:00:05 +0000 (00:00 +0000)]
daily update
gdbadmin [Fri, 26 Aug 2011 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***
Tom Tromey [Thu, 25 Aug 2011 17:59:49 +0000 (17:59 +0000)]
2011-08-25 Andrew Oakley <andrew@ado.is-a-geek.net>
* gdb.texinfo (Types In Python): Document 'bitpos' for enums.
Alan Modra [Thu, 25 Aug 2011 00:00:05 +0000 (00:00 +0000)]
daily update
gdbadmin [Thu, 25 Aug 2011 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***
Luis Machado [Wed, 24 Aug 2011 12:17:39 +0000 (12:17 +0000)]
Stop threads when attaching to a PID that is the tgid.
Luis Machado [Wed, 24 Aug 2011 12:07:28 +0000 (12:07 +0000)]
Move common linux procfs code to common/
Hui Zhu [Wed, 24 Aug 2011 09:28:42 +0000 (09:28 +0000)]
Fix a change log format issue.
Hui Zhu [Wed, 24 Aug 2011 09:24:10 +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 ***
Alan Modra [Wed, 24 Aug 2011 00:00:05 +0000 (00:00 +0000)]
daily update
Jan Kratochvil [Tue, 23 Aug 2011 19:40:50 +0000 (19:40 +0000)]
gdb/
Fix build error in Darwin port.
* darwin-nat-info.c (darwin_debug_regions_recurse): New variable uiout.
gdbadmin [Tue, 23 Aug 2011 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Tue, 23 Aug 2011 00:00:05 +0000 (00:00 +0000)]
daily update
Rainer Orth [Mon, 22 Aug 2011 17:51:24 +0000 (17:51 +0000)]
* picflag.m4: New file.
DJ Delorie [Mon, 22 Aug 2011 17:16:25 +0000 (17:16 +0000)]
merge from gcc
Nick Clifton [Mon, 22 Aug 2011 15:25:07 +0000 (15:25 +0000)]
Move cpu files from cgen/cpu to top level cpu directory.
Alan Modra [Mon, 22 Aug 2011 14:28:54 +0000 (14:28 +0000)]
* ld-powerpc/tocopt4a.s, * ld-powerpc/tocopt4b.s,
* ld-powerpc/tocopt4.d: New test.
* ld-powerpc/powerpc.exp: Run it.
Michael Matz [Mon, 22 Aug 2011 12:35:10 +0000 (12:35 +0000)]
* ldmain.c (add_DT_NEEDED_for_dynamic): Default to FALSE.
* ld.texinfo (--copy-dt-needed-entries): Mention new default.
Alan Modra [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 ***
Jan Kratochvil [Sun, 21 Aug 2011 14:33:07 +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.
gdbadmin [Sun, 21 Aug 2011 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Sun, 21 Aug 2011 00:00:05 +0000 (00:00 +0000)]
daily update
Alan Modra [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 ***
H.J. Lu [Fri, 19 Aug 2011 19:27:53 +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.
Joel Brobecker [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'.
Nick Clifton [Fri, 19 Aug 2011 14:48:40 +0000 (14:48 +0000)]
* doc/as.texinfo: Include c-xstormy16.texi.
Alan Modra [Fri, 19 Aug 2011 08:12:08 +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.
gdbadmin [Fri, 19 Aug 2011 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Fri, 19 Aug 2011 00:00:06 +0000 (00:00 +0000)]
daily update
Keith Seitz [Thu, 18 Aug 2011 16:19:01 +0000 (16:19 +0000)]
* gdb.cp/meth-typedefs.cc: New file.
* gdb.cp/meth-typedefs.exp: New file.
Keith Seitz [Thu, 18 Aug 2011 16:17:39 +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.
Alan Modra [Thu, 18 Aug 2011 14:10:35 +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.
Tristan Gingold [Thu, 18 Aug 2011 09:28:42 +0000 (09:28 +0000)]
2011-08-18 Tristan Gingold <gingold@adacore.com>
* mach-o.c (bfd_mach_o_read_segment): Initialize list.
gdbadmin [Thu, 18 Aug 2011 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Thu, 18 Aug 2011 00:00:05 +0000 (00:00 +0000)]
daily update
Phil Muldoon [Wed, 17 Aug 2011 10:41:22 +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.
Tristan Gingold [Wed, 17 Aug 2011 10:17:39 +0000 (10:17 +0000)]
2011-08-17 Tristan Gingold <gingold@adacore.com>
* mach-o.c (bfd_mach_o_write_section_32): Fix typo.
Alan Modra [Wed, 17 Aug 2011 00:39:41 +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 ***
Alan Modra [Wed, 17 Aug 2011 00:00:05 +0000 (00:00 +0000)]
daily update
Yao Qi [Tue, 16 Aug 2011 04:15:23 +0000 (04:15 +0000)]
gdb/
* tic6x-linux-tdep.c: Move const arrays definition from here...
* tic6x-tdep.c: to here ...
Alan Modra [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 ***
Jan Kratochvil [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.
Alan Modra [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 ***
Yao Qi [Sun, 14 Aug 2011 16:17:09 +0000 (16:17 +0000)]
gdb/
* NEWS: New port to Texas Instruments TMS320C6x.
Yao Qi [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.
Yao Qi [Sun, 14 Aug 2011 15:58:40 +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-*-*.
Yao Qi [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.
Yao Qi [Sun, 14 Aug 2011 14:03:45 +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.
Yao Qi [Sun, 14 Aug 2011 13:03:13 +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.
Yao Qi [Sun, 14 Aug 2011 12:50:14 +0000 (12:50 +0000)]
Add files missed in previous commit.
Yao Qi [Sun, 14 Aug 2011 12:43:38 +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.
Yao Qi [Sun, 14 Aug 2011 12:28:16 +0000 (12:28 +0000)]
Merge from gcc:
2011-08-14 Yao Qi <yao@codesourcery.com>
* configure.ac (tic6x-*-*): Remove gdb from noconfigdirs.
* configure: Regenerate.
Alan Modra [Sun, 14 Aug 2011 09:17:17 +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.
Alan Modra [Sun, 14 Aug 2011 08:11:56 +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 ***
Alan Modra [Sun, 14 Aug 2011 00:00:05 +0000 (00:00 +0000)]
daily update
gdbadmin [Sat, 13 Aug 2011 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Sat, 13 Aug 2011 00:00:06 +0000 (00:00 +0000)]
daily update
Doug Evans [Fri, 12 Aug 2011 22:21:57 +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.
H.J. Lu [Fri, 12 Aug 2011 20:33:34 +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.
H.J. Lu [Fri, 12 Aug 2011 19:42:39 +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 Delorie [Fri, 12 Aug 2011 18:44:43 +0000 (18:44 +0000)]
merge from gcc
Pedro Alves [Fri, 12 Aug 2011 17:04:32 +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.
Ulrich Weigand [Fri, 12 Aug 2011 15:54:35 +0000 (15:54 +0000)]
* gdb.threads/pthreads.exp: Enable on non-native configurations.
* gdb.mi/mi-pthreads.exp: Likewise.
* gdb.mi/mi2-pthreads.exp: Likewise.
* gdb.mi/gdb669.exp.exp: Likewise.
gdbadmin [Fri, 12 Aug 2011 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***
gdbadmin [Thu, 11 Aug 2011 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***
Maciej W. Rozycki [Wed, 10 Aug 2011 22:55:57 +0000 (22:55 +0000)]
* config/tc-mips.c (can_swap_branch_p): Update the comment on
MIPS16 fixups.
Maciej W. Rozycki [Wed, 10 Aug 2011 22:52:03 +0000 (22:52 +0000)]
* gas/mips/micromips@mips5.d: Rename to...
* gas/mips/micromips@mips5-fp.d: ... this.
* gas/mips/mips5.d: Rename to...
* gas/mips/mips5-fp.d: ... this.
* gas/mips/mips5.l: Rename to...
* gas/mips/mips5-fp.l: ... this.
* gas/mips/mips5.s: Rename to...
* gas/mips/mips5-fp.s: ... this.
* gas/mips/mips.exp: Update accordingly.
Maciej W. Rozycki [Wed, 10 Aug 2011 22:28:41 +0000 (22:28 +0000)]
* gas/mips/mips.exp: Define new "fpisa3", "fpisa4" and "fpisa5"
architecture properties adding them to "mips3", "mips4", "mips5"
and "mips32r2" architectures. Use the new properties for the
"24k-triple-stores-1", "24k-triple-stores-3", "mips4-fp",
"mips5" and "alnv_ps-swap" tests.