Subject: GDB seems to work now (Was: CVS commit: src/gnu)
To: None <port-sh3@netbsd.org>
From: Valeriy E. Ushakov <uwe@ptc.spbu.ru>
List: port-sh3
Date: 10/31/2003 06:10:21
On Fri, Oct 31, 2003 at 03:31:27 +0300, Valeriy E. Ushakov wrote:

> FYI:
> 
> On Fri, Oct 31, 2003 at 00:11:27 +0000, Valeriy E. Ushakov wrote:
> 
[...]
> > Log Message:
> > First cut at implementing software single stepping for sh3.  We need
> > it because sh3 ports don't provide PT_STEP.  It is finally possible to
> > run programs under gdb now, though there are still issues to be
> > resolved.  It was deemed useful enough to commit early, while the work
> > is still in progress.  Tested on hpcsh.
> 
> As the committ message says, it still has issues, but at least you can
> actually launch an inferior under gdb, set breakpoints, step, etc.

With sys/arch/sh3/sh3/exception.c revision 1.14 gdb 5.3 seems to
actually work for static and dynamic binaries.

Enjoy!

SY, Uwe
-- 
uwe@ptc.spbu.ru                         |       Zu Grunde kommen
http://www.ptc.spbu.ru/~uwe/            |       Ist zu Grunde gehen