mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-01-29 20:20:43 +00:00
oops, used the wrong function to look up .debug_file
This commit is contained in:
parent
cb80800732
commit
2771e6385c
1 changed files with 6 additions and 1 deletions
|
@ -111,12 +111,17 @@ PR_Load_Source_File (progs_t *pr, const char *fname)
|
|||
void
|
||||
PR_LoadDebug (progs_t *pr)
|
||||
{
|
||||
pr_type_t *str = PR_GetGlobalPointer (pr, ".debug_file");
|
||||
pr_type_t *str = 0;
|
||||
int start = Hunk_LowMark ();
|
||||
int i;
|
||||
char *path_end;
|
||||
char *sym_file;
|
||||
char *sym_path;
|
||||
ddef_t *def;
|
||||
|
||||
def = PR_FindGlobal (pr, ".debug_file");
|
||||
if (def)
|
||||
str = &pr->pr_globals[def->ofs];
|
||||
|
||||
Hash_FlushTable (file_hash);
|
||||
if (!str)
|
||||
|
|
Loading…
Reference in a new issue