forked from Imagelibrary/binutils-gdb
gdb: make target_desc_info_from_user_p a method of target_desc_info
Move the implementation over to target_desc_info. Remove the target_desc_info forward declaration in target-descriptions.h, it's no longer needed. Change-Id: Ic95060341685afe0b73af591ca6efe32f5e7e892
This commit is contained in:
committed by
Simon Marchi
parent
5776836631
commit
5a19bfd673
@@ -345,6 +345,11 @@ extern void switch_to_inferior_no_thread (inferior *inf);
|
||||
|
||||
struct target_desc_info
|
||||
{
|
||||
/* Returns true if INFO indicates the target description had been supplied by
|
||||
the user. */
|
||||
bool from_user_p ()
|
||||
{ return !this->filename.empty (); }
|
||||
|
||||
/* A flag indicating that a description has already been fetched
|
||||
from the target, so it should not be queried again. */
|
||||
bool fetched = false;
|
||||
|
||||
Reference in New Issue
Block a user