From mboxrd@z Thu Jan 1 00:00:00 1970 From: jtc@redback.com (J.T. Conklin) To: "debashis mahata" Cc: "gdb" Subject: Re: need of SOFTWARE_SINGLE_STEP Date: Mon, 18 Jun 2001 08:54:00 -0000 Message-id: <5md781n5ri.fsf@jtc.redback.com> References: <001e01c0f7f8$b6406f00$5dcda8c0@8420044-mahatad.wipro.com> X-SW-Source: 2001-06/msg00157.html >>>>> "debashis" == debashis mahata 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