aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2012-11-21Fix for incorrect breakpoint set in case of clang compiled binaryKarthik Bhat1-1/+23
2012-11-21gdb/Yao Qi10-56/+28
2012-11-21 Yao Qi <yao@codesourcery.com> PR tdep/7438 * gdbarch.sh (smash_text_address): Remove. * gdbarch.c, gdbarch.h: Regenerate. * arm-tdep.c (arm_smash_text_address): Remove. (arm_gdbarch_init): Don't call set_gdbarch_smash_text_address. * hppa-tdep.c (hppa_smash_text_address): Remove. (hppa_addr_bits_remove): Rename from hppa_smash_text_address. (hppa_gdbarch_init): Don't call set_gdbarch_smash_text_address. Caller update. * coffread.c (coff_symtab_read): Caller update. * dbxread.c (process_one_symbol): Likewise. * elfread.c (record_minimal_symbol): Likewise. * somread.c (som_symtab_read): Likewise.
2012-11-21*** empty log message ***gdbadmin1-1/+1
2012-11-20 Add forgotten ChangeLog for previous ARI fixes commitPierre Muller1-0/+28
2012-11-20daily updateAlan Modra1-1/+1
2012-11-20 ARI fixes: sprintf rule.Pierre Muller16-54/+68
Replace sprintf function calls for char arrays by calls to xsnprintf calls. * arm-tdep.c (arm_push_dummy_call): Replace sprintf by xsnprintf. (arm_dwarf_reg_to_regnum, arm_return_value): Ditto. (arm_neon_quad_read, arm_pseudo_read): Ditto. (arm_neon_quad_write, arm_pseudo_write): Ditto. * breakpoint.c (condition_completer): Ditto. (create_tracepoint_from_upload): Ditto. * dwarf2read.c (file_full_name): Ditto. * gcore.c (gcore_command): Ditto. * gnu-nat.c (proc_string, gnu_pid_to_str): Ditto. * go32-nat.c (go32_sysinfo): Ditto. * interps.c (interp_set): Ditto. * m32c-tdep.c (make_types): Ditto. * ppc-linux-nat.c (fetch_register, store_register): Ditto. * remote-m32r-sdi.c (m32r_open): Ditto. * sol-thread.c (td_err_string): Ditto. (td_state_string, solaris_pid_to_str): Ditto. * symtab.c (gdb_mangle_name): Ditto. * cli/cli-script.c (execute_control_command): Ditto. (define_command, document_command): Ditto. * tui/tui-io.c (tui_rl_display_match_list): Ditto. * tui/tui-stack.c (tui_make_status_line): Ditto. * tui/tui-win.c (tui_update_gdb_sizes): Ditto.
2012-11-20Remove ref_dynamic_nonweak added by accidentH.J. Lu9-9/+52
bfd/ 2012-11-20 H.J. Lu <hongjiu.lu@intel.com> PR ld/14862 * elf-bfd.h (elf_link_hash_entry): Remove ref_dynamic_nonweak added by accident. (elf_link_add_object_symbols): Don't set nor check ref_dynamic_nonweak. ld/testsuite/ 2012-11-20 H.J. Lu <hongjiu.lu@intel.com> PR ld/14862 * ld-elf/shared.exp (build_tests): Build libpr14862-1.o and libpr14862.so. (run_tests): Test pr14862. * ld-elf/pr14862-1.c: New file. * ld-elf/pr14862-2.c: Likewise. * ld-elf/pr14862.map: Likewise. * ld-elf/pr14862.out: Likewise.
2012-11-20Implement ELF linker -z global optionH.J. Lu5-0/+30
ld/ * ld.texinfo: Document "-z global". * emultempl/elf32.em (gld${EMULATION_NAME}_handle_option): Support "-z global". (gld${EMULATION_NAME}_list_options): Likewise. ld/testsuite/ * ld-elf/global1.d: New file.
2012-11-20gdb: include help aliases in help command completionMike Frysinger6-8/+42
There are a bunch of aliases that get used with help, but the current command completion logic does not include those when doing completions. Since the framework is already mostly in place, extend complete_on_cmdlist slightly to pass down the ignore_help_classes flag like is done with the existing lookup command logic. Now you can do: (gdb) help use<tab> and get back: (gdb) help user-defined Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2012-11-20 * completer.c (count_struct_fields): Remove.Tom Tromey2-34/+5
(expression_completer): Don't call count_struct_fields.
2012-11-20gas/Roland McGrath6-6/+36
* config/tc-arm.c (arm_symbol_chars): New variable. * config/tc-arm.h (tc_symbol_chars): New macro, defined to that. gas/testsuite/ * gas/arm/macro-pld.s: New file. * gas/arm/macro-pld.d: New file.
2012-11-202012-11-20 Pedro Alves <palves@redhat.com>Pedro Alves4-11/+22
* annotate.c (breakpoints_changed): Rename to ... (annotate_breakpoints_changed): ... this. (annotate_stopped, breakpoint_changed): Adjust caller. * annotate.h (breakpoints_changed): Rename to ... (annotate_breakpoints_changed): ... this. * breakpoint.c (set_breakpoint_condition, breakpoint_set_commands) (do_map_commands_command, init_raw_breakpoint, clear_command) (set_ignore_count, enable_breakpoint_disp): Adjust callers.
2012-11-20Fix 'info os' crashes on sparc.David S. Miller2-24/+10
* common/linux-osdata.c (get_number_of_cpu_cores): Delete. (linux_xfer_osdata_processes): Fetch _SC_NPROCESSORS_ONLN via sysconf. (get_cores_used_by_process): Update comment.
2012-11-20Fix sim build when configured with --enable-pluginsH.J. Lu31-27/+225583
* common/Make-common.in: Use lt_cv_dlopen_libs under PLUGINS condition. * common/acinclude.m4: Define lt_cv_dlopen_libs. * arm/configure: Regenerate. * avr/configure: Regenerate. * bfin/configure: Regenerate. * common/configure: Regenerate. * cr16/configure: Regenerate. * cris/configure: Regenerate. * d10v/configure: Regenerate. * erc32/configure: Regenerate. * frv/configure: Regenerate. * h8300/configure: Regenerate. * igen/configure: Regenerate. * iq2000/configure: Regenerate. * lm32/configure: Regenerate. * m32c/configure: Regenerate. * m32r/configure: Regenerate. * m68hc11/configure: Regenerate. * mcore/configure: Regenerate. * microblaze/configure: Regenerate. * mips/configure: Regenerate. * mn10300/configure: Regenerate. * moxie/configure: Regenerate. * ppc/configure: Regenerate. * rl78/configure: Regenerate. * rx/configure: Regenerate. * sh/configure: Regenerate. * sh64/configure: Regenerate. * testsuite/configure: Regenerate. * v850/configure: Regenerate.
2012-11-20Fix opcode for 64-bit jecxzH.J. Lu6-2/+18
gas/testsuite/ PR gas/14859 * gas/i386/x86-64-opcode.s: Add jecxz. * gas/i386/x86-64-opcode.d: Updated. opcodes/ PR gas/14859 * i386-opc.tbl: Fix opcode for 64-bit jecxz. * i386-tbl.h: Regenerated.
2012-11-202012-11-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>Andreas Krebbel5-5/+14
* s390-opc.txt: Fix srstu and strag opcodes. 2012-11-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> * gas/s390/zarch-z9-109.d: Fix srstu opcode. * gas/s390/zarch-z900.d: Replace lasp with strag.
2012-11-20gas/ChangeLogYufeng Zhang2-1/+6
2012-11-20 Yufeng Zhang <yufeng.zhang@arm.com> * config/tc-aarch64.c (first_error_fmt): Add ATTRIBUTE_UNUSED to the local variable "ret".
2012-11-20Fix sparc bitness overrides in GAS. Noticed by Eric Botcazou.David S. Miller2-3/+17
gas/ * config/tc-sparc.c (md_parse_option): Only certain arch specifications should override the object to be 32-bit or 64-bit.
2012-11-20gdb/Yao Qi2-1/+5
2012-11-20 Yao Qi <yao@codesourcery.com> * objfiles.c (init_entry_point_info): Remove trailing spaces.
2012-11-20Fix TLS to LE optimization for x32H.J. Lu2-1/+13
PR gold/14858 * x86_64.cc (Relocate::tls_ld_to_le): Support x32.
2012-11-20gdb/Yao Qi2-1/+6
2012-11-20 Yao Qi <yao@codesourcery.com> * infrun.c (handle_inferior_event): Pass 'saved_singlestep_ptid' to deprecated_context_hook.
2012-11-20gdb/testsuite/Yao Qi2-7/+12
2012-11-20 Yao Qi <yao@codesourcery.com> * gdb.mi/mi-cmd-param-changed.exp (test_command_param_changed): Don't test 'maint set show-debug-regs'. Use command 'set remotecache' instead of 'set circular-trace-buffer'.
2012-11-20 * elf32-rx.c (rx_elf_print_private_bfd_data): Warning fix.Alan Modra2-3/+7
2012-11-20*** empty log message ***gdbadmin1-1/+1
2012-11-19daily updateAlan Modra1-1/+1
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