aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFred Fish <fnf@specifix.com>1996-07-27 17:03:14 +0000
committerFred Fish <fnf@specifix.com>1996-07-27 17:03:14 +0000
commit68aadb901e693c1cb41ab482f661e4e825ae69a1 (patch)
treec4a312e5b04bd749256654bfa20a159bab06b75d
parentb223f95038337da6cc784c73fbd2bf06fd8e5f11 (diff)
downloadgdb-68aadb901e693c1cb41ab482f661e4e825ae69a1.zip
gdb-68aadb901e693c1cb41ab482f661e4e825ae69a1.tar.gz
gdb-68aadb901e693c1cb41ab482f661e4e825ae69a1.tar.bz2
* xcoffread.c (xcoff_end_psymtab): Add textlow_not_set parameter.
(END_PSYMTAB): Ditto. (scan_xcoff_symtab): Call xcoff_end_psymtab with textlow_not_set.
-rw-r--r--gdb/ChangeLog6
-rw-r--r--gdb/xcoffread.c22
2 files changed, 17 insertions, 11 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index a0944df..b52d931 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -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
diff --git a/gdb/xcoffread.c b/gdb/xcoffread.c
index 03308fc..b088b03 100644
--- a/gdb/xcoffread.c
+++ b/gdb/xcoffread.c
@@ -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.