mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-06 17:54:05 +00:00
- N_PSYM stabs blocks (aka parameters) can also contain a typedef
- shorten some paths
This commit is contained in:
parent
de02b20c0c
commit
f653a09d33
|
@ -1200,6 +1200,7 @@ BOOL stabs_parse(struct module* module, unsigned long load_offset,
|
||||||
case N_RSYM:
|
case N_RSYM:
|
||||||
case N_LSYM:
|
case N_LSYM:
|
||||||
case N_ROSYM:
|
case N_ROSYM:
|
||||||
|
case N_PSYM:
|
||||||
if (strchr(ptr, '=') != NULL)
|
if (strchr(ptr, '=') != NULL)
|
||||||
{
|
{
|
||||||
/*
|
/*
|
||||||
|
@ -1455,9 +1456,14 @@ BOOL stabs_parse(struct module* module, unsigned long load_offset,
|
||||||
{
|
{
|
||||||
int len = strlen(ptr);
|
int len = strlen(ptr);
|
||||||
if (ptr[len-1] != '/')
|
if (ptr[len-1] != '/')
|
||||||
|
{
|
||||||
|
if (ptr[0] == '/')
|
||||||
|
strcpy(currpath, ptr);
|
||||||
|
else
|
||||||
{
|
{
|
||||||
strcpy(currpath, srcpath);
|
strcpy(currpath, srcpath);
|
||||||
strcat(currpath, ptr);
|
strcat(currpath, ptr);
|
||||||
|
}
|
||||||
stabs_reset_includes();
|
stabs_reset_includes();
|
||||||
compiland = symt_new_compiland(module, currpath);
|
compiland = symt_new_compiland(module, currpath);
|
||||||
source_idx = source_new(module, currpath);
|
source_idx = source_new(module, currpath);
|
||||||
|
|
Loading…
Reference in a new issue