summaryrefslogtreecommitdiff
path: root/gdb/sparcnbsd-nat.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/sparcnbsd-nat.c')
-rw-r--r--gdb/sparcnbsd-nat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/sparcnbsd-nat.c b/gdb/sparcnbsd-nat.c
index 01089eeef32..fa663f2478c 100644
--- a/gdb/sparcnbsd-nat.c
+++ b/gdb/sparcnbsd-nat.c
@@ -38,7 +38,7 @@ sparc32nbsd_supply_pcb (struct regcache *regcache, struct pcb *pcb)
{
/* The following is true for NetBSD 1.6.2:
- The pcb contains %sp, %sp, %psr and %wim. From this information
+ The pcb contains %sp, %pc, %psr and %wim. From this information
we reconstruct the register state as it would look when we just
returned from cpu_switch(). */