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
d1ae0017
Commit
d1ae0017
authored
Dec 16, 2002
by
Eric Pouech
Committed by
Alexandre Julliard
Dec 16, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed a few issues with the gdb proxy.
parent
3873fb89
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
4 deletions
+7
-4
gdbproxy.c
programs/winedbg/gdbproxy.c
+7
-4
No files found.
programs/winedbg/gdbproxy.c
View file @
d1ae0017
...
...
@@ -1743,7 +1743,7 @@ static enum packet_return packet_set_breakpoint(struct gdb_context* gdbctx)
}
}
/* no more entries... eech */
fprintf
(
stderr
,
"Running out of spot
for {break|watcg
h}points
\n
"
);
fprintf
(
stderr
,
"Running out of spot
s for {break|watc
h}points
\n
"
);
return
packet_error
;
}
...
...
@@ -1858,10 +1858,11 @@ static BOOL extract_packets(struct gdb_context* gdbctx)
*/
gdbctx
->
out_len
=
0
;
}
else
if
(
gdbctx
->
trace
&
GDBPXY_TRC_LOWLEVEL
)
else
{
write
(
gdbctx
->
sock
,
"+"
,
1
);
fprintf
(
stderr
,
"dropping packet, invalid checksum %d <> %d
\n
"
,
in_cksum
,
loc_cksum
);
if
(
gdbctx
->
trace
&
GDBPXY_TRC_LOWLEVEL
)
fprintf
(
stderr
,
"dropping packet, invalid checksum %d <> %d
\n
"
,
in_cksum
,
loc_cksum
);
}
gdbctx
->
in_len
-=
plen
+
4
;
memmove
(
gdbctx
->
in_buf
,
end
+
3
,
gdbctx
->
in_len
);
...
...
@@ -1938,7 +1939,7 @@ static BOOL gdb_startup(struct gdb_context* gdbctx, DEBUG_EVENT* de, unsigned fl
case
0
:
/* in child... and alive */
{
char
buf
[
MAX_PATH
];
int
fd
;
int
fd
;
char
*
gdb_path
;
FILE
*
f
;
...
...
@@ -1951,6 +1952,8 @@ static BOOL gdb_startup(struct gdb_context* gdbctx, DEBUG_EVENT* de, unsigned fl
fprintf
(
f
,
"target remote localhost:%d
\n
"
,
ntohs
(
s_addrs
.
sin_port
));
fprintf
(
f
,
"monitor trace=0
\n
"
);
fprintf
(
f
,
"set prompt Wine-gdb>
\\
\n
"
);
/* gdb 5.1 seems to require it, won't hurt anyway */
fprintf
(
f
,
"sharedlibrary
\n
"
);
/* tell gdb to delete this file when done handling it... */
fprintf
(
f
,
"shell rm -f
\"
%s
\"\n
"
,
buf
);
fclose
(
f
);
...
...
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