diff options
author | Joel Brobecker <brobecker@gnat.com> | 2013-01-07 11:14:37 +0000 |
---|---|---|
committer | Joel Brobecker <brobecker@gnat.com> | 2013-01-07 11:14:37 +0000 |
commit | b967eb24ede0a3a3bf3f51b9436f68143817f532 (patch) | |
tree | dbb468233bbe3500ebf5e41a79b7a857d967726d /gdb/darwin-nat.c | |
parent | fb8dbbe2dcb3a11898822f5a8663fbf38a7e6dfe (diff) | |
download | gdb-b967eb24ede0a3a3bf3f51b9436f68143817f532.zip gdb-b967eb24ede0a3a3bf3f51b9436f68143817f532.tar.gz gdb-b967eb24ede0a3a3bf3f51b9436f68143817f532.tar.bz2 |
Fix build failure on darwin due to darwin_read_dyld_info not being defined.
gdb/ChangeLog:
* darwin-nat.c: Fix typo in TASK_DYLD_INFO_COUNT macro test
used to decide whether to define darwin_read_dyld_info or not.
Diffstat (limited to 'gdb/darwin-nat.c')
-rw-r--r-- | gdb/darwin-nat.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/darwin-nat.c b/gdb/darwin-nat.c index 0307048..1344101 100644 --- a/gdb/darwin-nat.c +++ b/gdb/darwin-nat.c @@ -1818,7 +1818,7 @@ out: to RDADDR. Return 0 on failure; number of bytes read / written otherwise. */ -#ifndef TASK_DYLD_INFO_COUNT +#ifdef TASK_DYLD_INFO_COUNT /* This is not available in Darwin 9. */ static int darwin_read_dyld_info (task_t task, CORE_ADDR addr, char *rdaddr, int length) |