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
7c7e3ba5
Commit
7c7e3ba5
authored
Aug 15, 2000
by
Eric Pouech
Committed by
Alexandre Julliard
Aug 15, 2000
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed regression in break command.
parent
c9877677
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
2 deletions
+16
-2
break.c
debugger/break.c
+16
-2
No files found.
debugger/break.c
View file @
7c7e3ba5
...
...
@@ -328,7 +328,18 @@ void DEBUG_AddBreakpoint( const DBG_VALUE *_value, BOOL (*func)(void) )
int
num
;
BYTE
ch
;
if
(
!
DEBUG_GrabAddress
(
&
value
,
TRUE
)
)
return
;
if
(
value
.
type
!=
NULL
&&
value
.
type
==
DEBUG_TypeIntConst
)
{
/*
* We know that we have the actual offset stored somewhere
* else in 32-bit space. Grab it, and we
* should be all set.
*/
unsigned
int
seg2
=
value
.
addr
.
seg
;
value
.
addr
.
seg
=
0
;
value
.
addr
.
off
=
DEBUG_GetExprValue
(
&
value
,
NULL
);
value
.
addr
.
seg
=
seg2
;
}
if
((
num
=
DEBUG_FindBreakpoint
(
&
value
.
addr
,
DBG_BREAK
))
>=
1
)
{
...
...
@@ -337,7 +348,10 @@ void DEBUG_AddBreakpoint( const DBG_VALUE *_value, BOOL (*func)(void) )
}
if
(
!
DEBUG_READ_MEM_VERBOSE
((
void
*
)
DEBUG_ToLinear
(
&
value
.
addr
),
&
ch
,
sizeof
(
ch
)))
return
;
{
DEBUG_Printf
(
DBG_CHN_MESG
,
"Invalid address, can't set breakpoint
\n
"
);
return
;
}
if
((
num
=
DEBUG_InitXPoint
(
DBG_BREAK
,
&
value
.
addr
))
==
-
1
)
return
;
...
...
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