2009-12-03 Tristan Gingold <gingold@adacore.com>
authorTristan Gingold <gingold@adacore.com>
Thu, 3 Dec 2009 14:21:22 +0000 (14:21 +0000)
committerTristan Gingold <gingold@adacore.com>
Thu, 3 Dec 2009 14:21:22 +0000 (14:21 +0000)
* machoread.c (macho_sym_fns): Set sym_segment routine.

gdb/ChangeLog
gdb/machoread.c

index 6319afe..2175f8c 100644 (file)
@@ -1,3 +1,7 @@
+2009-12-03  Tristan Gingold  <gingold@adacore.com>
+
+       * machoread.c (macho_sym_fns): Set sym_segment routine.
+
 2009-12-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
 
        * ada-lang.c (ada_value_assign): Use observer_notify_memory_changed.
index 5e0a658..8ff899b 100644 (file)
@@ -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 */
 };