aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2010-12-20 17:52:02 -0500
committerMike Frysinger <vapier@gentoo.org>2022-11-11 01:44:13 +0700
commitd022a4c7f5dacd14055517b9cc04c080808e3a42 (patch)
treebe57b6589242bf8e27767c3c43c8b4078d4fa5c1
parent864de6eaf5a3c6e5dd8314ba0910c9d10e0c7dba (diff)
downloadgdb-d022a4c7f5dacd14055517b9cc04c080808e3a42.zip
gdb-d022a4c7f5dacd14055517b9cc04c080808e3a42.tar.gz
gdb-d022a4c7f5dacd14055517b9cc04c080808e3a42.tar.bz2
gdbserver: split out elf/fdpic.h
-rw-r--r--include/elf/fdpic.h24
1 files changed, 24 insertions, 0 deletions
diff --git a/include/elf/fdpic.h b/include/elf/fdpic.h
new file mode 100644
index 0000000..5957609
--- /dev/null
+++ b/include/elf/fdpic.h
@@ -0,0 +1,24 @@
+#ifndef _ELF_FDPIC_H
+#define _ELF_FDPIC_H
+
+struct elf32_fdpic_loadseg
+{
+ /* Core address to which the segment is mapped. */
+ Elf32_Addr addr;
+ /* VMA recorded in the program header. */
+ Elf32_Addr p_vaddr;
+ /* Size of this segment in memory. */
+ Elf32_Word p_memsz;
+};
+
+struct elf32_fdpic_loadmap
+{
+ /* Protocol version number, must be zero. */
+ Elf32_Half version;
+ /* Number of segments in this map. */
+ Elf32_Half nsegs;
+ /* The actual memory map. */
+ struct elf32_fdpic_loadseg segs[/*nsegs*/];
+};
+
+#endif /* _ELF_FDPIC_H */