* xcoffread.c (enter_line_range): endaddr is exclusive, not inclusive.
This commit is contained in:
parent
1fa66e3660
commit
b60b2e3ec6
2 changed files with 5 additions and 1 deletions
|
@ -1,3 +1,7 @@
|
|||
Thu Mar 18 11:57:49 1993 Jim Kingdon (kingdon@cygnus.com)
|
||||
|
||||
* xcoffread.c (enter_line_range): endaddr is exclusive, not inclusive.
|
||||
|
||||
Wed Mar 17 09:46:31 1993 Jim Kingdon (kingdon@cygnus.com)
|
||||
|
||||
* xcoffread.c (arrange_linetable): Use x{m,re}alloc not {m,re}alloc.
|
||||
|
|
|
@ -716,7 +716,7 @@ enter_line_range (subfile, beginoffset, endoffset, startaddr, endaddr, firstLine
|
|||
addr = P_LINENO(pp) ?
|
||||
P_LINEADDR(pp) : read_symbol_nvalue (P_LINESYM(pp));
|
||||
|
||||
if (addr < startaddr || (endaddr && addr > endaddr))
|
||||
if (addr < startaddr || (endaddr && addr >= endaddr))
|
||||
return;
|
||||
|
||||
if (P_LINENO(pp) == 0) {
|
||||
|
|
Loading…
Reference in a new issue