GDB needs a --cmdline option
Thu May 11 06:22:00 GMT 2000
> Date: Wed, 10 May 2000 16:43:22 -0400
> From: Fernando Nasser <email@example.com>
> Gdb will silently exit on program exit, with the same return code
> as the inferior ended.
It might be a good idea to give users control on this particular
aspect. I can imagine situations where a user would want gdb to not
exit if, e.g., the program returned a non-zero status.
More information about the Gdb-patches