Changeset 3fc03fd in mainline for arch/ia32/include/debug.h


Ignore:
Timestamp:
2005-12-14T20:34:15Z (20 years ago)
Author:
Ondrej Palkovsky <ondrap@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
dc747e3
Parents:
d91e54b
Message:

Better gcc CALLER implementation

File:
1 edited

Legend:

Unmodified
Added
Removed
  • arch/ia32/include/debug.h

    rd91e54b r3fc03fd  
    3232#include <arch/asm.h>
    3333
    34 /** Return caller of this function
    35  *
    36  * @param first_arg First argument of the function
    37  */
    38 #define CALLER(first_arg)        ((__address *) &first_arg)[-1];
    39 
    4034#define HERE get_ip()
    4135
Note: See TracChangeset for help on using the changeset viewer.