Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
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-winehq
Commits
f98c52b1
Commit
f98c52b1
authored
Feb 12, 2002
by
Gavriel State
Committed by
Alexandre Julliard
Feb 12, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Some older versions of GDB need to have the filename data available
for each section, so we need to output it again for the data section.
parent
dac9dfc9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
1 deletion
+11
-1
relay.c
tools/winebuild/relay.c
+11
-1
No files found.
tools/winebuild/relay.c
View file @
f98c52b1
...
...
@@ -1136,6 +1136,8 @@ static void BuildCallFrom32Regs( FILE *outfile )
*/
void
BuildRelays16
(
FILE
*
outfile
)
{
char
buffer
[
1024
];
/* File header */
fprintf
(
outfile
,
"/* File generated automatically. Do not edit! */
\n\n
"
);
...
...
@@ -1144,7 +1146,6 @@ void BuildRelays16( FILE *outfile )
#ifdef USE_STABS
if
(
output_file_name
)
{
char
buffer
[
1024
];
getcwd
(
buffer
,
sizeof
(
buffer
));
fprintf
(
outfile
,
"
\t
.file
\t\"
%s
\"\n
"
,
output_file_name
);
...
...
@@ -1197,6 +1198,15 @@ void BuildRelays16( FILE *outfile )
#ifdef USE_STABS
fprintf
(
outfile
,
"
\t
.stabs
\"\"
,100,0,0,.Letext
\n
"
);
fprintf
(
outfile
,
".Letext:
\n
"
);
/* Some versions of gdb need to have the filename data for
each section, so output it again for the data section. */
if
(
output_file_name
)
{
fprintf
(
outfile
,
".stabs
\"
%s/
\"
,100,0,0,Data_Start
\n
"
,
buffer
);
fprintf
(
outfile
,
".stabs
\"
%s
\"
,100,0,0,Data_Start
\n
"
,
output_file_name
);
fprintf
(
outfile
,
"Data_Start:
\n\n
"
);
}
#endif
/* The whole Call16_Ret segment must lie within the .data section */
...
...
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