diff options
author | Pedro Alves <palves@redhat.com> | 2009-05-22 03:01:45 +0000 |
---|---|---|
committer | Pedro Alves <palves@redhat.com> | 2009-05-22 03:01:45 +0000 |
commit | 348f8c02f44abcb5f5b0ab1a0c597001ee35da79 (patch) | |
tree | 451226879b03bbb2e0c0e52e95af07c1d13832ec /gdb/bfd-target.h | |
parent | 415756309f1044b3c3345e7cbf6c680a263ff44a (diff) | |
download | gdb-348f8c02f44abcb5f5b0ab1a0c597001ee35da79.zip gdb-348f8c02f44abcb5f5b0ab1a0c597001ee35da79.tar.gz gdb-348f8c02f44abcb5f5b0ab1a0c597001ee35da79.tar.bz2 |
* 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 3bacdfd..03931d7 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 |