aboutsummaryrefslogtreecommitdiff
path: root/bfd/elf-bfd.h
diff options
context:
space:
mode:
authorMichael Snyder <msnyder@vmware.com>2002-01-08 21:31:36 +0000
committerMichael Snyder <msnyder@vmware.com>2002-01-08 21:31:36 +0000
commit7c76fa91adf845a77aa63c9a80ae12df2da1ac28 (patch)
tree3697df064d9e74ba1e3a1ce8317755bf350aa6f1 /bfd/elf-bfd.h
parentc7cccb7613f2bd2a8f19b7387934d5f38af4e009 (diff)
downloadgdb-7c76fa91adf845a77aa63c9a80ae12df2da1ac28.zip
gdb-7c76fa91adf845a77aa63c9a80ae12df2da1ac28.tar.gz
gdb-7c76fa91adf845a77aa63c9a80ae12df2da1ac28.tar.bz2
2002-01-08 Michael Snyder <msnyder@redhat.com>
Add capability to write corefile note sections, for gdb. * elf.c (elfcore_write_note): New function. (elfcore_write_prpsinfo): New function. (elfcore_write_prstatus): New function. (elfcore_write_pstatus): New function. (elfcore_write_prfpreg): New function. (elfcore_write_prxfpreg): New function. * elf-bfd.h: Add prototypes for above functions.
Diffstat (limited to 'bfd/elf-bfd.h')
-rw-r--r--bfd/elf-bfd.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/bfd/elf-bfd.h b/bfd/elf-bfd.h
index a0518d1..018f2d0 100644
--- a/bfd/elf-bfd.h
+++ b/bfd/elf-bfd.h
@@ -1518,6 +1518,20 @@ extern boolean _bfd_elf32_reloc_symbol_deleted_p
extern boolean _bfd_elf64_reloc_symbol_deleted_p
PARAMS ((bfd_vma, PTR));
+/* Exported interface for writing elf corefile notes. */
+extern char *elfcore_write_note
+ PARAMS ((bfd *, char *, int *, char *, int, void *, int));
+extern char *elfcore_write_prpsinfo
+ PARAMS ((bfd *, char *, int *, char *, char *));
+extern char *elfcore_write_prstatus
+ PARAMS ((bfd *, char *, int *, pid_t, int, void *));
+extern char * elfcore_write_pstatus
+ PARAMS ((bfd *, char *, int *, pid_t, int, void *));
+extern char *elfcore_write_prfpreg
+ PARAMS ((bfd *, char *, int *, void *, int));
+extern char *elfcore_write_prxfpreg
+ PARAMS ((bfd *, char *, int *, void *, int));
+
/* MIPS ELF specific routines. */
extern boolean _bfd_mips_elf_object_p