diff options
Diffstat (limited to 'gdb/dbxread.c')
-rw-r--r-- | gdb/dbxread.c | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/gdb/dbxread.c b/gdb/dbxread.c index 4b2a7d2..31eb51f 100644 --- a/gdb/dbxread.c +++ b/gdb/dbxread.c @@ -907,7 +907,8 @@ find_stab_function (const char *namestring, const char *filename, strncpy (p, namestring, n); p[n] = 0; - bound_minimal_symbol msym = lookup_minimal_symbol (p, objfile, filename); + bound_minimal_symbol msym + = lookup_minimal_symbol (current_program_space, p, objfile, filename); if (msym.minsym == NULL) { /* Sun Fortran appends an underscore to the minimal symbol name, @@ -915,21 +916,22 @@ find_stab_function (const char *namestring, const char *filename, was not found. */ p[n] = '_'; p[n + 1] = 0; - msym = lookup_minimal_symbol (p, objfile, filename); + msym + = lookup_minimal_symbol (current_program_space, p, objfile, filename); } if (msym.minsym == NULL && filename != NULL) { /* Try again without the filename. */ p[n] = 0; - msym = lookup_minimal_symbol (p, objfile); + msym = lookup_minimal_symbol (current_program_space, p, objfile); } if (msym.minsym == NULL && filename != NULL) { /* And try again for Sun Fortran, but without the filename. */ p[n] = '_'; p[n + 1] = 0; - msym = lookup_minimal_symbol (p, objfile); + msym = lookup_minimal_symbol (current_program_space, p, objfile); } return msym; @@ -2044,7 +2046,8 @@ dbx_end_psymtab (struct objfile *objfile, psymtab_storage *partial_symtabs, p[n] = 0; bound_minimal_symbol minsym - = lookup_minimal_symbol (p, objfile, pst->filename); + = lookup_minimal_symbol (current_program_space, p, objfile, + pst->filename); if (minsym.minsym == NULL) { /* Sun Fortran appends an underscore to the minimal symbol name, @@ -2052,7 +2055,8 @@ dbx_end_psymtab (struct objfile *objfile, psymtab_storage *partial_symtabs, was not found. */ p[n] = '_'; p[n + 1] = 0; - minsym = lookup_minimal_symbol (p, objfile, pst->filename); + minsym = lookup_minimal_symbol (current_program_space, p, objfile, + pst->filename); } if (minsym.minsym) |