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: [3/5] RFC: fix bug in gdbpy_find_pc_line


>>>>> "Tom" == Tom Tromey <tromey@redhat.com> writes:

Tom> The checker pointed out that gdbpy_find_pc_line calls some gdb functions
Tom> outside of TRY_CATCH.  In particular I think at least find_pc_line can
Tom> throw.

Tom> 	* python/python.c (gdbpy_find_pc_line): Call find_pc_line
Tom> 	inside TRY_CATCH.

I'm checking this in now.

Tom


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