diff options
author | Nicolas Blanc <nicolas.blanc@intel.com> | 2013-07-17 11:33:45 +0200 |
---|---|---|
committer | Nicolas Blanc <nicolas.blanc@intel.com> | 2013-10-29 10:56:27 +0100 |
commit | 76ad5e1e2a20f078a6fe4272a05a932755bd2cf5 (patch) | |
tree | 62a5d1ff629582c90ceb44e066e5ec0b552e37a3 /binutils/rddbg.c | |
parent | 98297bf675da669930bacf6d0c08bc4d1a34df3e (diff) | |
download | gdb-76ad5e1e2a20f078a6fe4272a05a932755bd2cf5.zip gdb-76ad5e1e2a20f078a6fe4272a05a932755bd2cf5.tar.gz gdb-76ad5e1e2a20f078a6fe4272a05a932755bd2cf5.tar.bz2 |
Create target sections for user-added symbol files.
Add the sections of the symbol files that are provided via
'add-symbol-file' to the set of current target sections.
User-added sections are removed upon notification of free_objfile
when their corresponding object file is deleted.
2013-10-29 Nicolas Blanc <nicolas.blanc@intel.com>
* exec.h (add_target_sections_of_objfile): New declaration.
* exec.c (add_target_sections_of_objfile): New function.
* symfile.c (add_symbol_file_command): Update current target sections.
(symfile_free_objfile): New function.
(_initialize_symfile): Register observer for free_objfile events.
Signed-off-by: Nicolas Blanc <nicolas.blanc@intel.com>
Diffstat (limited to 'binutils/rddbg.c')
0 files changed, 0 insertions, 0 deletions