diff options
author | Pedro Alves <palves@redhat.com> | 2012-05-22 15:04:53 +0000 |
---|---|---|
committer | Pedro Alves <palves@redhat.com> | 2012-05-22 15:04:53 +0000 |
commit | de0beaf50e1d02f6c31ff7e74513635efaefbfde (patch) | |
tree | bb89319c15af16df4416592ae2756a48e6148de7 /gdb/inf-child.h | |
parent | dab3af53ef688d1c5f5062fddc18798142234285 (diff) | |
download | gdb-de0beaf50e1d02f6c31ff7e74513635efaefbfde.tar.gz |
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.h | 5 |
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 |