diff options
Diffstat (limited to 'gdb/progspace.h')
-rw-r--r-- | gdb/progspace.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/gdb/progspace.h b/gdb/progspace.h index 0363403..5e49083 100644 --- a/gdb/progspace.h +++ b/gdb/progspace.h @@ -276,6 +276,18 @@ struct program_space to read memory from, this unpushes the exec_ops target. */ void exec_close (); + /* Return the exec BFD for this program space. */ + bfd *exec_bfd () const + { + return ebfd; + } + + /* Set the exec BFD for this program space to ABFD. */ + void set_exec_bfd (bfd *abfd) + { + ebfd = abfd; + } + /* Unique ID number. */ int num = 0; |