diff options
author | Simon Marchi <simon.marchi@polymtl.ca> | 2024-05-16 17:28:13 -0400 |
---|---|---|
committer | Simon Marchi <simon.marchi@efficios.com> | 2024-07-15 14:34:12 -0400 |
commit | da877546dbf8499a29230466f8c60e2a1b0b846f (patch) | |
tree | 5b20f1d55e6e0d1f0fca44da10471ee9c61513f4 /gdb/objfiles.h | |
parent | d1e4438fa183c92487d18b7ccfbe0c10166709d9 (diff) | |
download | gdb-da877546dbf8499a29230466f8c60e2a1b0b846f.zip gdb-da877546dbf8499a29230466f8c60e2a1b0b846f.tar.gz gdb-da877546dbf8499a29230466f8c60e2a1b0b846f.tar.bz2 |
gdb: pass program space to objfile::objfile
Make the current program space reference bubble up one level.
Change-Id: I81e45e89e0cfd87c308f801d49ae811a941348b7
Approved-By: Tom Tromey <tom@tromey.com>
Reviewed-By: Thiago Jung Bauermann <thiago.bauermann@linaro.org>
Diffstat (limited to 'gdb/objfiles.h')
-rw-r--r-- | gdb/objfiles.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/objfiles.h b/gdb/objfiles.h index 9143fbf..e43669c 100644 --- a/gdb/objfiles.h +++ b/gdb/objfiles.h @@ -423,7 +423,8 @@ struct objfile private: /* The only way to create an objfile is to call objfile::make. */ - objfile (gdb_bfd_ref_ptr, const char *, objfile_flags); + objfile (gdb_bfd_ref_ptr, program_space *pspace, const char *, + objfile_flags); public: |