diff options
Diffstat (limited to 'gdb/gdbserver/target.h')
-rw-r--r-- | gdb/gdbserver/target.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/gdb/gdbserver/target.h b/gdb/gdbserver/target.h index 6c9a4d7..9ee87a2 100644 --- a/gdb/gdbserver/target.h +++ b/gdb/gdbserver/target.h @@ -81,9 +81,11 @@ struct target_ops /* Wait for the inferior process to change state. - STATUSP will be filled in with a response code to send to GDB. + STATUS will be filled in with a response code to send to GDB. - Returns the signal which caused the process to stop. */ + Returns the signal which caused the process to stop, in the + remote protocol numbering (e.g. TARGET_SIGNAL_STOP), or the + exit code as an integer if *STATUS is 'W'. */ unsigned char (*wait) (char *status); |