This is the mail archive of the gdb-patches@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]

TARGET_WAITKIND_NO_RESUMED to string


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);
     }


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]