aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2011-08-21gdb/Jan Kratochvil3-20/+33
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*** empty log message ***gdbadmin1-1/+1
2011-08-21daily updateAlan Modra1-1/+1
2011-08-20daily updateAlan Modra1-1/+1
2011-08-20*** empty log message ***gdbadmin1-1/+1
2011-08-19Update AVX tests.H.J. Lu13-48/+353
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-19Include the <root>/cpu/ dir in GDB releasesJoel Brobecker2-1/+5
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 * doc/as.texinfo: Include c-xstormy16.texi.Nick Clifton2-0/+11
2011-08-19 * elf64-ppc.c (ppc64_elf_edit_toc): Ignore can_optimize bit ifAlan Modra2-1/+6
we haven't seen expected -mcmodel=medium/large code relocs.
2011-08-19*** empty log message ***gdbadmin1-1/+1
2011-08-19daily updateAlan Modra1-1/+1
2011-08-18 * gdb.cp/meth-typedefs.cc: New file.Keith Seitz3-0/+317
* gdb.cp/meth-typedefs.exp: New file.
2011-08-18 PR c++/12266Keith Seitz6-62/+665
* 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 * write.c (resolve_reloc_expr_symbols): Convert local symbolsAlan Modra2-39/+90
on relocs to section+offset. (get_frag_for_reloc): New function. (write_relocs): Merge sort fixup relocs with those from .reloc directives.
2011-08-182011-08-18 Tristan Gingold <gingold@adacore.com>Tristan Gingold2-0/+6
* mach-o.c (bfd_mach_o_read_segment): Initialize list.
2011-08-18*** empty log message ***gdbadmin1-1/+1
2011-08-18daily updateAlan Modra1-1/+1
2011-08-172011-08-17 Phil Muldoon <pmuldoon@redhat.com>Phil Muldoon9-2/+361
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-172011-08-17 Tristan Gingold <gingold@adacore.com>Tristan Gingold2-1/+5
* mach-o.c (bfd_mach_o_write_section_32): Fix typo.
2011-08-17 PR ld/12762Alan Modra19-477/+388
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*** empty log message ***gdbadmin1-1/+1
2011-08-17daily updateAlan Modra1-1/+1
2011-08-16gdb/Yao Qi3-3/+8
* tic6x-linux-tdep.c: Move const arrays definition from here... * tic6x-tdep.c: to here ...
2011-08-16daily updateAlan Modra1-1/+1
2011-08-16*** empty log message ***gdbadmin1-1/+1
2011-08-15gdb/testsuite/Jan Kratochvil2-2/+8
* gdb.arch/i386-dr3-watch.exp (watchpoint on gap1 does not fit debug registers) (delete all watchpoints): Fix racy expect strings.
2011-08-15daily updateAlan Modra1-1/+1
2011-08-15*** empty log message ***gdbadmin1-1/+1
2011-08-14gdb/Yao Qi2-0/+8
* NEWS: New port to Texas Instruments TMS320C6x.
2011-08-14gdb/gdbserver/Yao Qi3-2/+7
* target.h (struct target_ops): Fix indent. * win32-low.c (win32_target_ops): Fix comment.
2011-08-14gdb/testsuite/Yao Qi6-2/+42
* 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-14gdb/gdbserver/Yao Qi5-0/+376
* 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 gdb/Yao Qi6-0/+2947
* 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 gdb/Yao Qi10-1/+143
* 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-14Add files missed in previous commit.Yao Qi21-0/+1018
2011-08-14 gdb/doc/Yao Qi5-1/+74
* 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 Merge from gcc:Yao Qi3-2/+10
2011-08-14 Yao Qi <yao@codesourcery.com> * configure.ac (tic6x-*-*): Remove gdb from noconfigdirs. * configure: Regenerate.
2011-08-14 * elf32-ppc.c (ppc_elf_select_plt_layout): Force bss-plt whenAlan Modra2-1/+31
shared and call to _mcount will go via plt.
2011-08-14 * elf64-ppc.c: Prefix all einfo error strings with "%P: ".Alan Modra3-36/+43
* elf32-ppc.c: Likewise. (ppc_elf_select_plt_layout): Use einfo rather than info to report forced bss-plt.
2011-08-14*** empty log message ***gdbadmin1-1/+1
2011-08-14daily updateAlan Modra1-1/+1
2011-08-13*** empty log message ***gdbadmin1-1/+1
2011-08-13daily updateAlan Modra1-1/+1
2011-08-12 * NEWS: Mention new "type" attribute of python gdb.Symbol objects.Doug Evans7-0/+45
* 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.
2011-08-12Add R_X86_64_RELATIVE64.H.J. Lu2-0/+6
2011-08-12 H.J. Lu <hongjiu.lu@intel.com> PR ld/13082 * x86-64.h (R_X86_64_RELATIVE64): New.
2011-08-12Add R_X86_64_RELATIVE64 and handle R_X86_64_64 for x32.H.J. Lu22-0/+252
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].
2011-08-12merge from gccDJ Delorie2-6/+14
2011-08-122011-08-12 Pedro Alves <pedro@codesourcery.com>Pedro Alves2-25/+45
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.
2011-08-12 * gdb.threads/pthreads.exp: Enable on non-native configurations.Ulrich Weigand5-20/+7
* gdb.mi/mi-pthreads.exp: Likewise. * gdb.mi/mi2-pthreads.exp: Likewise. * gdb.mi/gdb669.exp.exp: Likewise.
2011-08-12*** empty log message ***gdbadmin1-1/+1