* How to enable/disable software single-stepping?
@ 2007-07-18 3:42 Wenbo Yang
2007-07-18 11:22 ` Daniel Jacobowitz
0 siblings, 1 reply; 2+ messages in thread
From: Wenbo Yang @ 2007-07-18 3:42 UTC (permalink / raw)
To: gdb
Hi all,
Is there any command to enable/disable software single-stepping? Or say how to
enable/disable 's' packet while remote debugging?
My problem is:
I have a simulator integrated gdbserver which supports 's' packet. But the STUB
doesn't. What I want is to enable 's' packet while connecting to gdbserver and
disable it while connecting to STUB. I have tried answer "vCont;s;c" to "vCont?"
request. It didn't work. I found the only way to enable 's' packet is don't
register software_single_step function to gdbarch in target dependent file.
However, that means I need two GDB binary, which I don't want.
Any ideas?
Thanks,
Wenbo
--
Wenbo Yang
The State Key Lab. of Information Security
Graduate School of CAS, 19A Yuquan Road, Beijing, China
Homepage: http://solrex.cn
SimpLight Nanoelectronics Ltd. 6 Zhichun Road, 10th Floor, Beijing, China
Phone: +86-10-5126-6989 --- Email: wenbo.yang@simplnano.com
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: How to enable/disable software single-stepping?
2007-07-18 3:42 How to enable/disable software single-stepping? Wenbo Yang
@ 2007-07-18 11:22 ` Daniel Jacobowitz
0 siblings, 0 replies; 2+ messages in thread
From: Daniel Jacobowitz @ 2007-07-18 11:22 UTC (permalink / raw)
To: Wenbo Yang; +Cc: gdb
On Wed, Jul 18, 2007 at 11:40:41AM +0800, Wenbo Yang wrote:
> Any ideas?
There is no way to do this, yet.
--
Daniel Jacobowitz
CodeSourcery
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2007-07-18 11:10 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-07-18 3:42 How to enable/disable software single-stepping? Wenbo Yang
2007-07-18 11:22 ` Daniel Jacobowitz
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox