aboutsummaryrefslogtreecommitdiff
path: root/gdb/target.c
diff options
context:
space:
mode:
authorUlrich Weigand <uweigand@de.ibm.com>2007-04-27 13:26:05 +0000
committerUlrich Weigand <uweigand@de.ibm.com>2007-04-27 13:26:05 +0000
commit482f7fee1929be3dcd5770e605c23751e1d5b84e (patch)
tree4404727de110363ae9f0a0f68bf2367763d9e37c /gdb/target.c
parent1f480a5e28ef0f10bb3236b5088a14346e7b9b20 (diff)
downloadgdb-482f7fee1929be3dcd5770e605c23751e1d5b84e.zip
gdb-482f7fee1929be3dcd5770e605c23751e1d5b84e.tar.gz
gdb-482f7fee1929be3dcd5770e605c23751e1d5b84e.tar.bz2
* config/rs6000/nm-rs6000.h (CHILD_SPECIAL_WAITSTATUS): Remove.
* rs6000-nat.c (rs6000_wait): New function. (_initialize_core_rs6000): Install it as to_wait target method. * target.c (store_waitstatus): Don't check CHILD_SPECIAL_WAITSTATUS.
Diffstat (limited to 'gdb/target.c')
-rw-r--r--gdb/target.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/gdb/target.c b/gdb/target.c
index b4857ca..42b0a1d 100644
--- a/gdb/target.c
+++ b/gdb/target.c
@@ -1976,13 +1976,6 @@ generic_mourn_inferior (void)
void
store_waitstatus (struct target_waitstatus *ourstatus, int hoststatus)
{
-#ifdef CHILD_SPECIAL_WAITSTATUS
- /* CHILD_SPECIAL_WAITSTATUS should return nonzero and set *OURSTATUS
- if it wants to deal with hoststatus. */
- if (CHILD_SPECIAL_WAITSTATUS (ourstatus, hoststatus))
- return;
-#endif
-
if (WIFEXITED (hoststatus))
{
ourstatus->kind = TARGET_WAITKIND_EXITED;