This is the mail archive of the gdb-patches@sourceware.org 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]
Other format: [Raw text]

Re: [RFA] Remove a cleanup from scm-frame.c


On 2018-04-22 19:47, Tom Tromey wrote:
"Simon" == Simon Marchi <simon.marchi@polymtl.ca> writes:

Simon> This looks good to me at first glance. Do you know if scm exceptions Simon> (scm_throw) play well with C++, the destructors of the objects in the
Simon> exited scopes will correctly be called?

I don't believe so, which is why this patch introduces a new scope.

Tom

Ahh, I didn't catch that initially, and it makes sense with the comment. LGTM then!

Simon


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