Re: Finding stack frames on ix86

From: Marc Lehmann (pcg@goof.com)
Date: Tue May 09 2000 - 22:20:04 EST


On Tue, May 09, 2000 at 07:02:01PM +1000, Keith Owens <kaos@ocs.com.au> wrote:
> (1) and (2) should always be safe. (3) will have false positives if it
> has not been overwritten yet. AFAICT there is nothing I can do about
> that.

The exception unwinding information gcc outputs (or can be made to output)
could be used to reliably find stack frames (gcc itself has to do this
reliably).

At least for a debugging build this might eb a viable path to follow.

-- 
      -----==-                                             |
      ----==-- _                                           |
      ---==---(_)__  __ ____  __       Marc Lehmann      +--
      --==---/ / _ \/ // /\ \/ /       pcg@opengroup.org |e|
      -=====/_/_//_/\_,_/ /_/\_\       XX11-RIPE         --+
    The choice of a GNU generation                       |
                                                         |

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Mon May 15 2000 - 21:00:15 EST