TARGET_WAITKIND_NO_RESUMED to string
Pedro Alves
pedro@codesourcery.com
Thu Nov 10 20:13:00 GMT 2011
I just noticed I missed teaching target_waitstatus_to_string
how to TARGET_WAITKIND_NO_RESUMED => string.
infrun: target_wait (-1, status) =
infrun: -1 [process -1],
-infrun: status->kind = unknown???
+infrun: status->kind = no-resumed
Applied.
--
Pedro Alves
2011-11-10 Pedro Alves <pedro@codesourcery.com>
gdb/
* target.c (target_waitstatus_to_string): Handle
TARGET_WAITKIND_NO_RESUMED.
---
gdb/target.c | 2 ++
1 file changed, 2 insertions(+)
Index: src/gdb/target.c
===================================================================
--- src.orig/gdb/target.c 2011-11-07 12:37:44.000000000 +0000
+++ src/gdb/target.c 2011-11-10 19:59:00.162186815 +0000
@@ -3443,6 +3443,8 @@ target_waitstatus_to_string (const struc
return xstrprintf ("%signore", kind_str);
case TARGET_WAITKIND_NO_HISTORY:
return xstrprintf ("%sno-history", kind_str);
+ case TARGET_WAITKIND_NO_RESUMED:
+ return xstrprintf ("%sno-resumed", kind_str);
default:
return xstrprintf ("%sunknown???", kind_str);
}
More information about the Gdb-patches
mailing list