diff options
author | Jim Kingdon <jkingdon@engr.sgi.com> | 1993-03-18 20:02:10 +0000 |
---|---|---|
committer | Jim Kingdon <jkingdon@engr.sgi.com> | 1993-03-18 20:02:10 +0000 |
commit | b60b2e3ec6a69ac7d0ecc98013f45e006c35aa21 (patch) | |
tree | 1ca3db4541354aa7fbc97a04304712b8fb9abaef /gdb/xcoffread.c | |
parent | 1fa66e36608605fbaf8ff7f27460c6cc7bf929fc (diff) | |
download | gdb-b60b2e3ec6a69ac7d0ecc98013f45e006c35aa21.zip gdb-b60b2e3ec6a69ac7d0ecc98013f45e006c35aa21.tar.gz gdb-b60b2e3ec6a69ac7d0ecc98013f45e006c35aa21.tar.bz2 |
* xcoffread.c (enter_line_range): endaddr is exclusive, not inclusive.
Diffstat (limited to 'gdb/xcoffread.c')
-rw-r--r-- | gdb/xcoffread.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/xcoffread.c b/gdb/xcoffread.c index c20a92e..859be27 100644 --- a/gdb/xcoffread.c +++ b/gdb/xcoffread.c @@ -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) { |