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
97a4384d
Commit
97a4384d
authored
Oct 25, 2002
by
Jeff Smith
Committed by
Alexandre Julliard
Oct 25, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed behaviour of "x /s ...".
parent
9f12ba50
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
4 deletions
+3
-4
memory.c
programs/winedbg/memory.c
+3
-4
No files found.
programs/winedbg/memory.c
View file @
97a4384d
...
...
@@ -285,6 +285,7 @@ void DEBUG_ExamineMemory( const DBG_VALUE *_value, int count, char format )
DEBUG_Printf
(
DBG_CHN_MESG
,
"
\n
"
);
return
;
case
's'
:
if
(
count
==
1
)
count
=
256
;
DEBUG_nchar
+=
DEBUG_PrintStringA
(
DBG_CHN_MESG
,
&
value
.
addr
,
count
);
DEBUG_Printf
(
DBG_CHN_MESG
,
"
\n
"
);
return
;
...
...
@@ -350,16 +351,14 @@ int DEBUG_PrintStringA(int chnl, const DBG_ADDR* address, int len)
if
(
len
==
-
1
)
len
=
32767
;
/* should be big enough */
/* so that the ach is always terminated */
ach
[
sizeof
(
ach
)
-
1
]
=
'\0'
;
for
(
i
=
len
;
i
>=
0
;
i
-=
sizeof
(
ach
)
-
1
)
for
(
i
=
len
;
i
>
0
;
i
-=
l
)
{
l
=
min
(
sizeof
(
ach
)
-
1
,
i
);
DEBUG_READ_MEM_VERBOSE
(
lin
,
ach
,
l
);
ach
[
l
]
=
'\0'
;
/* protect from displaying junk */
l
=
strlen
(
ach
);
DEBUG_OutputA
(
chnl
,
ach
,
l
);
lin
+=
l
;
if
(
l
<
sizeof
(
ach
)
-
1
)
break
;
}
return
len
-
i
;
/* number of actually written chars */
}
...
...
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