lkml.org 
[lkml]   [2008]   [Apr]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: kgdb with sw single-step...
From
From: Jason Wessel <jason.wessel@windriver.com>
Date: Tue, 29 Apr 2008 10:01:38 -0500

> I don't think you have to actually change gdb, because for sparc64 gdb
> is set to "set_gdbarch_software_single_step (gdbarch, NULL);" This
> means it is always going to ask the stub to perform the single
> stepping.

You're reading the wrong code.

The generic sparc stuff in sparc-tdep.c sets it to
sparc_software_single_step.

Only the Solaris specific sparc target code in sparc-sol2-tdep.c
overrides this setting to NULL.


\
 
 \ /
  Last update: 2008-04-30 00:39    [W:0.037 / U:0.496 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site