This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH] Fix off-by-one in elfcore_netbsd_get_lwpid()


Fixes a silly string manipulation obob, spotted when manipulating
multi-LWP core files with GDB.

Committed to trunk as obvious.  OK for 2.12 branch?

2002-04-01  Nathan Williams  <nathanw@wasabisystems.com>

        * elf.c (elfcore_netbsd_get_lwpid): Fix off-by-one error
        which caused the returned LWP ID to always be 0.

-- 
        -- Jason R. Thorpe <thorpej@wasabisystems.com>

Attachment: elf.c.patch
Description: elf.c.patch


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]