diff options
author | jdp <jdp@FreeBSD.org> | 1998-09-14 05:36:51 +0000 |
---|---|---|
committer | jdp <jdp@FreeBSD.org> | 1998-09-14 05:36:51 +0000 |
commit | 70bb8503aada512ec1237d4fe781e53761791b6a (patch) | |
tree | bcbd3e1c4a1caadaba5890cec117aefdfb8c0612 /sys/sys/imgact_elf.h | |
parent | f69ac0c38654fe24e1fb1f743a634e62b4518e1a (diff) | |
download | FreeBSD-src-70bb8503aada512ec1237d4fe781e53761791b6a.zip FreeBSD-src-70bb8503aada512ec1237d4fe781e53761791b6a.tar.gz |
Add provisions for variant core dump file formats, depending on the
object format of the executable being dumped. This is the first
step toward producing ELF core dumps in the proper format. I will
commit the code to generate the ELF core dumps Real Soon Now. In
the meantime, ELF executables won't dump core at all. That is
probably no less useful than dumping a.out-style core dumps as they
have done until now.
Submitted by: Alex <garbanzo@hooked.net> (with very minor changes by me)
Diffstat (limited to 'sys/sys/imgact_elf.h')
-rw-r--r-- | sys/sys/imgact_elf.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/sys/sys/imgact_elf.h b/sys/sys/imgact_elf.h index 60857f1..d44e4aa 100644 --- a/sys/sys/imgact_elf.h +++ b/sys/sys/imgact_elf.h @@ -25,7 +25,7 @@ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * - * $Id: imgact_elf.h,v 1.7 1998/06/07 17:13:01 dfr Exp $ + * $Id: imgact_elf.h,v 1.8 1998/09/07 07:30:44 dfr Exp $ */ #ifndef _SYS_IMGACT_ELF_H_ @@ -99,6 +99,11 @@ int elf_remove_brand_entry __P((Elf64_Brandinfo *entry)); #endif +struct proc; + +__BEGIN_DECLS +int elf_coredump __P((struct proc *)); +__END_DECLS #endif /* KERNEL */ |