aboutsummaryrefslogtreecommitdiff
path: root/gdb/target.h
diff options
context:
space:
mode:
authorPedro Alves <palves@redhat.com>2009-05-22 23:49:14 +0000
committerPedro Alves <palves@redhat.com>2009-05-22 23:49:14 +0000
commit0542c86dbbe17befae1ab88c8a18296d89388bb5 (patch)
tree8041fdc01aa412478304c4bff3b11c8529b8486b /gdb/target.h
parent4daadc0d02d6b55962e561882f4768c0c9699010 (diff)
downloadfsf-binutils-gdb-0542c86dbbe17befae1ab88c8a18296d89388bb5.zip
fsf-binutils-gdb-0542c86dbbe17befae1ab88c8a18296d89388bb5.tar.gz
fsf-binutils-gdb-0542c86dbbe17befae1ab88c8a18296d89388bb5.tar.bz2
* 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.
Diffstat (limited to 'gdb/target.h')
-rw-r--r--gdb/target.h13
1 files changed, 6 insertions, 7 deletions
diff --git a/gdb/target.h b/gdb/target.h
index b1fe403..f3bddfc 100644
--- a/gdb/target.h
+++ b/gdb/target.h
@@ -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 */