aboutsummaryrefslogtreecommitdiff
path: root/gdb/xcoffread.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/xcoffread.c')
-rw-r--r--gdb/xcoffread.c2
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) {