Re: gdb -batch always exits with status 0
Paul Smith <[email protected]>
| Newsgroups | gmane.comp.gdb.devel |
|---|---|
| Message-ID | <[email protected]> |
On Fri, 2018-08-17 at 12:03 +0100, Gary Benson wrote: > Paul, Ruslan, would it be acceptable to you if I: > > 1) changed the default behaviour to exit 1 on the first error > 2) added an option (e.g. -ignore-errors) to revert to the current > behaviour. [I'm on vacation until next week so may not be responding immediately] Well it would not be ideal as I'd need to go through all my scripts etc. and modify them to add an extra argument. I guess I'm not really sure why we want to change the default behavior here. Do we have people requesting this change? I haven't seen a groundswell of people saying they were confused becuase they expected a different behavior, and the current behavior has good and useful reasons for existing (i.e., not just an oversight). Wouldn't the most sensible/least impactful way forward be to leave the current behavior as-is, and then if people want a different behavior add a new option they can use to request it? However, I'm not doing the work so if that's the way GDB devs want to have it work I will change my usage. Cheers!