This is the mail archive of the gdb-prs@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug gdb/19061] gdb-7.10 hangs/spins-on-cpu when debugging any program on Alpha


https://sourceware.org/bugzilla/show_bug.cgi?id=19061

--- Comment #10 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot gnu.org> ---
The gdb-8.0-branch branch has been updated by Pedro Alves
<palves@sourceware.org>:

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=bd496067387a9c89a7e62bbba76e784634936932

commit bd496067387a9c89a7e62bbba76e784634936932
Author: Richard Henderson <rth@redhat.com>
Date:   Wed Jan 3 15:14:12 2018 +0000

    Fix PR19061, gdb hangs/spins-on-cpu when debugging any program on Alpha

    This fixes PR19061, where gdb hangs/spins-on-cpu when debugging any
    program on Alpha.

    (This patch is Uros' forward port of the patch from comment #5
    of the PR [1].)

    Patch was tested on alphaev68-linux-gnu, also tested with gcc's
    testsuite, where it fixed all hangs in guality.exp and
    simulate-thread.exp testcases.

    [1] https://sourceware.org/bugzilla/show_bug.cgi?id=19061#c5

    gdb/ChangeLog:
    2018-01-03  Richard Henderson  <rth@redhat.com>
            Uros Bizjak  <ubizjak@gmail.com>

        PR gdb/19061
        * alpha-tdep.c (alpha_deal_with_atomic_sequence): Change
        prototype.
        (alpha_software_single_step): Call alpha_deal_with_atomic_sequence
        here.
        (set_gdbarch_software_single_step): Set to
        alpha_software_single_step.
        * nat/linux-ptrace.h [__alpha__]: Define GDB_ARCH_IS_TRAP_BRKPT
        and GDB_ARCH_IS_TRAP_HWBKPT.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]