aboutsummaryrefslogtreecommitdiff
path: root/gdb/machoread.c
diff options
context:
space:
mode:
authorTristan Gingold <gingold@adacore.com>2009-12-03 14:21:22 +0000
committerTristan Gingold <gingold@adacore.com>2009-12-03 14:21:22 +0000
commit033c64b7ea4b109f1a81d18e568382089d823b0e (patch)
treea1fac8f6d4079975a1dfd01416aff49c7b265e68 /gdb/machoread.c
parentef17cb22d068776deb20642e461f1c90e5dd3bf3 (diff)
downloadgdb-033c64b7ea4b109f1a81d18e568382089d823b0e.zip
gdb-033c64b7ea4b109f1a81d18e568382089d823b0e.tar.gz
gdb-033c64b7ea4b109f1a81d18e568382089d823b0e.tar.bz2
2009-12-03 Tristan Gingold <gingold@adacore.com>
* machoread.c (macho_sym_fns): Set sym_segment routine.
Diffstat (limited to 'gdb/machoread.c')
-rw-r--r--gdb/machoread.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gdb/machoread.c b/gdb/machoread.c
index 5e0a658..8ff899b 100644
--- a/gdb/machoread.c
+++ b/gdb/machoread.c
@@ -738,6 +738,8 @@ static struct sym_fns macho_sym_fns = {
macho_symfile_read, /* sym_read: read a symbol file into symtab */
macho_symfile_finish, /* sym_finish: finished with file, cleanup */
macho_symfile_offsets, /* sym_offsets: xlate external to internal form */
+ default_symfile_segments, /* sym_segments: Get segment information from
+ a file. */
NULL /* next: pointer to next struct sym_fns */
};