diff options
author | Pedro Alves <pedro@codesourcery.com> | 2009-05-22 03:01:45 +0000 |
---|---|---|
committer | Pedro Alves <pedro@codesourcery.com> | 2009-05-22 03:01:45 +0000 |
commit | b7841086ce95f1930366087c0795cf6ee017cacc (patch) | |
tree | 0199083456e71305f1feb2815ec377a4752b9934 /gdb/bfd-target.h | |
parent | fdccd9c385e91e211a748b036d9ca5c1e09d8938 (diff) | |
download | gdb-b7841086ce95f1930366087c0795cf6ee017cacc.tar.gz |
* bfd-target.c: Don't include gdb_assert.h or gdb_string.h.
Include exec.h.
(struct section_closure): Delete.
(add_to_section_table): Delete.
(build_target_sections_from_bfd): Delete.
(target_bfd_xfer_partial): Use section_table_xfer_memory_partial.
(target_bfd_reopen): Use build_section_table.
* exec.c (xfer_memory): Move most code except for overlay
debugging support from here...
(section_table_xfer_memory): ... to this new function.
(section_table_xfer_memory_partial): New.
* exec.h (section_table_xfer_memory_partial): Declare.
* bfd-target.h (build_target_sections_from_bfd): Delete
declaration.
Diffstat (limited to 'gdb/bfd-target.h')
-rw-r--r-- | gdb/bfd-target.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/gdb/bfd-target.h b/gdb/bfd-target.h index 3bacdfd8dcb..03931d72a32 100644 --- a/gdb/bfd-target.h +++ b/gdb/bfd-target.h @@ -28,10 +28,4 @@ struct target_ops; freopen and fdopen). */ struct target_ops *target_bfd_reopen (struct bfd *bfd); -/* Map over ABFD's sections, creating corresponding entries in the - target's section table. */ - -void build_target_sections_from_bfd (struct target_ops *targ, - struct bfd *abfd); - #endif |