summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPedro Alves <palves@redhat.com>2012-05-22 15:04:57 +0000
committerPedro Alves <palves@redhat.com>2012-05-22 15:04:57 +0000
commitdab06dbee5a3fb43f043a5a983b26125b5484c9e (patch)
treeecc72183cb12d2cb97df87c7f8df0fb2a1033daf /gdb/inf-child.h
parent * elflink.c (bfd_elf_discard_info): Look for next .eh_frame if (diff)
downloadbinutils-gdb-dab06dbee5a3fb43f043a5a983b26125b5484c9e.tar.gz
binutils-gdb-dab06dbee5a3fb43f043a5a983b26125b5484c9e.tar.bz2
binutils-gdb-dab06dbee5a3fb43f043a5a983b26125b5484c9e.zip
2012-05-22 Pedro Alves <palves@redhat.com>
* target.h (store_waitstatus): Move declaration ... * inf-child.h (store_waitstatus): ... here. * target.c: Move inclusion of gdb_wait.h, and ... (store_waitstatus): ... this ... * inf-child.c: ... here. * linux-nat.c: Include inf-child.h. * rs6000-nat.c: Include inf-child.h. * spu-linux-nat.c: Include inf-child.h.
Diffstat (limited to 'gdb/inf-child.h')
-rw-r--r--gdb/inf-child.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/gdb/inf-child.h b/gdb/inf-child.h
index d32c8cb3a84..c394d5ae858 100644
--- a/gdb/inf-child.h
+++ b/gdb/inf-child.h
@@ -25,4 +25,9 @@
extern struct target_ops *inf_child_target (void);
+/* Functions for helping to write a native target. */
+
+/* This is for native targets which use a unix/POSIX-style waitstatus. */
+extern void store_waitstatus (struct target_waitstatus *, int);
+
#endif