forked from Imagelibrary/binutils-gdb
2003-10-17 Andrew Cagney <cagney@redhat.com>
* target.c (target_section_by_addr): New function. (do_xfer_memory): Use "target_section_by_addr". * target.h (target_section_by_addr): Declare.
This commit is contained in:
@@ -1147,6 +1147,11 @@ struct section_table
|
||||
bfd *bfd; /* BFD file pointer */
|
||||
};
|
||||
|
||||
/* Return the "section" containing the specified address. */
|
||||
struct section_table *target_section_by_addr (struct target_ops *target,
|
||||
CORE_ADDR addr);
|
||||
|
||||
|
||||
/* Builds a section table, given args BFD, SECTABLE_PTR, SECEND_PTR.
|
||||
Returns 0 if OK, 1 on error. */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user