This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: Fix reading solaris cores generated with gdb's own gcore.
- From: Pedro Alves <pedro at codesourcery dot com>
- To: gdb-patches at sourceware dot org
- Date: Fri, 9 Oct 2009 02:01:44 +0100
- Subject: Re: Fix reading solaris cores generated with gdb's own gcore.
- References: <200910090156.40778.pedro@codesourcery.com>
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)
{