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
4d550350
Commit
4d550350
authored
Jul 30, 1999
by
Ulrich Weigand
Committed by
Alexandre Julliard
Jul 30, 1999
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bugfix: Install task-entry breakpoint *after* EXE module is initialized.
parent
63ff31ea
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
8 deletions
+8
-8
task.c
loader/task.c
+0
-8
process.c
scheduler/process.c
+8
-0
No files found.
loader/task.c
View file @
4d550350
...
...
@@ -48,9 +48,6 @@ DECLARE_DEBUG_CHANNEL(toolhelp)
/* Pointer to function to switch to a larger stack */
int
(
*
IF1632_CallLargeStack
)(
int
(
*
func
)(),
void
*
arg
)
=
NULL
;
/* Pointer to debugger callback routine */
void
(
*
TASK_AddTaskEntryBreakpoint
)(
HTASK16
hTask
)
=
NULL
;
static
THHOOK
DefaultThhook
=
{
0
};
THHOOK
*
pThhook
=
&
DefaultThhook
;
...
...
@@ -388,11 +385,6 @@ BOOL TASK_Create( NE_MODULE *pModule, UINT16 cmdShow)
pTask
->
teb
->
htask16
=
pTask
->
teb
->
process
->
task
=
hTask
;
TRACE_
(
task
)(
"module='%s' cmdline='%s' task=%04x
\n
"
,
name
,
cmd_line
,
hTask
);
/* If requested, add entry point breakpoint */
if
(
TASK_AddTaskEntryBreakpoint
)
TASK_AddTaskEntryBreakpoint
(
hTask
);
/* Add the task to the linked list */
SYSLEVEL_EnterWin16Lock
();
...
...
scheduler/process.c
View file @
4d550350
...
...
@@ -36,6 +36,10 @@ static PDB initial_pdb;
static
PDB
*
PROCESS_First
=
&
initial_pdb
;
/* Pointer to debugger callback routine */
void
(
*
TASK_AddTaskEntryBreakpoint
)(
HTASK16
hTask
)
=
NULL
;
/***********************************************************************
* PROCESS_WalkProcess
*/
...
...
@@ -474,6 +478,10 @@ void PROCESS_Start(void)
LeaveCriticalSection
(
&
pdb
->
crit_section
);
}
/* If requested, add entry point breakpoint */
if
(
TASK_AddTaskEntryBreakpoint
)
TASK_AddTaskEntryBreakpoint
(
pdb
->
task
);
/* Now call the entry point */
PROCESS_CallUserSignalProc
(
USIG_PROCESS_RUNNING
,
0
);
...
...
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