🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gdb.bug
Article #10140

gdb bug in find_line_common logic

#10140
From: Jay Norwood
Date: Thu, 14 Jun 1990 14:08
5 lines
906 bytes
I'm working with gdb 3.5 and coff format files. The function
find_line_common is defined to return the best_index, or return 0
as an error return value.  Unfortunately, the best_index might actually
be 0, so this logic will fail.  The error return value should be changed
to -1 to avoid this problem.  Jay Norwood
Technical Details
Message-ID: <9006141408.AA14809@ray.sun.com>
Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!tut.cis.ohio-state.edu!CS.UTEXAS.EDU!oakhill!ray!jay

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f5053,da3569052bb72bd0,start
X-Google-Attributes: gidf5053,public
X-Google-ArrivalTime: 1990-06-14 13:35:07 PST
Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!tut.cis.ohio-state.edu!CS.UTEXAS.EDU!oakhill!ray!jay
From: oakhill!ray!jay@CS.UTEXAS.EDU (Jay Norwood)
Newsgroups: gnu.gdb.bug
Subject: gdb bug in find_line_common logic
Message-ID: <9006141408.AA14809@ray.sun.com>
Date: 14 Jun 90 14:08:18 GMT
Sender: daemon@tut.cis.ohio-state.edu
Distribution: gnu
Organization: GNUs Not Usenet
Lines: 5
Posted: Thu Jun 14 15:08:18 1990