2011-08-15 Ulrich Weigand <email address hidden>
gdb/
* version.in: Bump version.
2011-08-15 Ulrich Weigand <email address hidden>
GDB Linaro 7.3-2011.08 released.
gdb/
* version.in: Update.
2011-08-12 Ulrich Weigand <email address hidden>
Fix LP #804401
Backport from mainline:
2011-08-12 Ulrich Weigand <email address hidden>
gdb/testsuite/
* gdb.threads/pthreads.exp: Enable on non-native configurations.
* gdb.mi/mi-pthreads.exp: Likewise.
* gdb.mi/mi2-pthreads.exp: Likewise.
* gdb.mi/gdb669.exp.exp: Likewise.
2011-08-04 Ulrich Weigand <email address hidden>
Fix LP #804396
Backport from mainline:
2011-08-04 Ulrich Weigand <email address hidden>
gdb/testsuite/
* gdb.threads/thread-find.exp: Support remote targets.
2011-08-04 Ulrich Weigand <email address hidden>
gdb/testsuite/
* gdb.base/nostdlib.exp: Skip on gdb_stub targets.
* gdb.base/watch-vfork.exp: Skip on remote targets.
2011-08-04 Ulrich Weigand <email address hidden>
Fix LP #804387
Backport from mainline:
2011-08-04 Ulrich Weigand <email address hidden>
gdb/testsuite/
* gdb.base/jit.exp: Download solib_binfile to target.
* gdb.base/jit-so.exp: Likewise. Also, use gdb_load_shlibs
and call dlopen without full path name.
* gdb.cp/infcall-dlopen.exp: Use gdb_load_shlibs and call
dlopen without full path name.
2011-08-04 Ulrich Weigand <email address hidden>
Fix LP #804396
Backport from mainline:
2011-07-22 Ulrich Weigand <email address hidden>
gdb/testsuite/
* gdb.python/py-breakpoint.exp: Re-set can-use-hw-watchpoints
flag after restarting GDB if necessary.
2011-06-28 Yao Qi <email address hidden>
gdb/testsuite/
* gdb.cp/exception.cc: Don't include iostream.
(bar): Remove print statement.
(catcher): New.
(main): Remove print statements. Call function catcher.
* gdb.cp/exception.exp : Don't match inferior's output in regexp.
Set breakpoint on catcher, and check the value of parameter.
2011-06-23 Yao Qi <email address hidden>
gdb/testsuite/
* gdb.threads/execl.exp: Skip on remote target.
2011-06-14 Yao Qi <email address hidden>
gdb/testsuite/
* gdb.threads/ia64-sigill.exp: Remove "set debug lin-lwp 1".
2011-08-04 Ulrich Weigand <email address hidden>
Fix LP #804392
Backport from mainline:
2011-07-26 Ulrich Weigand <email address hidden>
gdb/testsuite/
* gdb.python/py-mi.exp: Avoid '+' in filenames. Call C version of
executable file "${binfile}", C++ version "${binfile}-cxx".
* gdb.python/py-prettyprint.exp: Likewise.
* gdb.python/py-symbol.exp: Likewise.
* gdb.python/py-type.exp: Likewise.
* gdb.python/py-value.exp: Likewise.
* gdb.python/py-template.exp (test_template_arg): Pass full executable
file name instead of just suffix.
2011-07-22 Ulrich Weigand <email address hidden>
gdb/testsuite/
* gdb.python/py-mi.exp: Use different file names for different
versions of the executable under test.
* gdb.python/py-prettyprint.exp: Likewise.
* gdb.python/py-symbol.exp: Likewise.
* gdb.python/py-template.exp: Likewise.
* gdb.python/py-type.exp: Likewise.
* gdb.python/py-value.exp: Likewise.
2011-08-04 Ulrich Weigand <email address hidden>
Fix LP #804387
Backport from mainline:
2011-07-22 Ulrich Weigand <email address hidden>
gdb/testsuite/
* gdb.python/py-shared.exp: Call gdb_load_shlibs.
2011-07-15 Ulrich Weigand <email address hidden>
gdb/testsuite/
* gdb.base/type-opaque.exp: Use gdb_load_shlibs. Run test on
remote targets as well.
2011-07-15 Ulrich Weigand <email address hidden>
gdb/testsuite/
* lib/gdb.exp (gdb_compile_shlib_pthreads): New helper.
* gdb.threads/tls-shared.exp: Use it. Call gdb_load_shlibs.
2011-07-15 Ulrich Weigand <email address hidden>
gdb/testsuite/
* lib/gdb.exp (gdb_compile): Specify rpath if the *target* is
a remote machine, not the host.
(gdb_compile_shlib): Set soname if target is remote.
2011-08-02 Ulrich Weigand <email address hidden>
Fix LP #615996
gdb/testsuite/
* gdb.cp/templates.exp: Update KFAIL patterns for PR 8216 to
also accept the ARM ABI.
2011-08-02 Ulrich Weigand <email address hidden>
Fix LP #615972
Backport from mainline:
include/elf/
* common.h (NT_ARM_VFP): Define.
bfd/
* elf-bfd.h (elfcore_write_arm_vfp): Add prototype.
* elf.c (elfcore_grok_arm_vfp): New function.
(elfcore_grok_note): Call it to handle NT_ARM_VFP notes.
(elfcore_write_arm_vfp): New function.
(elfcore_write_register_note): Call it to handle .reg-arm-vfp.
gdb/
* arm-linux-tdep.c: Include "auxv.h".
(AT_HWCAP): Define.
(ARM_LINUX_SIZEOF_VFP): Define.
(arm_linux_supply_vfp): New function.
(arm_linux_collect_vfp): Likewise.
(arm_linux_regset_from_core_section): Handle .reg-arm-vfp sections.
(arm_linux_fpa_regset_sections): New variable.
(arm_linux_vfp_regset_sections): Likewise.
(arm_linux_core_read_description): New function.
(arm_linux_init_abi): Install arm_linux_core_read_description and
arm_linux_fpa_regset_sections or arm_linux_vfp_regset_sections as
appropriate for the architecture.
* arm-tdep.h (struct gdbarch_tdep): Add member "vfpregset".
(tdesc_arm_with_m): Declare.
(tdesc_arm_with_iwmmxt): Likewise.
(tdesc_arm_with_vfpv2): Likewise.
(tdesc_arm_with_vfpv3): Likewise.
(tdesc_arm_with_neon): Likewise.
* arm-linux-nat.c: Move features/*.c includes ...
* arm-tdep.c: ... here.
* arm-linux-nat.c (arm_linux_read_description): Move initializing
target description data structures ...
* arm-tdep.c (_initialize_arm_tdep): ... here.
* arm-linux-nat.c (HWCAP_VFP, HWCAP_IWMMXT, HWCAP_NEON, HWCAP_VFPv3,
HWCAP_VFPv3D16): Move definitions ...
* arm-linux-tdep.h: ... here.
2011-08-02 Ulrich Weigand <email address hidden>
Fix LP #615978
Backport from mainline:
2011-04-28 Ulrich Weigand <email address hidden>
gdb/
* infrun.c (proceed): Revert previous change.
(resume): Instead, handle the case of signal delivery while stepping
off a breakpoint location here, and only if software single-stepping
is used. Handle nested signals.
gdb/testsuite/
* gdb.base/signest.exp: New file.
* gdb.base/signest.c: Likewise.
2011-04-27 Ulrich Weigand <email address hidden>
gdb/
* infrun.c (proceed): Do not single-step into signal delivery
when stepping off a breakpoint location.
(insert_step_resume_breakpoint_at_frame): Move prototype earlier.
(insert_step_resume_breakpoint_at_caller): Likewise.
(insert_step_resume_breakpoint_at_sal): Likewise.
(insert_longjmp_resume_breakpoint): Likewise.
gdb/testsuite/
* gdb.base/annota1.exp: Accept breakpoints-invalid annotation
while delivering signal.
2011-04-27 Joel Brobecker <email address hidden>
gdb/
* procfs.c (procfs_pass_signals): Fix advance declaration.
2011-04-27 Ulrich Weigand <email address hidden>
gdb/
* target.h (struct target_ops): Remove to_notice_signals;
add to_pass_signals.
(target_notice_signals): Remove.
(target_pass_signals): Add prototype.
* target.c (update_current_target): Remove to_notice_signals;
mention to_pass_signals.
(target_pass_signals): New function.
(debug_to_notice_signals): Remove.
(setup_target_debug): Do not install debug_to_notice_signals.
* infrun.c (signal_pass): New global.
(resume): Call target_pass_signals.
(handle_inferior_event): Report all signals while stepping over
non-steppable watchpoint. Reset trap_expected to ensure breakpoints
are re-inserted when stepping over a signal handler.
(signal_cache_update): New function.
(signal_stop_update): Call it.
(signal_print_update): Likewise.
(signal_pass_update): Likewise.
(handle_command): Call signal_cache_update and target_pass_signals
instead of target_notice_signals.
(_initialize_infrun): Initialize signal_pass.
* linux-nat.c (pass_mask): New global.
(linux_nat_pass_signals): New function.
(linux_nat_create_inferior): Report all signals initially.
(linux_nat_attach): Likewise.
(linux_nat_resume): Use pass_mask to decide whether to directly
handle an inferior signal.
(linux_nat_wait_1): Likewise.
(linux_nat_add_target): Install to_pass_signals callback.
* nto-procfs.c (notice_signals): Remove.
(procfs_resume): Do not call notice_signals.
(procfs_notice_signals): Remove.
(procfs_pass_signals): New function.
(init_procfs_ops): Install to_pass_signals callback instead of
to_notice_signals callback.
(_initialize_procfs): Report all signals initially.
* procfs.c (procfs_notice_signals): Remove.
(procfs_pass_signals): New function.
(procfs_target): Install to_pass_signals callback instead of
to_notice_signals callback.
(register_gdb_signals): Remove.
(procfs_debug_inferior): Report all signals initially.
(procfs_init_inferior): Remove redundant register_gdb_signals call.
* remote.c (remote_pass_signals): Add numsigs and pass_signals
parameters; use them instead of calling signal_..._state routines.
(remote_notice_signals): Remove.
(remote_start_remote): Report all signals initially.
(remote_resume): Do not call remote_pass_signals.
(_initialize_remote): Install to_pass_signals callback instead of
to_notice_signals callback.
2011-04-26 Aleksandar Ristovski <email address hidden>
gdb/
* nto-procfs.c (procfs_insert_hw_watchpoint): Fix prototype.
(procfs_remove_hw_watchpoint): Likewise.
2011-08-02 Ulrich Weigand <email address hidden>
* src-release: Support gdb-linaro packages.
gdb/
* version.in: Set to Linaro GDB version number.
* configure.ac (PKGVERSION, BUGURL): Refer to Linaro.
* configure: Regenerate.
gdb/gdbserver/
* configure.ac (PKGVERSION, BUGURL): Refer to Linaro.
* configure: Regenerate.