diff options
author | Jason Thorpe <thorpej@netbsd.org> | 2002-04-01 18:31:46 +0000 |
---|---|---|
committer | Jason Thorpe <thorpej@netbsd.org> | 2002-04-01 18:31:46 +0000 |
commit | d2b645005b08c5a9ac48b4e1f5266a25c7716ed4 (patch) | |
tree | 3bf4bc93108cd7d6fe0c1d68ce88bbd1d39a70e9 /bfd/elf.c | |
parent | e36f7d53260cec6075ceb05e036782a85257739b (diff) | |
download | gdb-d2b645005b08c5a9ac48b4e1f5266a25c7716ed4.zip gdb-d2b645005b08c5a9ac48b4e1f5266a25c7716ed4.tar.gz gdb-d2b645005b08c5a9ac48b4e1f5266a25c7716ed4.tar.bz2 |
2002-04-01 Nathan Williams <nathanw@wasabisystems.com>
* elf.c (elfcore_netbsd_get_lwpid): Fix off-by-one erro
which caused the returned LWP ID to always be 0.
Diffstat (limited to 'bfd/elf.c')
-rw-r--r-- | bfd/elf.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -6441,7 +6441,7 @@ elfcore_netbsd_get_lwpid (note, lwpidp) cp = strchr (note->namedata, '@'); if (cp != NULL) { - *lwpidp = atoi(cp); + *lwpidp = atoi(cp + 1); return true; } return false; |