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] | |
I was wondering what predefined variables, if any, there are in GDB, that can be used when writing a GDB script. Specifically, I want the script to be able to test when the program has finished executing, but any other predefined variables would also be useful, if there is a list somewhere or someone knows them all.
if $_exitcode == (void)0 echo program not finished\n end
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |