* target.h (struct section_table): Rename to ...

(struct target_section): ... this.
	* exec.c: Adjust all references.
	* exec.h: Adjust all references.
	* nto-tdep.c: Adjust all references.
	* nto-tdep.h: Adjust all references.
	* ppc-linux-tdep.c: Adjust all references.
	* rs6000-nat.c: Adjust all references.
	* s390-tdep.c: Adjust all references.
	* solib-darwin.c: Adjust all references.
	* solib-frv.c: Adjust all references.
	* solib-irix.c: Adjust all references.
	* solib-null.c: Adjust all references.
	* solib-osf.c: Adjust all references.
	* solib-pa64.c: Adjust all references.
	* solib-som.c: Adjust all references.
	* solib-sunos.c: Adjust all references.
	* solib-svr4.c: Adjust all references.
	* solib-target.c: Adjust all references.
	* solib.c: Adjust all references.
	* solist.h: Adjust all references.
	* symfile.c: Adjust all references.
	* symfile.h: Adjust all references.
	* target.c: Adjust all references.
This commit is contained in:
Pedro Alves
2009-05-22 23:49:14 +00:00
parent 4daadc0d02
commit 0542c86dbb
24 changed files with 85 additions and 59 deletions

View File

@ -420,9 +420,9 @@ struct target_ops
int to_has_execution;
int to_has_thread_control; /* control thread execution */
int to_attach_no_wait;
struct section_table
struct target_section
*to_sections;
struct section_table
struct target_section
*to_sections_end;
/* ASYNC target controls */
int (*to_can_async_p) (void);
@ -1194,11 +1194,11 @@ void target_mark_running (struct target_ops *);
void target_mark_exited (struct target_ops *);
/* Struct section_table maps address ranges to file sections. It is
/* Struct target_section maps address ranges to file sections. It is
mostly used with BFD files, but can be used without (e.g. for handling
raw disks, or files not in formats handled by BFD). */
struct section_table
struct target_section
{
CORE_ADDR addr; /* Lowest address in section */
CORE_ADDR endaddr; /* 1+highest address in section */
@ -1209,9 +1209,8 @@ struct section_table
};
/* Return the "section" containing the specified address. */
struct section_table *target_section_by_addr (struct target_ops *target,
CORE_ADDR addr);
struct target_section *target_section_by_addr (struct target_ops *target,
CORE_ADDR addr);
/* From mem-break.c */