This is the mail archive of the gdb@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: need of SOFTWARE_SINGLE_STEP


>>>>> "debashis" == debashis mahata <debashis.mahata@wipro.com> writes:
debashis> I am just a new comer in GDB internals. I have a doubt
debashis> regarding the necessity of SOFTWARE_SINGLE_STEP in the
debashis> function resume() (file: infrun.c). My working platform is
debashis> Sparc- Solaris 5.8 and going through the code of GDB
debashis> 4.18. The question is :

If I recall correctly, kernel single-step support is a relatively new
feature in Solaris.  If you know that you'll only run GDB on versions
that support it, you probably can get away with disabling SOFTWARE_-
SINGLE_STEP_P locally.  I'm not sure what would be required to get it
into the mainline GDB.  It would either have to be a new config, or 
be able to determine whether or not kernel single-step is available
at run-time.

        --jtc

-- 
J.T. Conklin
RedBack Networks


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]