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 6319afeb0c379ce571470b69c61c5e18541ca204..2175f8c5a934b1be03ded7b0197c5cf122354a64 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 5e0a658f5c15a54ecab5157cb39b6be3b04fcad1..8ff899be67b7ec6b507beb366598e41a9b21031f 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 */
 };