This is the mail archive of the gdb-patches@sourceware.cygnus.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Generic g++ exception catch/throw support



Daniel wrote:
> Using this patch, you can get generic g++ exception catch/throw support
> (using catch catch and catch throw).

Some comments...

* This won't work on platforms using sjlj exceptions.  throw_helper
  only exists on targets using PC range table style exceptions.

* I don't see __start_cp_handler in the mainline libgcc sources.  Is
  this something special in the BeOS libgcc?

* Once these issues are sorted out, the GCC people should be told that
  gdb intends to use these functions as hooks.  We can comment the
  libgcc sources then to make sure people think twice before
  modifying them.

AG

-- 
Anthony Green                                                        Red Hat
                                                       Sunnyvale, California

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]