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
a116f78d
Commit
a116f78d
authored
Nov 08, 2009
by
Eric Pouech
Committed by
Alexandre Julliard
Nov 09, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winedbg: In proxy mode, correctly init the wine_segs fields.
parent
3fac812b
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
gdbproxy.c
programs/winedbg/gdbproxy.c
+2
-3
No files found.
programs/winedbg/gdbproxy.c
View file @
a116f78d
...
...
@@ -1776,9 +1776,6 @@ static enum packet_return packet_query(struct gdb_context* gdbctx)
{
char
buf
[
64
];
if
(
gdbctx
->
wine_segs
[
0
]
==
0
&&
gdbctx
->
wine_segs
[
1
]
==
0
&&
gdbctx
->
wine_segs
[
2
]
==
0
)
return
packet_error
;
snprintf
(
buf
,
sizeof
(
buf
),
"Text=%08lx;Data=%08lx;Bss=%08lx"
,
gdbctx
->
wine_segs
[
0
],
gdbctx
->
wine_segs
[
1
],
...
...
@@ -2284,6 +2281,8 @@ static BOOL gdb_init_context(struct gdb_context* gdbctx, unsigned flags)
gdbctx
->
process
=
NULL
;
for
(
i
=
0
;
i
<
NUM_XPOINT
;
i
++
)
gdbctx
->
Xpoints
[
i
].
type
=
-
1
;
for
(
i
=
0
;
i
<
sizeof
(
gdbctx
->
wine_segs
)
/
sizeof
(
gdbctx
->
wine_segs
[
0
]);
i
++
)
gdbctx
->
wine_segs
[
i
]
=
0
;
/* wait for first trap */
while
(
WaitForDebugEvent
(
&
de
,
INFINITE
))
...
...
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