aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2012-03-06 * elf64-x86-64.c (elf_x86_64_relocate_section): For R_X86_64_RELATIVEJakub Jelinek2-2/+7
set relocate to TRUE.
2012-03-06 * proc-service.c (ps_pglobal_lookup): Set the current programTom Tromey2-3/+18
space.
2012-03-06New Ada testcase (bp_on_var.exp).Joel Brobecker5-0/+119
gdb/testsuite/ChangeLog: * gdb.ada/bp_on_var: New testcase.
2012-03-062012-03-06 Pedro Alves <palves@redhat.com>Pedro Alves2-0/+8
* gregset.h [HAVE_SYS_PROCFS_H]: Include <sys/procfs.h>.
2012-03-06New Ada testcase (bp_enum_homonym).Joel Brobecker5-0/+133
gdb/testsuite/ChangeLog: * gdb.ada/bp_enum_homonym: New testcase.
2012-03-062012-03-06 Tristan Gingold <gingold@adacore.com>Tristan Gingold2-8/+22
* corefile.c (core_create_function_syms): Do not call bsearch if symbol_map_count is 0.
2012-03-06gdb/testsuite/Yao Qi2-1/+9
* gdb.trace/ftrace.exp (test_fast_tracepoints): Run test on target x86_64-*-* and i?86-*-*. Set up KFAIL for gdb/13808.
2012-03-06*** empty log message ***gdbadmin1-1/+1
2012-03-05Add Maciej W. Rozycki as mips maintainer.Joel Brobecker2-0/+5
gdb/ChangeLog: * MAINTAINERS: List Maciej W. Rozycki as the mips maintainer.
2012-03-05 PR ld/13683Alan Modra2-2/+7
* ld-gc/pr13683.d: Allow non-zero top address digit.
2012-03-05daily updateAlan Modra1-1/+1
2012-03-05 * ldlang.h (struct lang_input_statement_flags): New, extract from..Alan Modra23-244/+245
(lang_input_statement_type): ..here. New field "flags". (input_flags): Declare. (missing_file): Delete. * ldmain.h (whole_archive): Delete. (add_DT_NEEDED_for_regular, add_DT_NEEDED_for_dynamic): Delete. * ld.h (ld_config_type <dynamic_link>): Delete. * ldmain.c (whole_archive): Delete. (add_DT_NEEDED_for_regular, add_DT_NEEDED_for_dynamic): Delete. * ldlang.c (missing_file, ldlang_sysrooted_script): Delete. (input_flags): New variable. Replace all uses of config.dynamic_link, missing_file, ldlang_sysrooted_script, whole_archive, add_DT_NEEDED_for_regular and add_DT_NEEDED_for_dynamic with fields from here. * ldfile.c: Likewise. * ldgram.y: Likewise. * ldmain.c: Likewise. * ldwrite.c: Likewise. * lexsup.c: Likewise. * plugin.c: Likewise. * emultempl/aix.em: Likewise. * emultempl/armelf.em: Likewise. * emultempl/elf32.em: Likewise. * emultempl/hppaelf.em: Likewise. * emultempl/linux.em: Likewise. * emultempl/pe.em: Likewise. * emultempl/pep.em: Likewise. * emultempl/ppc64elf.em: Likewise. * emultempl/scoreelf.em: Likewise. * emultempl/spuelf.em: Likewise. * emultempl/sunos.em: Likewise. * emultempl/vms.em: Likewise. * ldlang.c (new_afile): Use memset to init zero fields. (load_symbols): Simplify save and restore of flags around command file processing. * ldfile.c (is_sysrooted_pathname): Tidy.
2012-03-05 * gdb.ada/operator_bp.exp: Clear debug-file-directory.Tom Tromey3-0/+11
* gdb.ada/mi_task_arg.exp: Clear debug-file-directory.
2012-03-05gdb/Jan Kratochvil5-70/+18
Code cleanup. * common/linux-osdata.c (linux_common_core_of_thread): New function comment. * linux-nat.c (linux_nat_wait_1): Replace linux_nat_core_of_thread_1 call by linux_common_core_of_thread. (linux_nat_core_of_thread_1): Remove. * linux-nat.h (linux_nat_core_of_thread_1): Remove declaration. * linux-thread-db.c: Include linux-osdata.h. (update_thread_core): Replace linux_nat_core_of_thread_1 call by linux_common_core_of_thread.
2012-03-05 * value.c (value_primitive_field): Don't fetch contents forTom Tromey2-5/+16
non-virtual bases.
2012-03-05 * jv-valprint.c (java_value_print): Correctly compute 'obj_addr'.Tom Tromey4-1/+13
gdb/testsuite * gdb.java/jprint.java (jprint.main): Keep 'x' live.
2012-03-05Include "gregset.h" in s390-nat.c (-Wmissing-prototypes).Joel Brobecker2-0/+6
gdb/ChangeLog: * s390-nat.c: Include "gregset.h".
2012-03-05 PR ld/13803Hans-Peter Nilsson3-2/+8
* ld-arm/fix-arm1176-off.d, ld-arm/fix-arm1176-on.d: Regexpify address of func_to_branch_to.
2012-03-05gdb/Jan Kratochvil2-3/+28
* libunwind-frame.c (LIBUNWIND_SO): Change .7 to .8. [!LIBUNWIND_SO] (LIBUNWIND_SO_7): New #define. (libunwind_load): New variable so_error, use it for dlerror. Try to load also LIBUNWIND_SO_7.
2012-03-05gdb/gdbserver/Jan Kratochvil2-1/+16
* linux-low.c (get_dynamic): Don't warn when PT_PHDR isn't found. New comment why.
2012-03-052012-03-05 Pedro Alves <palves@redhat.com>Pedro Alves2-22/+16
* i387-tdep.c (i387_supply_xsave): Assert the xsave section buffer is not NULL, and remove resulting dead code.
2012-03-05 PR ld/12152Rainer Orth2-2/+10
* elfxx-sparc.c (_bfd_sparc_elf_relocate_section): Also ignore overflows for R_SPARC_UA32 in .stab sections.
2012-03-05 * sh-tdep.c (sh_skip_prologue): Provide an upper limit on the functionThomas Schwinge2-15/+38
prologue to sh_analyze_prologue. (sh_analyze_prologue): Make better use of such an upper limit, and generally be more cautious about accessing memory.
2012-03-05 * ia64-vms-tdep.c (_initialize_ia64_vms_tdep): Rename fromTom Tromey2-2/+7
_initialize_ia64_hpux_tdep.
2012-03-05Mention PR gdb/13766Pedro Alves1-0/+2
2012-03-052012-03-05 Pedro Alves <palves@redhat.com>Pedro Alves2-33/+60
* i387-tdep.c (i387_supply_xsave): If we have an xsave buffer, and the register state is clear, supply explicit zero, instead of marking the register unavailable.
2012-03-052012-03-05 Tristan Gingold <gingold@adacore.com>Tristan Gingold3-4/+9
* configure.ac: Enable gdb and readline for ia64*-*-*vms*. * configure: Regenerate.
2012-03-052012-03-05 Tristan Gingold <gingold@adacore.com>Tristan Gingold2-0/+5
* NEWS: Mention OpenVMS ia64 new target.
2012-03-052012-03-05 Tristan Gingold <gingold@adacore.com>Tristan Gingold3-0/+2617
* buildvms.com: New file. * ia64vms-stub.c: New file.
2012-03-052012-03-05 Tristan Gingold <gingold@adacore.com>Tristan Gingold6-5/+197
* ia64-tdep.h: Include libunwind-frame.h and libunwind-ia64.h. (ia64_unw_accessors, ia64_unw_rse_accessors) (ia64_libunwind_descr): Declare. * ia64-vms-tdep.c: New file. * ia64-tdep.c (ia64_unw_accessors, ia64_unw_rse_accessors) (ia64_libunwind_descr): Make them public. * configure.tgt: Add ia64-*-*vms*. * Makefile.in (ALL_64_TARGET_OBS): Add ia64-vms-tdep.o (ALLDEPFILES): Add ia64-vms-tdep.c
2012-03-052012-03-05 Tristan Gingold <gingold@adacore.com>Tristan Gingold5-4/+47
* target.h (target_object): Add TARGET_OBJECT_OPENVMS_UIB. * remote.c (PACKET_qXfer_uib): New enum value. (remote_protocol_features): Add entry for PACKET_qXfer_uib. (remote_xfer_partial): Handle TARGET_OBJECT_OPENVMS_UIB. (_initialize_remote): Call add_packet_config_cmd for xfer:uib packet. doc/ 2012-03-05 Tristan Gingold <gingold@adacore.com> * gdb.texinfo (General Query Packets): Document xfer:uib:read.
2012-03-052012-03-05 Tristan Gingold <gingold@adacore.com>Tristan Gingold3-0/+12
* osabi.c (gdb_osabi_names): Add OpenVMS. (generic_elf_osabi_sniffer): Likewise. * defs.h (gdb_osabi): Add GDB_OSABI_OPENVMS.
2012-03-05 * configure.tgt (mips64*el-*-freebsd*, mips64*-*-freebsd*)Hans-Peter Nilsson2-4/+10
(mips*el-*-freebsd*, mips*-*-freebsd*): Correct triplets by replacing trailing "-*" with "*".
2012-03-05*** empty log message ***gdbadmin1-1/+1
2012-03-04daily updateAlan Modra1-1/+1
2012-03-04sim: bfin: drop old linux/mii.h workaroundsMike Frysinger5-23/+35
We had some workarounds for old linux/mii.h headers, but it breaks with newer ones. So tweak the checks a bit to work with newer ones. We'll worry about older systems once someone complains. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2012-03-04gdb/Jan Kratochvil3-24/+7
Removed unused code. * libunwind-frame.c (libunwind_frame_unwind) (libunwind_frame_base_address): Remove. * libunwind-frame.h (libunwind_frame_base_address): Remove declaration.
2012-03-04gdb/Yao Qi2-9/+16
* common/agent.c (gdb_connect_sync_socket): Add _ markup and remove trailing new line. (agent_run_command, agent_run_command): Add _ markup. (agent_capability_check): Likewise.
2012-03-04Fix indent of changelog entries.Yao Qi1-3/+3
2012-03-04gdb/testsuite/Yao Qi2-0/+9
* gdb.base/disp-step-syscall.exp (disp_step_cross_syscall): Catch error messages for KFAIL.
2012-03-04*** empty log message ***gdbadmin1-1/+1
2012-03-03daily updateAlan Modra1-1/+1
2012-03-03gdb/testsuite/Jan Kratochvil2-0/+38
* gdb.ada/arrayidx.exp: Call get_compiler_info. New variable old_gcc. (print one_two_three, indexes off, print few_reps, indexes off) (print many_reps, indexes off, print empty, indexes off) (print one_two_three, print few_reps, print many_reps, print empty): Call setup_xfail if $gcc_old.
2012-03-03gdb/Jan Kratochvil4-16/+39
* breakpoint.c (set_condition_evaluation_mode): Set CONDITION_EVALUATION_MODE unconditionally. gdb/testsuite/ Implement testsuite workaround for PR breakpoints/13781. * gdb.cp/mb-templates.exp: New loop with variable $workaround. (set breakpoint condition-evaluation host): New conditional command.
2012-03-03gdb/testsuite/Jan Kratochvil2-21/+24
Code cleanup. * gdb.cp/mb-templates.exp: New variables executable. Use it for binfile. use clean_restart. Replace gdb_expect by gdb_test_multiple. Replace GDB restart by kill and delete_breakpoints. Replace breakpoint number 1 by $bpnum. Four times.
2012-03-03gdb:Yao Qi14-33/+182
* common/agent.c (agent_look_up_symbols): Add one parameter 'arg'. * common/agent.h: Update declaration. * inf-child.c (inf_child_use_agent): New. (inf_child_can_use_agent): New. (inf_child_target): Initialize fields `to_use_agent' and `to_can_use_agent'. * agent.c (agent_new_objfile): New. (_initialize_agent): Add agent_new_objfile to new_objfile observer. * linux-nat.c (linux_child_static_tracepoint_markers_by_strid): New. (linux_target_install_ops): Initialize field `to_static_tracepoint_markers_by_strid'. * remote.c (free_current_marker): Move it to ... * tracepoint.c (free_current_marker): ... here. New. (cleanup_target_stop): New. * tracepoint.h: Declare free_current_marker. * NEWS: Add one entry about `info static-tracepoint-marker'. gdb/gdbserver: * tracepoint.c (tracepoint_look_up_symbols): Update call to agent_look_up_symbols. gdb/testsuite: * gdb.trace/strace.exp: run strace_info_marker in linux native gdb.
2012-03-03gdb/testsuite/Jan Kratochvil2-1/+19
Setup KFAIL for PR server/13796. * gdb.base/disp-step-syscall.exp (single step over vfork): Setup KFAIL.
2012-03-03gdb:Yao Qi9-32/+49
* common/agent.c (agent_loaded_p): New. (agent_look_up_symbols): New global. * common/agent.h: Declare agent_loaded_p. gdb/gdbserver: * Makefile.in (linux-low.o): Keep dependence on agent.h. (linux-x86-low.o): Likewise. * server.h: Remove in_process_agent_loaded. * tracepoint.c (in_process_agent_loaded): Removed. Moved it common/agent.c. Update callers.
2012-03-03gdb:Yao Qi6-9/+98
* common/agent.c (struct ipa_sym_addresses) <addr_capability>: New. (agent_capability_check, agent_capability_invalidate): New. (symbol_list): New array element. * common/agent.h (enum agent_capa): New. * target.c (target_pre_inferior): Call agent_capability_invalidate. gdb/gdbserver: * tracepoint.c (gdb_agent_capability): New global. (in_process_agent_loaded_ust): Renamed to `in_process_agent_supports_ust'. Update callers. (in_process_agent_supports_ust): Call agent_capability_check. (clear_installed_tracepoints): Assert that agent supports agent.
2012-03-03gdb:Yao Qi16-3/+300
* target.h (struct target_ops) <to_use_agent>: New field. (struct target_ops) <to_can_use_agent>: New field. (target_use_agent, target_can_use_agent): New macro. * target.c (update_current_target): Update. * remote.c: New enum `PACKET_QAgent'. (remote_protocol_features): Add a new element. (remote_use_agent, remote_can_use_agent): New. (init_remote_ops): Initialize field `can_use_agent' with remote_can_use_agent. Intiailize field `use_agent' with remote_use_agent. * common/agent.c (use_agent): New global. * common/agent.h: Declare it. * tracepoint.c (info_static_tracepoint_markers_command): Add comment. * Makefile.in (SFILES): Add common/agent.c and agent.c. (COMMON_OBS): Add common/agent.o and agent.o (common-agent.o): New rule. * agent.c: New. gdb/doc: * gdb.texinfo (In-Process Agent): New node. Document new commands. (General Query Packets): Add packet `QAgent'. gdb/gdbserver: * linux-low.c (linux_supports_agent): New. (linux_target_ops): Initialize field `supports_agent' with linux_supports_agent. * target.h (struct target_ops) <supports_agent>: New. (target_supports_agent): New macro. * server.c (handle_general_set): Handle packet 'QAgent'. (handle_query): Send `QAgent+'. * Makefile.in (server.o): Depends on agent.h.