This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Questions about software/hardware single step
- From: Jie Zhang <jzhang918 at gmail dot com>
- To: gdb at sources dot redhat dot com
- Date: Thu, 18 Aug 2005 21:27:09 +0800
- Subject: Questions about software/hardware single step
Hi,
We are porting GDB to Blackfin. Currently, we have two kinds of the target.
1. Simuator which does not support single step.
2. Hardware board which supports hardware single step.
So we have to use software single step for simulator. And we expect to
use hardware single step for hardware board.
Question:
Is it possible to choose between software single step and hardware
single step depending on if hardware single step is available on target?
I searched the mailing list and found this
<http://sourceware.org/ml/gdb/2001-09/msg00179.html>. I took a look at
gdbarch.*. It seems that no one has implemented it in the last 4 years.
Right?
Thanks,
Jie