From: Rod Armstrong (rod_at_san-jose.tt.slb.com)
Date: Thu Oct 15 1998 - 21:57:27 BST
The solution to stepping into a function when there is a service routine triggered by SIG_ALARM is to reselect the function that you were trying to step from, either by clicking on the stack, or using the UP button, and press step again. If the timer is quite short, of the order of just a few seconds, you may not be able to do it in time - in which case just put a breakpoint in the desired function, and set the signal to "accept and continue". "Accept" means that the target get passed the signal, "continue" means that ups does not stop. You probably don't want to use "ignore", as then the target never gets the signal. The step behaviour of ups changed a while back so as to better handle stepping between shared libraries and into C++ methods and the like. Rather than trying to figure out where the target may be stepping to, and putting a temporary breakpoint there, it single steps the target at a low level until it gets to a function that ups knows about. You can tell ups to use the older method by setting the NonFrameFunctions resource to true.
This archive was generated by hypermail 2.1.4 : Wed Feb 13 2002 - 21:51:32 GMT