This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
When the program deos terminate $_exitcode is assigned a value, and so checking if it is void causes a type error, and the error stops the script running. I was wondering if there was any way to get around this.
set $_exitcode = 99999 while $_exitcode == 99999 ... end
In a similar vein, when the checkpoint is restored, $_exitcode still has a value, but I would like to be able to delete the convenience variable so that the script may be executed again.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |