This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: need of SOFTWARE_SINGLE_STEP
- To: "debashis mahata" <debashis dot mahata at wipro dot com>
- Subject: Re: need of SOFTWARE_SINGLE_STEP
- From: jtc at redback dot com (J.T. Conklin)
- Date: 18 Jun 2001 08:53:53 -0700
- Cc: "gdb" <gdb at sourceware dot cygnus dot com>
- References: <001e01c0f7f8$b6406f00$5dcda8c0@8420044-mahatad.wipro.com>
- Reply-To: jtc at redback dot com
>>>>> "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