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]

Re: Fix reading solaris cores generated with gdb's own gcore.


Whooops, a typo sneaked in.  Fixed with this followup patch.

-- 
Pedro Alves

	* corelow.c (add_to_thread_list): Fix typo.

---
 gdb/corelow.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Index: src/gdb/corelow.c
===================================================================
--- src.orig/gdb/corelow.c	2009-10-09 01:57:27.000000000 +0100
+++ src/gdb/corelow.c	2009-10-09 01:57:41.000000000 +0100
@@ -260,7 +260,7 @@ add_to_thread_list (bfd *abfd, asection 
       lwpid = merged_pid >> 16;
 
       /* This can happen on solaris core, for example, if we don't
-	 find a NT_PRSTATUS note in the core, but do find NT_LWPSTATUS
+	 find a NT_PSTATUS note in the core, but do find NT_LWPSTATUS
 	 notes.  */
       if (pid == 0)
 	{


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