Fix reading solaris cores generated with gdb's own gcore.
Pedro Alves
pedro@codesourcery.com
Fri Oct 9 01:01:00 GMT 2009
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)
{
More information about the Gdb-patches
mailing list