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

Richard Henderson <rth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |rth at gcc dot gnu.org

--- Comment #5 from Richard Henderson <rth at gcc dot gnu.org> ---
Created attachment 9593
  --> https://sourceware.org/bugzilla/attachment.cgi?id=9593&action=edit
proposed patch

I tried with just the nat/linux-ptrace.h hunk, but that wasn't enough
to fix the problem.  We could fix the kernel side to distinguish, but
that gets into version requirements.  It might just be better not to
rely on the kernel for singlestep support at all.

Note that the base alpha_software_single_step should have been using
alpha_deal_with_atomic_sequence, so that we don't get into a different
sort of infinite loop.

-- 
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]