mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-11-27 03:51:15 +08:00
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.
This commit is contained in:
parent
fb8dbbe2dc
commit
b967eb24ed
@ -1,3 +1,8 @@
|
||||
2013-01-07 Joel Brobecker <brobecker@adacore.com>
|
||||
|
||||
* darwin-nat.c: Fix typo in TASK_DYLD_INFO_COUNT macro test
|
||||
used to decide whether to define darwin_read_dyld_info or not.
|
||||
|
||||
2013-01-03 Pierre Muller <muller@sourceware.org>
|
||||
|
||||
* main.c (relocate_gdb_directory): Avoid calling stat function
|
||||
|
@ -1818,7 +1818,7 @@ darwin_read_write_inferior (task_t task, CORE_ADDR addr,
|
||||
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)
|
||||
|
Loading…
Reference in New Issue
Block a user