Request for Exception Handling Table Information

Mike Ludwig mike_ludwig@hotmail.com
Thu Feb 3 15:36:00 GMT 2000


I have a couple of questions here:
1) In the file eh_common.h there is the following structures:
typedef struct old_exception_table
{
  void *start_region;
  void *end_region;
  void *exception_handler;
} old_exception_table;

typedef struct exception_table
{
  void *start_region;
  void *end_region;
  void *exception_handler;
  void *match_info;              /* runtime type info */
} exception_table;
Also in the file except.c there is "Future Direction" talk about adding type 
information to the exception handling tables.  When I use GCC (egcs-2.91.66) 
and look at __EXCEPTION_TABLE__ there appear to be only three fields per 
entry.  So my question here is there a target date for when the new 
exception handling format will be available and is it's 
behaviour/information required documented?

2) When looking at the code for throw and catch there appear to be calls to 
routines like __tfi (depends on type) and __cp_push_exception is there a 
place where it is documented what calls have to be done (for throw and 
catch), in what order, with what parameters, and what each call is supposed 
to do?

Thanks,
Mike.

______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com



More information about the Gcc mailing list