* xcoffread.c (xcoff_end_psymtab): Add textlow_not_set parameter.
authorFred Fish <fnf@specifix.com>
Sat, 27 Jul 1996 17:03:14 +0000 (17:03 +0000)
committerFred Fish <fnf@specifix.com>
Sat, 27 Jul 1996 17:03:14 +0000 (17:03 +0000)
(END_PSYMTAB): Ditto.
(scan_xcoff_symtab): Call xcoff_end_psymtab with textlow_not_set.

gdb/ChangeLog
gdb/xcoffread.c

index a0944df167f580c5c0c9af472e874e87add608c6..b52d9313c9c73d7e2a4a1c14b4d86b6cffab0bf9 100644 (file)
@@ -1,3 +1,9 @@
+Sat Jul 27 08:49:49 1996  Fred Fish  <fnf@cygnus.com>
+
+       * xcoffread.c (xcoff_end_psymtab): Add textlow_not_set parameter.
+       (END_PSYMTAB): Ditto.
+       (scan_xcoff_symtab): Call xcoff_end_psymtab with textlow_not_set.
+
 Fri Jul 26 14:07:37 1996  Ian Lance Taylor  <ian@cygnus.com>
 
        * printcmd.c (_initialize_printcmd): Initialize
index 03308fccf0814b7905f681b3a0fb7c134c640e4a..b088b03183424148fc123bebbfda3ad3ecee2cdc 100644 (file)
@@ -1977,7 +1977,7 @@ xcoff_start_psymtab (objfile, section_offsets,
 
 static struct partial_symtab *xcoff_end_psymtab
   PARAMS ((struct partial_symtab *, char **, int, int,
-          struct partial_symtab **, int));
+          struct partial_symtab **, int, int));
 
 /* Close off the current usage of PST.  
    Returns PST, or NULL if the partial symtab was empty and thrown away.
@@ -1989,13 +1989,14 @@ static struct partial_symtab *xcoff_end_psymtab
 
 static struct partial_symtab *
 xcoff_end_psymtab (pst, include_list, num_includes, capping_symbol_number,
-                  dependency_list, number_dependencies)
+                  dependency_list, number_dependencies, textlow_not_set)
      struct partial_symtab *pst;
      char **include_list;
      int num_includes;
      int capping_symbol_number;
      struct partial_symtab **dependency_list;
      int number_dependencies;
+     int textlow_not_set;
 {
   int i;
   struct objfile *objfile = pst -> objfile;
@@ -2278,10 +2279,9 @@ scan_xcoff_symtab (section_offsets, objfile)
                               each program csect, because their text
                               sections need not be adjacent.  */
                            xcoff_end_psymtab
-                             (pst, psymtab_include_list,
-                              includes_used,
-                              symnum_before,
-                              dependency_list, dependencies_used);
+                             (pst, psymtab_include_list, includes_used,
+                              symnum_before, dependency_list,
+                              dependencies_used, textlow_not_set);
                            includes_used = 0;
                            dependencies_used = 0;
                            /* Give all psymtabs for this source file the same
@@ -2443,8 +2443,8 @@ scan_xcoff_symtab (section_offsets, objfile)
            if (pst)
              {
                xcoff_end_psymtab (pst, psymtab_include_list, includes_used,
-                                  symnum_before,
-                                  dependency_list, dependencies_used);
+                                  symnum_before, dependency_list,
+                                  dependencies_used, textlow_not_set);
                includes_used = 0;
                dependencies_used = 0;
              }
@@ -2556,7 +2556,7 @@ scan_xcoff_symtab (section_offsets, objfile)
    called from DBXREAD_ONLY or N_SO code.  Likewise for the symnum
    variable.  */
 #define START_PSYMTAB(ofile,secoff,fname,low,symoff,global_syms,static_syms) 0
-#define END_PSYMTAB(pst,ilist,ninc,c_off,c_text,dep_list,n_deps)\
+#define END_PSYMTAB(pst,ilist,ninc,c_off,c_text,dep_list,n_deps,textlow_not_set)\
   do {} while (0)
 /* We have already set the namestring.  */
 #define SET_NAMESTRING() /* */
@@ -2568,8 +2568,8 @@ scan_xcoff_symtab (section_offsets, objfile)
   if (pst)
     {
       xcoff_end_psymtab (pst, psymtab_include_list, includes_used,
-                        ssymnum,
-                        dependency_list, dependencies_used);
+                        ssymnum, dependency_list,
+                        dependencies_used, textlow_not_set);
     }
 
   /* Record the toc offset value of this symbol table into ldinfo structure.