mirror of
git://gcc.gnu.org/git/gcc.git
synced 2024-12-24 21:09:39 +08:00
libgcc-std.ver (_Unwind_Find_Enclosing_Function): Add.
2002-11-25 Andrew Haley <aph@redhat.com> * libgcc-std.ver (_Unwind_Find_Enclosing_Function): Add. * config/ia64/unwind-ia64.c (_Unwind_Find_Enclosing_Function): New. * unwind-sjlj.c (_Unwind_Find_Enclosing_Function): Likewise. * unwind-dw2.c (_Unwind_Find_Enclosing_Function): Likewise. From-SVN: r59460
This commit is contained in:
parent
b4bbc8b7d3
commit
5dafd28231
@ -1,3 +1,10 @@
|
||||
2002-11-25 Andrew Haley <aph@redhat.com>
|
||||
|
||||
* libgcc-std.ver (_Unwind_Find_Enclosing_Function): Add.
|
||||
* config/ia64/unwind-ia64.c (_Unwind_Find_Enclosing_Function): New.
|
||||
* unwind-sjlj.c (_Unwind_Find_Enclosing_Function): Likewise.
|
||||
* unwind-dw2.c (_Unwind_Find_Enclosing_Function): Likewise.
|
||||
|
||||
2002-11-24 Kazu Hirata <kazu@cs.umass.edu>
|
||||
|
||||
* config/h8300/h8300.c (h8300_init_once): Fix a typo in the
|
||||
|
@ -1642,6 +1642,12 @@ _Unwind_GetRegionStart (struct _Unwind_Context *context)
|
||||
return context->region_start;
|
||||
}
|
||||
|
||||
void *
|
||||
_Unwind_Find_Enclosing_Function (void *pc)
|
||||
{
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
||||
static _Unwind_Reason_Code
|
||||
uw_frame_state_for (struct _Unwind_Context *context, _Unwind_FrameState *fs)
|
||||
|
@ -158,6 +158,7 @@ GCC_3.0 {
|
||||
_Unwind_Resume
|
||||
_Unwind_SetGR
|
||||
_Unwind_SetIP
|
||||
_Unwind_Find_Enclosing_Function
|
||||
__deregister_frame
|
||||
__deregister_frame_info
|
||||
__deregister_frame_info_bases
|
||||
|
@ -202,6 +202,17 @@ _Unwind_GetRegionStart (struct _Unwind_Context *context)
|
||||
return (_Unwind_Ptr) context->bases.func;
|
||||
}
|
||||
|
||||
void *
|
||||
_Unwind_Find_Enclosing_Function (void *pc)
|
||||
{
|
||||
struct dwarf_eh_bases bases;
|
||||
struct dwarf_fde *fde = _Unwind_Find_FDE (pc-1, &bases);
|
||||
if (fde)
|
||||
return bases.func;
|
||||
else
|
||||
return NULL;
|
||||
}
|
||||
|
||||
#ifndef __ia64__
|
||||
_Unwind_Ptr
|
||||
_Unwind_GetDataRelBase (struct _Unwind_Context *context)
|
||||
|
@ -208,6 +208,12 @@ _Unwind_GetRegionStart (struct _Unwind_Context *context __attribute__((unused))
|
||||
return 0;
|
||||
}
|
||||
|
||||
void *
|
||||
_Unwind_Find_Enclosing_Function (void *pc)
|
||||
{
|
||||
return NULL;
|
||||
}
|
||||
|
||||
#ifndef __ia64__
|
||||
_Unwind_Ptr
|
||||
_Unwind_GetDataRelBase (struct _Unwind_Context *context __attribute__((unused)) )
|
||||
|
Loading…
Reference in New Issue
Block a user