aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2012-11-192012-11-19 Jan-Benedict Glaw <jbglaw@lug-owl.de>Jan-Benedict Glaw2-2/+8
* config.sub (arm): Merge from upstream: Handle armv[6-8] targets.
2012-11-19gdb/Yao Qi2-1/+5
2012-11-19 Yao Qi <yao@codesourcery.com> * infrun.c (infwait_state): Add static.
2012-11-19*** empty log message ***gdbadmin1-1/+1
2012-11-18daily updateAlan Modra1-1/+1
2012-11-18*** empty log message ***gdbadmin1-1/+1
2012-11-17*** empty log message ***gdbadmin1-1/+1
2012-11-16daily updateAlan Modra1-1/+1
2012-11-16 PR c++/13615Keith Seitz7-69/+457
* cp-namespace.c (cp_lookup_symbol_in_namespace): Add SEARCH parameter and pass it to lookup_symbol_file. (cp_lookup_symbol_imports): Tell cp_lookup_symbol_in_namespace to search base classes. (cp_lookup_symbol_namespace): Likewise. (lookup_namespace_scope): Likewise. (lookup_symbol_file): Add SEARCH parameter. If SEARCH is non-zero and no symbol is found, lookup the class and call cp_lookup_nested_symbol. (find_symbol_in_baseclass): New function. (cp_lookup_nested_symbol): Do not let cp_lookup_symbol_in_namespace search through base classes. Do that later when there is no global symbol match. PR c++/13615 * gdb.cp/baseenum.cc: New file. * gdb.cp/baseenum.exp: New file. * gdb.cp/derivation.cc (A): Add copyright. Add a typedef. (B): Use A::value_type instead of int. Change all references. (D): Use value_type instead of int. Change all references. (E): Likewise. (F); Likewise. (Z): New class. (ZZ): New class. (N, Base, Derived): New namespace and classes. (main): Add instances of Z and ZZ. Make sure all symbols from N are kept. * gdb.cp/derivation.exp: Update typedef changes in tests. Add tests for class typedefs both before and after starting the inferior. Add tests for searching for a typedef while stopped in a method.
2012-11-16 * main.c (gdb_datadir_provided): New static global.Doug Evans5-4/+66
(get_init_files): If --data-directory is provided, and SYSTEM_GDBINIT lives in data-directory, look for it there. * NEWS: Mention it. doc/ * gdb.texinfo (System-wide configuration): If the system-wide init file lives in the data-directory, and --data-directory is provided, look for it there.
2012-11-16bfd/ChangeLogYufeng Zhang2-10/+22
2012-11-16 Joey Ye <joey.ye@arm.com> * elf32-arm.c (elf32_arm_final_link_relocate, case R_ARM_THM_ALU_PREL_11_0, case R_ARM_THM_PC12): Align address of the place being relocated. (elf32_arm_final_link_relocate, case R_ARM_THM_PC8): Align address of the place being relocated and truncate addend. (Pa): New macro.
2012-11-16Update DF_1_XXX from SolarisH.J. Lu4-4/+100
binutils/ * readelf.c (process_dynamic_section): Correct DF_1_CONFALT. Also dump DF_1_ENDFILTEE, DF_1_DISPRELDNE, DF_1_NODIRECT, DF_1_IGNMULDEF, DF_1_NOKSYMS, DF_1_NOHDR, DF_1_EDITED, DF_1_NORELOC, DF_1_SYMINTPOSE, DF_1_GLOBAUDIT and DF_1_SINGLETON. include/elf/ * common.h (DF_1_CONLFAT): Renamed to ... (DF_1_CONFALT): This. (DF_1_ENDFILTEE): New. (DF_1_DISPRELDNE): Likewise. (DF_1_DISPRELPND): Likewise. (DF_1_NODIRECT): Likewise. (DF_1_IGNMULDEF): Likewise. (DF_1_NOKSYMS): Likewise. (DF_1_NOHDR): Likewise. (DF_1_EDITED): Likewise. (DF_1_NORELOC): Likewise. (DF_1_SYMINTPOSE): Likewise. (DF_1_GLOBAUDIT): Likewise. (DF_1_SINGLETON): Likewise.
2012-11-16Fix typo.Maxim Kuvyrkov1-1/+1
2012-11-16 Port lib32 arangement from Debian.Maxim Kuvyrkov2-0/+16
* emulparams/elf_i386.sh: Include lib32 directories in library search path.
2012-11-16*** empty log message ***gdbadmin1-1/+1
2012-11-15daily updateAlan Modra1-1/+1
2012-11-15 * gdb.texinfo (Signaling): Fix typo.Tom Tromey2-1/+5
2012-11-152012-11-15 Pierre Muller <muller@sourceware.org>Pierre Muller16-16/+48
ARI fixes: move gdb_wait and gdb_stat headers to common subdirectory. * gdb_stat.h: Delete. Moved to common directory. * common/gdb_stat.h: New file. * gdb_wait.h: Delete. Moved to common directory. * common/gdb_wait.h: New file. * Makefile.in (H_FILES_NO_SRC): Adapt to new header location. * contrib/ari/gdb_ari.sh (wait.h rule): Adapt to new gdb_wait.h location. (stat.h rule): Adapt to new gdb_stat.h location. * common/linux-osdata.c: Include "gdb_stat.h" header instead of <sys/stat.h> header. * common/linux-ptrace.c: Include "gdb_wait.h" header instead of <sys/wait.h> header. gdbserver ChangeLog entry: 2012-11-15 Pierre Muller <muller@sourceware.org> * configure.ac (AC_CHECK_HEADERS): Add wait.h header. * config.in: Regenerate. * configure: Regenerate. * linux-low.c: Use "gdb_stat.h" header instead of <sys/stat.h> header. Use "gdb_wait.h" header instead of <sys/wait.h> header. * lynx-low.c: Use "gdb_wait.h" header instead of <sys/wait.h> header. * remote-utils.c: Use "gdb_stat.h" header instead of <sys/stat.h> header. * server.c: Remove HAVE_WAIT_H conditional. Use "gdb_wait.h" header instead of <sys/wait.h> header. * spu-low.c: Use "gdb_wait.h" header instead of <sys/wait.h> header.
2012-11-15 * configure.ac (AC_HEADER_STAT): Remove.Pierre Muller5-59/+8
* gdb_stat.h (STAT_MACROS_BROKEN): Remove macro use and corresponding code. * configure: Regenerate. * config.in: Regenerate.
2012-11-15Restore "Consider *-*-nacl* targets ELF for gold"H.J. Lu3-2/+7
* configure.ac (ENABLE_GOLD): Consider *-*-nacl* targets ELF. * configure: Regenerate.
2012-11-15 Rectify commit date for MAINTAINERS commitPierre Muller1-1/+1
2012-11-15 * ldmain.c (main): Add start_sbrk set to sbrk(0) on entry.Simon Baldwin2-1/+10
On exit, compute data size as the delta between current sbrk(0) and start_sbrk.
2012-11-15 ARI xasprintf rule fixes.Pierre Muller2-8/+16
* dwarf2read.c (create_dwo_in_dwp): Use xstrprintf function instead of xasprintf. (open_and_init_dwp_file): Ditto.
2012-11-15bfd/Roland McGrath4-11/+21
* elf32-arm.c (elf32_arm_nacl_plt0_entry): Use bic rather than bfc instruction for data sandboxing. gold/ * arm.cc (Output_data_plt_arm_nacl::first_plt_entry): Use bic rather than bfc instruction for data sandboxing.
2012-11-15Sync toplevel files with GCCH.J. Lu5-15/+553
2012-11-13 Richard Henderson <rth@redhat.com> * configure.ac: Move libsanitizer logic to subdirectory. * configure: Regenerate. 2012-11-13 Dodji Seketeli <dodji@redhat.com> * configure.ac: Enable libsanitizer just on x86 linux for now. * configure: Re-generate. 2012-11-13 David Edelsohn <dje.gcc@gmail.com> * configure.ac: Merge libquadmath sections. * configure: Regenerate. 2012-11-12 Wei Mi <wmi@google.com> * configure.ac: Add libsanitizer to target_libraries. * Makefile.def: Ditto. * configure: Regenerate. * Makefile.in: Regenerate.
2012-11-15*** empty log message ***gdbadmin1-1/+1
2012-11-14daily updateAlan Modra1-1/+1
2012-11-142012-11-14 Luis Machado <lgustavo@codesourcery.com>Luis Machado5-1/+91
gdb/ * value.c (value_actual_type): Check for TYPE_CODE_STRUCT target types. gdb/testsuite/ * gdb.mi/mi-var-create-rtti.c: New file. * gdb.mi/mi-var-create-rtti.exp: New file.
2012-11-14 * configure, config.in: Rebuild.Tom Tromey5-14/+8
* configure.ac: Don't check for ctype.h, time.h. * expprint.c: Don't use HAVE_CTYPE_H.
2012-11-142012-11-14 Luis Machado <lgustavo@codesourcery.com>Luis Machado2-0/+9
* gdb.base/structs3.exp: Run to main before doing any tests.
2012-11-14opcodes/Michael Eager9-5/+87
* microblaze-opc.h: Define new instruction type INST_TYPE_IMM5, update OPCODE_MASK_H13S, add OPCODE_MASK_HN, define MIN_IMM5 / MAX_IMM5, and increase MAX_OPCODES. (op_code_struct): add mbar and sleep * microblaze-opcm.h (microblaze_instr): add mbar Define IMM_MBAR and IMM5_MBAR_MASK * microblaze-dis.c: Add get_field_imm5_mbar (print_insn_microblaze): Add support for INST_TYPE_IMM5 and INST_TYPE_NONE gas/ * config/tc-microblaze.c (md_assemble): Add support for INST_TYPE_IMM5 gas/testsuite/ * gas/microblaze/allinsn.s: Add mbar and sleep * gas/microblaze/allinsn.d: Likewise
2012-11-14Add clz opcode.Michael Eager6-2/+20
opcodes/ * microblaze-opc.h: Increase MAX_OPCODES (op_code_struct): add clz insn * microblaze-opcm.h (microblaze_instr): add clz gas/testsuite/ * gas/microblaze/allinsn.s: Add clz insn * gas/microblaze/allinsn.d: Likewise
2012-11-14Add the endian reversing versions of load/store instructions;Michael Eager7-2/+78
2012-11-14 Edgar E. Iglesias <edgar.iglesias@gmail.com> * microblaze-opc.h: Increase MAX_OPCODES (op_code_struct): add lbur, lhur, lwr, sbr, shr, swr * microblaze-opcm.h (microblaze_instr): add lbur, lhur, lwr, sbr, shr, swr 2012-11-14 David Holsgrove <david.holsgrove@xilinx.com> * gas/microblaze/allinsn.exp: New file - test newly added opcodes * gas/microblaze/allinsn.s: Likewise * gas/microblaze/allinsn.d: Likewise
2012-11-14 * gdbarch.h, gdbarch.c: Rebuild.Tom Tromey5-20/+16
* gdbarch.sh (set_target_gdbarch): Rename from deprecated_target_gdbarch_select_hack. * arch-utils.c (gdbarch_update_p): Update. (set_gdbarch_from_file): Update.
2012-11-14 * MAINTAINERS (Responsible Maintainers/misc): Add myselfPierre Muller2-0/+7
as responsible of contrib/ari directory.
2012-11-14gas/ChangeLog:Ulrich Weigand9-99/+59
* config/tc-ppc.c (md_apply_fix): Leave field zero when emitting an ELF reloc on data as well. gas/testsuite/ChangeLog: * gas/ppc/astest.d: Update for fixup changes. * gas/ppc/astest64.d: Likewise. * gas/ppc/astest2.d: Likewise. * gas/ppc/astest2_64.d: Likewise. * gas/ppc/test1elf32.d: Likewise. * gas/ppc/test1elf64.d: Likewise.
2012-11-14bfd/Tristan Gingold5-1/+114
2012-11-14 Tristan Gingold <gingold@adacore.com> * mach-o.c (bfd_mach_o_read_main) (bfd_mach_o_read_source_version): New functions. (bfd_mach_o_read_command): Handle BFD_MACH_O_LC_DATA_IN_CODE, BFD_MACH_O_LC_DYLIB_CODE_SIGN_DRS, BFD_MACH_O_LC_MAIN, BFD_MACH_O_LC_SOURCE_VERSION. * mach-o.h (bfd_mach_o_main_command) (bfd_mach_o_source_version_command): New types. (bfd_mach_o_load_command): Add fields for these new types. binutils/ 2012-11-14 Tristan Gingold <gingold@adacore.com> * od-macho.c (bfd_mach_o_load_command_name): Add new definitions. (dump_load_command): Handle BFD_MACH_O_LC_SOURCE_VERSION and BFD_MACH_O_LC_MAIN.
2012-11-142012-11-14 Tristan Gingold <gingold@adacore.com>Tristan Gingold3-8/+62
* external.h (mach_o_entry_point_command_external) (mach_o_source_version_command_external) (mach_o_data_in_code_entry_external): New structures. * loader.h (bfd_mach_o_load_command_type): Add BFD_MACH_O_LC_MAIN, BFD_MACH_O_LC_DATA_IN_CODE, BFD_MACH_O_LC_SOURCE_VERSION and BFD_MACH_O_LC_DYLIB_CODE_SIGN_DRS. (BFD_MACH_O_REFERENCE_MASK): Adjust value. (BFD_MACH_O_N_REF_TO_WEAK): New definition. (BFD_MACH_O_N_ARM_THUMB_DEF, BFD_MACH_O_N_SYMBOL_RESOLVER): Likewise. (bfd_mach_o_data_in_code_entry_kind): New enum.
2012-11-142012-11-14 Tristan Gingold <gingold@adacore.com>Tristan Gingold2-20/+35
* mach-o.c (bfd_mach_o_canonicalize_one_reloc): Add a special handling for non-scattered pairs. Update comments.
2012-11-142012-11-14 Tristan Gingold <gingold@adacore.com>Tristan Gingold2-0/+41
* arm.h: New file.
2012-11-14http://sourceware.org/ml/gdb-patches/2012-11/msg00308.htmlAndrew Burgess2-110/+131
gdb/testsuite/ChangeLog * gdb.python/py-type.exp: Uniquify test names.
2012-11-14gdb/testsuite/Yao Qi3-10/+19
2012-11-14 Yao Qi <yao@codesourcery.com> * gdb.threads/manythreads.c [DEBUG]: Include "stdio.h". (thread_function) [DEBUG]: Call 'printf'. * gdb.threads/manythreads.exp: Pass '-DDEBUG' to compilation command line if 'DEBUG=1' is passed to test. Remove a pattern to match inferior's output.
2012-11-14gdb/Yao Qi2-0/+139
2012-11-14 Daniel Jacobowitz <dan@codesourcery.com> Yao Qi <yao@codesourcery.com> * arm-tdep.c (arm_addr_bits_remove): Do not adjust the low bit of EXC_RETURN. (arm_m_exception_cache, arm_m_exception_this_id) (arm_m_exception_prev_register, arm_m_exception_unwind_sniffer) (arm_m_exception_unwind): New. (arm_gdbarch_init): Register arm_m_exception_unwind.
2012-11-14*** empty log message ***gdbadmin1-1/+1
2012-11-13daily updateAlan Modra1-1/+1
2012-11-13Allocate elf_segment_map with bfd_zallocH.J. Lu2-1/+6
* elf.c (rewrite_elf_program_header): Allocate elf_segment_map with bfd_zalloc, instead of bfd_alloc.
2012-11-132012-11-13 Giuseppe Montalto <giuseppe.montalto@st.com>Tom Tromey7-9/+126
* mi/mi-main.c (mi_cmd_data_write_memory): Handle additional parameter COUNT, for pattern filling of memory regions. * NEWS: Mention it. doc * gdb.texinfo (GDB/MI Data Manipulation): Document new optional parameter "count" of -data-write-memory-bytes, and add an example. testsuite * gdb.mi/mi-fill-memory.exp: New test.
2012-11-13 * disasm.h (DISASSEMBLY_FILENAME): New macro.Markus Metzger5-5/+28
* disasm.c (do_mixed_source_and_assembly): Pass filename flag on to print_source_lines (). * symtab.h (PRINT_SOURCE_LINES_FILENAME): New print source lines flag. * source.c (print_source_lines_base): Prefix source line with filename if PRINT_SOURCE_LINES_FILENAME flag is set.
2012-11-13 * symtab.h (print_source_lines_flags): New enum.Markus Metzger3-9/+24
* source.c (print_source_lines_base): Change noerror to flags. (print_source_lines): Change noerror to flags.
2012-11-13 * Makefile.in: (INTERNAL_CFLAGS): Add -DGDBSERVERMarkus Metzger2-14/+19
(various make rules): Remove -DGDBSERVER
2012-11-13 ARI fixes: Avoid sprintf function use rule.Pierre Muller12-37/+65
* charset.c (convert_between_encodings): Use xsnprintf. * cli-out.c (cli_field_int): Likewise. * cp-namespace.c (cp_lookup_nested_symbol): Likewise. * expprint.c (op_name_standard): Likewise. * frv-tdep.c (set_variant_num_gprs): Likewise. (set_variant_num_fprs): Likewise. * m68hc11-tdep.c (m68hc11_initialize_register_info): Likewise. * nto-tdep.c (nto_find_and_open_solib): Likewise. (nto_init_solib_absolute_prefix): Likewise. * source.c (init_source_path): Likewise. (print_source_lines_base): Likewise. * valprint.c (print_wchar): Likewise. * mi/mi-out.c (mi_field_int): Likewise. windows-nat.c (windows_pid_to_exec_file): Likewise. (windows_create_inferior): Likewise. (_initialize_check_for_gdb_ini): Likewise.