6e2f5b2252
gdb/
...
Fix build error in Darwin port.
* darwin-nat-info.c (darwin_debug_regions_recurse): New variable uiout.
2011-08-23 19:40:50 +00:00
48996a3eab
*** empty log message ***
2011-08-23 00:00:32 +00:00
34e20cec1e
daily update
2011-08-23 00:00:05 +00:00
9a39e74125
* picflag.m4: New file.
2011-08-22 17:51:24 +00:00
601a99c67b
merge from gcc
2011-08-22 17:16:25 +00:00
dc15e575ad
Move cpu files from cgen/cpu to top level cpu directory.
2011-08-22 15:25:07 +00:00
365b60b058
* ld-powerpc/tocopt4a.s, * ld-powerpc/tocopt4b.s,
...
* ld-powerpc/tocopt4.d: New test.
* ld-powerpc/powerpc.exp: Run it.
2011-08-22 14:28:54 +00:00
08efffb82d
* ldmain.c (add_DT_NEEDED_for_dynamic): Default to FALSE.
...
* ld.texinfo (--copy-dt-needed-entries): Mention new default.
2011-08-22 12:35:10 +00:00
61ab05f36d
daily update
2011-08-22 00:00:05 +00:00
d227b5d61d
*** empty log message ***
2011-08-22 00:00:02 +00:00
abf85f464b
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.
2011-08-21 14:33:07 +00:00
66c70f7d55
*** empty log message ***
2011-08-21 00:00:33 +00:00
ca861ac30a
daily update
2011-08-21 00:00:05 +00:00
eee4be5edd
daily update
2011-08-20 00:00:05 +00:00
9fd6810cf8
*** empty log message ***
2011-08-20 00:00:03 +00:00
be748880a3
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.
2011-08-19 19:27:53 +00:00
860144e4f6
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'.
2011-08-19 15:48:36 +00:00
6753e72f10
* doc/as.texinfo: Include c-xstormy16.texi.
2011-08-19 14:48:40 +00:00
af75cb9c9b
* elf64-ppc.c (ppc64_elf_edit_toc): Ignore can_optimize bit if
...
we haven't seen expected -mcmodel=medium/large code relocs.
2011-08-19 08:12:08 +00:00
97ffa485e7
*** empty log message ***
2011-08-19 00:00:33 +00:00
fe9e19f9b8
daily update
2011-08-19 00:00:06 +00:00
59cde39c1e
* gdb.cp/meth-typedefs.cc: New file.
...
* gdb.cp/meth-typedefs.exp: New file.
2011-08-18 16:19:01 +00:00
3a93a0c2ef
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.
2011-08-18 16:17:39 +00:00
7230378dfd
* 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.
2011-08-18 14:10:35 +00:00
9d4b600942
2011-08-18 Tristan Gingold <gingold@adacore.com>
...
* mach-o.c (bfd_mach_o_read_segment): Initialize list.
2011-08-18 09:28:42 +00:00
0a35427e67
*** empty log message ***
2011-08-18 00:00:33 +00:00
8304cc9064
daily update
2011-08-18 00:00:05 +00:00
fa3a4f150f
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.
2011-08-17 10:41:22 +00:00
72b5104c84
2011-08-17 Tristan Gingold <gingold@adacore.com>
...
* mach-o.c (bfd_mach_o_write_section_32): Fix typo.
2011-08-17 10:17:39 +00:00
c77ec72614
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.
2011-08-17 00:39:41 +00:00
142a8c5dcf
*** empty log message ***
2011-08-17 00:00:32 +00:00
48db9718bb
daily update
2011-08-17 00:00:05 +00:00
85661b1e19
gdb/
...
* tic6x-linux-tdep.c: Move const arrays definition from here...
* tic6x-tdep.c: to here ...
2011-08-16 04:15:23 +00:00
d51a548c8c
daily update
2011-08-16 00:00:05 +00:00
d3b7cdad07
*** empty log message ***
2011-08-16 00:00:02 +00:00
c1049fca4e
gdb/testsuite/
...
* gdb.arch/i386-dr3-watch.exp
(watchpoint on gap1 does not fit debug registers)
(delete all watchpoints): Fix racy expect strings.
2011-08-15 07:56:20 +00:00
10614790ea
daily update
2011-08-15 00:00:05 +00:00
0a8328f5d5
*** empty log message ***
2011-08-15 00:00:03 +00:00
11315641d5
gdb/
...
* NEWS: New port to Texas Instruments TMS320C6x.
2011-08-14 16:17:09 +00:00
881127c98f
gdb/gdbserver/
...
* target.h (struct target_ops): Fix indent.
* win32-low.c (win32_target_ops): Fix comment.
2011-08-14 16:06:59 +00:00
d93f7b5c95
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-*-*.
2011-08-14 15:58:40 +00:00
58dbd54186
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.
2011-08-14 15:25:45 +00:00
8cd64e0034
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.
2011-08-14 14:03:45 +00:00
78d8519916
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.
2011-08-14 13:03:13 +00:00
d3e3fa9393
Add files missed in previous commit.
2011-08-14 12:50:14 +00:00
224bbe4936
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.
2011-08-14 12:43:38 +00:00
40ae9136ce
Merge from gcc:
...
2011-08-14 Yao Qi <yao@codesourcery.com>
* configure.ac (tic6x-*-*): Remove gdb from noconfigdirs.
* configure: Regenerate.
2011-08-14 12:28:16 +00:00
b3874e1a22
* elf32-ppc.c (ppc_elf_select_plt_layout): Force bss-plt when
...
shared and call to _mcount will go via plt.
2011-08-14 09:17:17 +00:00
8de848d897
* 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.
2011-08-14 08:11:56 +00:00
85f2921b7f
*** empty log message ***
2011-08-14 00:00:33 +00:00