On 5/18/21 4:42 PM, Tom Tromey wrote: >>>>>> "Simon" == Simon Marchi via Gdb-patches writes: > > Simon> That sounds useful. I think that "ignore-errors" is a good initial > Simon> name, because it's clear and self-describing. We can always find and > Simon> add a short alias later. > > Fedora has shipped a Python implementation of exactly this for a while now. > So, +1 for this name and approach from me. > > One question is whether it should catch 'quit'. I tend to think not but > it should be considered. > > There is some other prior art too: > > https://sourceware.org/bugzilla/show_bug.cgi?id=8487 > > ignore-errors covers all the uses I've ever wanted personally, though, > so I think it would be fine to just go with that. However if someone is > feeling more maximal, try-catch would also be an ok addition. [ Thanks all for the feedback. Replying to latest email, CC-ing Andrew. ] Changes: - now a proper command - added error reporting - added completion - mention try-catch patch - mention pre-existing implementation on distros - mention quit behaviour. I'm doing a build & reg-test now. Thanks, - Tom