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: [PATCH] Python 3 support, part 1 (non-testsuite part)


Paul> Does that mean that a make cleanup done before the try-catch is not in
Paul> effect within the try-catch?

Yeah.  The try-catch resets the cleanup chain.  I find that cleanups are
a lot easier to reason about when I treat them like C++ destructors --
make them be block scoped as much as possible.

Tom


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