aboutsummaryrefslogtreecommitdiff
path: root/gdb/config
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/config
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/config')
-rw-r--r--gdb/config/rs6000/nm-rs6000.h13
1 files changed, 0 insertions, 13 deletions
diff --git a/gdb/config/rs6000/nm-rs6000.h b/gdb/config/rs6000/nm-rs6000.h
index 2d8542b..832b906 100644
--- a/gdb/config/rs6000/nm-rs6000.h
+++ b/gdb/config/rs6000/nm-rs6000.h
@@ -51,16 +51,3 @@ extern char *xcoff_solib_address (CORE_ADDR);
/* Flag for machine-specific stuff in shared files. FIXME */
#define DEPRECATED_IBM6000_TARGET
-/* AIX has a couple of strange returns from wait(). */
-
-#define CHILD_SPECIAL_WAITSTATUS(ourstatus, hoststatus) ( \
- /* "stop after load" status. */ \
- (hoststatus) == 0x57c ? (ourstatus)->kind = TARGET_WAITKIND_LOADED, 1 : \
- \
- /* signal 0. I have no idea why wait(2) returns with this status word. */ \
- /* It looks harmless. */ \
- (hoststatus) == 0x7f ? (ourstatus)->kind = TARGET_WAITKIND_SPURIOUS, 1 : \
- \
- /* A normal waitstatus. Let the usual macros deal with it. */ \
- 0)
-