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
39628f49
Commit
39628f49
authored
Jan 28, 2004
by
Eric Pouech
Committed by
Alexandre Julliard
Jan 28, 2004
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
- now reporting message on bogus line number in 'bp <num>' commands
(useful when user thinks <num> is a linear address) - fixed bogus return value in DEBUG_AddBreakpoint
parent
da49807e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
3 deletions
+8
-3
break.c
programs/winedbg/break.c
+8
-3
No files found.
programs/winedbg/break.c
View file @
39628f49
...
...
@@ -368,7 +368,7 @@ BOOL DEBUG_AddBreakpoint( const DBG_VALUE *value, BOOL (*func)(void), BOOL verbo
TRUE
);
DEBUG_Printf
(
"
\n
"
);
return
FALS
E
;
return
TRU
E
;
}
/***********************************************************************
...
...
@@ -472,12 +472,17 @@ void DEBUG_AddBreakpointFromLineno(int lineno)
DEBUG_Printf
(
"Unable to add breakpoint
\n
"
);
return
;
}
DEBUG_GetLineNumberAddr
(
nh
,
lineno
,
&
value
.
addr
,
TRUE
);
if
(
!
DEBUG_GetLineNumberAddr
(
nh
,
lineno
,
&
value
.
addr
,
TRUE
))
{
DEBUG_Printf
(
"Unknown line number
\n
"
"(either out of file, or no code at given line number)
\n
"
);
return
;
}
}
value
.
type
=
NULL
;
value
.
cookie
=
DV_TARGET
;
DEBUG_AddBreakpoint
(
&
value
,
NULL
,
TRUE
);
DEBUG_AddBreakpoint
(
&
value
,
NULL
,
TRUE
);
}
/***********************************************************************
...
...
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