|
From: Carlo W. <li...@us...> - 2002-01-10 18:11:13
|
CVSROOT : /cvsroot/libcw
Module : src
Commit time: 2002-00-10 18:11:12 UTC
Modified files:
libcwd/elf32.cc
Log message:
Bug fix in line number lookup.
---------------------- diff included ----------------------
Index: src/libcwd/elf32.cc
diff -u src/libcwd/elf32.cc:1.30 src/libcwd/elf32.cc:1.31
--- src/libcwd/elf32.cc:1.30 Wed Jan 9 21:04:34 2002
+++ src/libcwd/elf32.cc Thu Jan 10 10:11:02 2002
@@ -1,4 +1,4 @@
-// $Header: /cvsroot/l/li/libcw/src/libcwd/elf32.cc,v 1.30 2002/01/10 05:04:34 libcw Exp $
+// $Header: /cvsroot/l/li/libcw/src/libcwd/elf32.cc,v 1.31 2002/01/10 18:11:02 libcw Exp $
//
// Copyright (C) 2001, by
//
@@ -839,12 +839,10 @@
M_used = true;
return;
}
+ LIBCWD_ASSERT( M_range.start <= M_address );
if (M_range.start == M_address)
- {
DoutDwarf(dc::bfd, "Skipping M_store: address range is zero.");
- return;
- }
- if (M_range.start)
+ else if (M_range.start)
{
DoutDwarf(dc::bfd, "M_store(): Registering new range.");
M_range.size = M_address - M_range.start;
----------------------- End of diff -----------------------
|