From: Wenbo Yang <wenbo.yang@simplnano.com>
To: gdb@sourceware.org
Subject: How to enable/disable software single-stepping?
Date: Wed, 18 Jul 2007 03:42:00 -0000 [thread overview]
Message-ID: <469D8BB9.90707@simplnano.com> (raw)
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
next reply other threads:[~2007-07-18 3:41 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-07-18 3:42 Wenbo Yang [this message]
2007-07-18 11:22 ` Daniel Jacobowitz
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=469D8BB9.90707@simplnano.com \
--to=wenbo.yang@simplnano.com \
--cc=gdb@sourceware.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox