aboutsummaryrefslogtreecommitdiff
path: root/gold/dwarf_reader.h
diff options
context:
space:
mode:
authorIan Lance Taylor <iant@google.com>2007-11-14 18:33:47 +0000
committerIan Lance Taylor <iant@google.com>2007-11-14 18:33:47 +0000
commita18f2bd699004425944ed7633fdd792a6e332c96 (patch)
tree1428c6948111f99cc560f75002a7c1f96ea03bd0 /gold/dwarf_reader.h
parent9a2d69841557c502021be98221a796ebe253fa09 (diff)
downloadgdb-a18f2bd699004425944ed7633fdd792a6e332c96.zip
gdb-a18f2bd699004425944ed7633fdd792a6e332c96.tar.gz
gdb-a18f2bd699004425944ed7633fdd792a6e332c96.tar.bz2
From Craig Silverstein: Clean up DWARF line reader code.
Diffstat (limited to 'gold/dwarf_reader.h')
-rw-r--r--gold/dwarf_reader.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/gold/dwarf_reader.h b/gold/dwarf_reader.h
index cefc027..4ce65b0 100644
--- a/gold/dwarf_reader.h
+++ b/gold/dwarf_reader.h
@@ -72,16 +72,12 @@ class Dwarf_line_info
};
template<int size, bool big_endian>
-class Sized_dwarf_line_info
+class Sized_dwarf_line_info : public Dwarf_line_info
{
public:
// Initializes a .debug_line reader for a given object file.
Sized_dwarf_line_info(Object* object);
- std::string
- addr2line(unsigned int shndx, off_t offset)
- { return do_addr2line(shndx, offset); }
-
private:
std::string
do_addr2line(unsigned int shndx, off_t offset);