This is the mail archive of the gdb@sources.redhat.com 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] |
On Thu, Apr 17, 2003 at 04:11:38PM -0700, Smita wrote:
Hi, Is it possible to capture return value of a gdb command (status=error or success)? What I want to do is: (gdb) <gdb-command> (gdb) if status of <gdb-command> == SUCCESS then do-something else do-something-else end (gdb)
Is it posible to do this?
Not right now, no.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |