Change Target & Process so they can really be initialized with an invalid architecture.

Arrange that this then gets properly set on attach, or when a "file" is set.
Add a completer for "process attach -n".

Caveats: there isn't currently a way to handle multiple processes with the same name.  That
will have to wait on a way to pass annotations along with the completion strings.

llvm-svn: 110624
This commit is contained in:
Jim Ingham
2010-08-09 23:31:02 +00:00
parent 394a69ed52
commit 5aee162f97
24 changed files with 779 additions and 197 deletions

View File

@@ -145,6 +145,13 @@ ObjectFileELF::~ObjectFileELF()
{
}
bool
ObjectFileELF::IsExecutable() const
{
// FIXME: How is this marked in ELF?
return false;
}
ByteOrder
ObjectFileELF::GetByteOrder() const
{