"Michel" == Michel METZGER <michel.metzger@st.com> writes:
Michel> I was wondering if it was possible to run gdb in batch mode and force
Michel> it to execute the entire script I provide with --command even if
Michel> it contains errors. I want to test the error handling of our new
Michel> commands and it would be really helpful!
Not that I know of, sorry.
If you control the contents of the file, you could do something ugly
like run each separate command through 'python' and have it use
try/catch around gdb.execute.
Tom