aboutsummaryrefslogtreecommitdiff
path: root/gold/target-select.h
diff options
context:
space:
mode:
authorIan Lance Taylor <iant@google.com>2007-10-03 00:34:49 +0000
committerIan Lance Taylor <iant@google.com>2007-10-03 00:34:49 +0000
commit6340166c8b339b88f1baeff8a3703bf09ed7ce1c (patch)
tree13efda39532068099a6275af784956645b92e125 /gold/target-select.h
parent66247fc7443dad8a4abafbef57bc4b8dc659d8dc (diff)
downloadgdb-6340166c8b339b88f1baeff8a3703bf09ed7ce1c.zip
gdb-6340166c8b339b88f1baeff8a3703bf09ed7ce1c.tar.gz
gdb-6340166c8b339b88f1baeff8a3703bf09ed7ce1c.tar.bz2
Parameterize object_unittest to work for whatever target types are
supported.
Diffstat (limited to 'gold/target-select.h')
-rw-r--r--gold/target-select.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/gold/target-select.h b/gold/target-select.h
index b339714..da27bd4 100644
--- a/gold/target-select.h
+++ b/gold/target-select.h
@@ -42,7 +42,7 @@ class Target_selector
// Create a target selector for a specific machine number, size (32
// or 64), and endianness. The machine number can be EM_NONE to
// test for any machine number.
- Target_selector(int machine, int size, bool big_endian);
+ Target_selector(int machine, int size, bool is_big_endian);
virtual ~Target_selector()
{ }
@@ -64,18 +64,18 @@ class Target_selector
// Return the size this is looking for (32 or 64).
int
- size() const
+ get_size() const
{ return this->size_; }
// Return the endianness this is looking for.
bool
- big_endian() const
- { return this->big_endian_; }
+ is_big_endian() const
+ { return this->is_big_endian_; }
private:
int machine_;
int size_;
- bool big_endian_;
+ bool is_big_endian_;
Target_selector* next_;
};