RE: [LIP] macros to print register variables.
Y Giridhar Appaji Nag <[email protected]>
| Newsgroups | gmane.user-groups.linux.india.programmers |
|---|---|
| Message-ID | <80A07E7023257741B258296933B7426C221268@ubiinmbx01.ubinetics.co.in> |
suresh kumar wrote: > stack pointer, base pointer etc... using the macros _AX,_BX etc... I > hope some thing similar to be available in gcc also, If ne one knows Check out the Assembly-HOWTO. Not sure about macros, but that'll tell you how to use inline assembly in C programs to do what you want. > __FILE__ to print the file name in which this is called. Is there ne > macro to get the function name that called the current function in gcc supports the __FUNCTION__ and __PRETTY_FUNCTION__ macros for doing this. > which this macro is used. Kindly direct me to a document if it is info gcc, Assembly-HOWTO Giridhar -- Y Giridhar Appaji Nag Giridhar.Nag(@t)ubinetics[.]co.in Controversy is wasteful, but lays things out, shows where people stand, (or refuse to), is a necessary yardstick of opinion, and is, heavenly compared to the alternative of being a helpless silent passive tool of anybody loud and obnoxious who knows how to bark at some sheep. - Alfie Costa on debian-project an individual are not necessarily those of UbiNetics ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/