12c878f2cf99de30f8f4937cd02195eadfe2bd943hp.com!davidm/* libunwind - a platform-independent unwind library 266100609bb7fb01811e64318bec3018d0bc9abd5homeip.net!davidm Copyright (C) 2003-2004 Hewlett-Packard Co 32c878f2cf99de30f8f4937cd02195eadfe2bd943hp.com!davidm Contributed by David Mosberger-Tang <davidm@hpl.hp.com> 42c878f2cf99de30f8f4937cd02195eadfe2bd943hp.com!davidm 52c878f2cf99de30f8f4937cd02195eadfe2bd943hp.com!davidmThis file is part of libunwind. 62c878f2cf99de30f8f4937cd02195eadfe2bd943hp.com!davidm 72c878f2cf99de30f8f4937cd02195eadfe2bd943hp.com!davidmPermission is hereby granted, free of charge, to any person obtaining 82c878f2cf99de30f8f4937cd02195eadfe2bd943hp.com!davidma copy of this software and associated documentation files (the 92c878f2cf99de30f8f4937cd02195eadfe2bd943hp.com!davidm"Software"), to deal in the Software without restriction, including 102c878f2cf99de30f8f4937cd02195eadfe2bd943hp.com!davidmwithout limitation the rights to use, copy, modify, merge, publish, 112c878f2cf99de30f8f4937cd02195eadfe2bd943hp.com!davidmdistribute, sublicense, and/or sell copies of the Software, and to 122c878f2cf99de30f8f4937cd02195eadfe2bd943hp.com!davidmpermit persons to whom the Software is furnished to do so, subject to 132c878f2cf99de30f8f4937cd02195eadfe2bd943hp.com!davidmthe following conditions: 142c878f2cf99de30f8f4937cd02195eadfe2bd943hp.com!davidm 152c878f2cf99de30f8f4937cd02195eadfe2bd943hp.com!davidmThe above copyright notice and this permission notice shall be 162c878f2cf99de30f8f4937cd02195eadfe2bd943hp.com!davidmincluded in all copies or substantial portions of the Software. 172c878f2cf99de30f8f4937cd02195eadfe2bd943hp.com!davidm 182c878f2cf99de30f8f4937cd02195eadfe2bd943hp.com!davidmTHE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 192c878f2cf99de30f8f4937cd02195eadfe2bd943hp.com!davidmEXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 202c878f2cf99de30f8f4937cd02195eadfe2bd943hp.com!davidmMERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND 212c878f2cf99de30f8f4937cd02195eadfe2bd943hp.com!davidmNONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE 222c878f2cf99de30f8f4937cd02195eadfe2bd943hp.com!davidmLIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION 232c878f2cf99de30f8f4937cd02195eadfe2bd943hp.com!davidmOF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION 242c878f2cf99de30f8f4937cd02195eadfe2bd943hp.com!davidmWITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ 252c878f2cf99de30f8f4937cd02195eadfe2bd943hp.com!davidm 262c878f2cf99de30f8f4937cd02195eadfe2bd943hp.com!davidm#include "unwind-internal.h" 272c878f2cf99de30f8f4937cd02195eadfe2bd943hp.com!davidm 282c878f2cf99de30f8f4937cd02195eadfe2bd943hp.com!davidmPROTECTED unsigned long 292c878f2cf99de30f8f4937cd02195eadfe2bd943hp.com!davidm_Unwind_GetCFA (struct _Unwind_Context *context) 302c878f2cf99de30f8f4937cd02195eadfe2bd943hp.com!davidm{ 312c878f2cf99de30f8f4937cd02195eadfe2bd943hp.com!davidm unw_word_t val; 322c878f2cf99de30f8f4937cd02195eadfe2bd943hp.com!davidm 332c878f2cf99de30f8f4937cd02195eadfe2bd943hp.com!davidm unw_get_reg (&context->cursor, UNW_REG_SP, &val); 342c878f2cf99de30f8f4937cd02195eadfe2bd943hp.com!davidm return val; 352c878f2cf99de30f8f4937cd02195eadfe2bd943hp.com!davidm} 3666100609bb7fb01811e64318bec3018d0bc9abd5homeip.net!davidm 3766100609bb7fb01811e64318bec3018d0bc9abd5homeip.net!davidmunsigned long __libunwind_Unwind_GetCFA (struct _Unwind_Context *) 3866100609bb7fb01811e64318bec3018d0bc9abd5homeip.net!davidm ALIAS (_Unwind_GetCFA); 39