aboutsummaryrefslogtreecommitdiff
path: root/bfd/elf32-i386.c
diff options
context:
space:
mode:
authorMichael Snyder <msnyder@vmware.com>2001-12-20 20:22:17 +0000
committerMichael Snyder <msnyder@vmware.com>2001-12-20 20:22:17 +0000
commitfd29389c60cc4467763e7fe12229c95d31a779e8 (patch)
treecc49c8419d4bb57122ae2e3715d56ad916486a38 /bfd/elf32-i386.c
parent47724592cfbb3b2dbc773c34daf90105000312d2 (diff)
downloadgdb-fd29389c60cc4467763e7fe12229c95d31a779e8.zip
gdb-fd29389c60cc4467763e7fe12229c95d31a779e8.tar.gz
gdb-fd29389c60cc4467763e7fe12229c95d31a779e8.tar.bz2
2001-12-19 Michael Snyder <msnyder@redhat.com>
* elf32-i386.c (elf_i386_grok_psinfo): Fix probable copy-and-paste error: target is i386 (not mips), and size of descdata is 124 (not 128).
Diffstat (limited to 'bfd/elf32-i386.c')
-rw-r--r--bfd/elf32-i386.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bfd/elf32-i386.c b/bfd/elf32-i386.c
index 7d22c6a..236e167 100644
--- a/bfd/elf32-i386.c
+++ b/bfd/elf32-i386.c
@@ -362,7 +362,7 @@ elf_i386_grok_psinfo (abfd, note)
default:
return false;
- case 128: /* Linux/MIPS elf_prpsinfo */
+ case 124: /* Linux/i386 elf_prpsinfo */
elf_tdata (abfd)->core_program
= _bfd_elfcore_strndup (abfd, note->descdata + 28, 16);
elf_tdata (abfd)->core_command