This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: Is there single step debugging support being added to aarch64-linux?
- From: Yao Qi <qiyaoltc at gmail dot com>
- To: Prafull Suryawanshi <prafull dot net at gmail dot com>
- Cc: pinskia at gmail dot com, Andreas Schwab <schwab at suse dot de>, "gdb\ at sourceware dot org" <gdb at sourceware dot org>
- Date: Mon, 15 Jun 2015 13:51:10 +0100
- Subject: Re: Is there single step debugging support being added to aarch64-linux?
- Authentication-results: sourceware.org; auth=none
- References: <CAJgVtDUtj=s58sBPZyd3x_ExtG=rA3vogMWm9hEPa6h_j-J_Uw at mail dot gmail dot com> <mvmoakh9rz6 dot fsf at hawking dot suse dot de> <CAJgVtDVY-Qvpq1Wa1tEV0+2T4JUfUxhD7+N7DnL9j68pv_k6=w at mail dot gmail dot com> <CAJgVtDX2oXdf8fjE3n34Xe3m2uPrjCHV4ObH+Rspg++nG6knyg at mail dot gmail dot com> <D8AF3977-52F1-4976-8F90-237ADA8FC267 at gmail dot com> <CAJgVtDXpEWCs8oWzDcUydNA4XAQuVFrMffOk824DkTZ1cReHhQ at mail dot gmail dot com>
Prafull Suryawanshi <prafull.net@gmail.com> writes:
> I am not sure why hw stepper not works here (might be limitation of hw
> I am using).
You'd better to check whether hw single step doesn't work in your case.
> That is may be the infrun loops as it never gets stop signal. (the
> output I earlier pasted).
> Is it ok to provide patch for software single step like arm here?
We only implement software single step on the targets don't have
hardware single step capability, like arm.
> (I am preparing one. It will have simulate aarch64 instruction set and
> implement aarch64 version of functions of
> arm_linux_software_single_step, arm_insert_single_step_breakpoint and
> arm_get_next_pc.)
Before you start it, better to get the reason why hw single step doesn't
work on aarch64.
--
Yao (éå)