aboutsummaryrefslogtreecommitdiff
path: root/gdb/target.h
diff options
context:
space:
mode:
authorTristan Gingold <gingold@adacore.com>2011-09-27 15:30:18 +0000
committerTristan Gingold <gingold@adacore.com>2011-09-27 15:30:18 +0000
commitf00c55f83236fbdbae20f1556dc046bb90975755 (patch)
tree4627f8b0c096890c78461a77d345853f16643b96 /gdb/target.h
parent6710bf39b7c037de481a4b351fb69cec6b48b138 (diff)
downloadgdb-f00c55f83236fbdbae20f1556dc046bb90975755.zip
gdb-f00c55f83236fbdbae20f1556dc046bb90975755.tar.gz
gdb-f00c55f83236fbdbae20f1556dc046bb90975755.tar.bz2
2011-09-27 Tristan Gingold <gingold@adacore.com>
* target.h (enum target_object): Add TARGET_OBJECT_DARWIN_DYLD_INFO. * solib-darwin.c (DYLD_VERSION_MAX): Update number. (darwin_solib_get_all_image_info_addr_at_init): New function. (darwin_solib_read_all_image_info_addr): Likewise. (darwin_solib_create_inferior_hook): Use the above two functions. * darwin-nat.c (darwin_execvp): Renames retval to res. (darwin_read_write_inferior): Update comment. (darwin_read_dyld_info): New function. (darwin_xfer_partial): Handle DYLD_INFO.
Diffstat (limited to 'gdb/target.h')
-rw-r--r--gdb/target.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/gdb/target.h b/gdb/target.h
index e264657..173e60b 100644
--- a/gdb/target.h
+++ b/gdb/target.h
@@ -276,6 +276,8 @@ enum target_object
TARGET_OBJECT_TRACEFRAME_INFO,
/* Load maps for FDPIC systems. */
TARGET_OBJECT_FDPIC,
+ /* Darwin dynamic linker info data. */
+ TARGET_OBJECT_DARWIN_DYLD_INFO
/* Possible future objects: TARGET_OBJECT_FILE, ... */
};