Fix problems introduced with my last change.
[deliverable/binutils-gdb.git] / gdb / osfsolib.c
index 1294072f8ed070f1771b2a2c72f2d4fd4aa32b9c..8638629139dd48027ad1539371704cafbc2390db 100644 (file)
@@ -36,7 +36,7 @@
 #include "command.h"
 #include "target.h"
 #include "frame.h"
-#include "gnu-regex.h"
+#include "gdb_regex.h"
 #include "inferior.h"
 #include "language.h"
 #include "gdbcmd.h"
@@ -598,7 +598,8 @@ symbol_add_stub (arg)
        text_addr = bfd_section_vma (so->abfd, lowest_sect) + LM_OFFSET (so);
     }
 
-  section_addrs.text_addr = text_addr;
+  section_addrs.other[0].addr = text_addr;
+  section_addrs.other[0].name = ".text";
   so->objfile = symbol_file_add (so->so_name, so->from_tty,
                                 &section_addrs, 0, OBJF_SHARED);
   return (1);
This page took 0.023866 seconds and 4 git commands to generate.