On 1/7/21 9:10 PM, Tom Tromey wrote: >>>>>> "Tom" == Tom de Vries 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? I've made the loop now over "primary" objfiles. Also, I've split up the helper function into one using probes, and the other using the hook, which hopefully helps to make the code a bit clearer. I'll put this through testing and commit, unless there are further comments. Thanks, - Tom