[PATCH][gdb] Fix internal-error in process_event_stop_test

Tom Tromey tom@tromey.com
Thu Jan 7 20:10:37 GMT 2021


>>>>> "Tom" == Tom de Vries <tdevries@suse.de> writes:

Tom> Fix this by only trying to install the master exception breakpoint in
Tom> libgcc.debug using the _Unwind_DebugHook method, if the install using probes
Tom> in libgcc failed.

This seems like a reasonable idea.

Tom> Any comments?

I suspect this would be a bit shorter if the loop only examined
"primary" objfiles (ones that don't have a backlink) and then delegated
to a helper function that did the search.  What do you think?

Tom


More information about the Gdb-patches mailing list