Messages in this thread | | | Date | Wed, 3 Feb 1999 08:00:59 +0100 (CET) | From | MOLNAR Ingo <> | Subject | Re: enable_irq() unbalanced from 00000005 |
| |
On Wed, 3 Feb 1999, Andrea Arcangeli wrote:
> > which breaks __builtin_return_address(0). > > Here __builtin_return_address(0) doesn't use the frame-pointer (%ebp) at > all. It gets the address of the caller from %esp that obviously has to > remain valid since first or before you have to run `ret`. So as you are > able to run `ret` you are able to grab the return address of the function > at any time even without a frame pointer.
oops, then it was higher-order (eg. __builtin_return_address(1)) that works only with a valid %ebp frame pointer. anyway, a show() function probably shows us more about the call path of the process.
-- mingo
- 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/
| |