str: add an overloaded startswith() utility method
authorSteve Reinhardt <steve.reinhardt@amd.com>
Mon, 6 Aug 2012 23:52:49 +0000 (16:52 -0700)
committerSteve Reinhardt <steve.reinhardt@amd.com>
Mon, 6 Aug 2012 23:52:49 +0000 (16:52 -0700)
commitb647b48bf4d980e26b4626e94f1207ad66fc324e
tree552ff31c06305500cde480a456a152d94f9e1293
parentd55115936e0711422c6d708572b391e15432bec1
str: add an overloaded startswith() utility method
for various string types and use it in a few places.
src/base/hostinfo.cc
src/base/str.hh
src/sim/syscall_emul.hh
src/sim/system.cc