Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-cw
Commits
9bd9b82a
Commit
9bd9b82a
authored
Aug 21, 1999
by
Eric Pouech
Committed by
Alexandre Julliard
Aug 21, 1999
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Do not set the address if the symbol is still tagged INVALID.
parent
28fffb73
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
3 deletions
+13
-3
hash.c
debugger/hash.c
+13
-3
No files found.
debugger/hash.c
View file @
9bd9b82a
...
...
@@ -143,7 +143,10 @@ DEBUG_ResortSymbols()
{
for
(
nh
=
name_hash_table
[
i
];
nh
;
nh
=
nh
->
next
)
{
nsym
++
;
if
(
(
nh
->
flags
&
SYM_INVALID
)
==
0
)
nsym
++
;
else
fprintf
(
stderr
,
"Symbol %s is invalid
\n
"
,
nh
->
name
);
}
}
...
...
@@ -161,7 +164,8 @@ DEBUG_ResortSymbols()
{
for
(
nh
=
name_hash_table
[
i
];
nh
;
nh
=
nh
->
next
)
{
addr_sorttab
[
nsym
++
]
=
nh
;
if
(
(
nh
->
flags
&
SYM_INVALID
)
==
0
)
addr_sorttab
[
nsym
++
]
=
nh
;
}
}
...
...
@@ -198,7 +202,13 @@ DEBUG_AddSymbol( const char * name, const DBG_ADDR *addr, const char * source,
{
nh
->
addr
.
type
=
addr
->
type
;
}
nh
->
flags
&=
~
SYM_INVALID
;
/* it may happen that the same symbol is defined in several compilation
* units, but the linker decides to merge it into a single instance.
* in that case, we don't clear the invalid flag for all the compilation
* units (N_GSYM), and wait to get the symbol from the symtab
*/
if
((
flags
&
SYM_INVALID
)
==
0
)
nh
->
flags
&=
~
SYM_INVALID
;
return
nh
;
}
if
(
nh
->
addr
.
seg
==
addr
->
seg
&&
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment