Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
MariaDB
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
675a5b77
Commit
675a5b77
authored
Aug 14, 2006
by
unknown
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Windows build fix: declare _db_set_ before it's used.
parent
21e75cb0
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
50 additions
and
51 deletions
+50
-51
dbug/dbug.c
dbug/dbug.c
+50
-51
No files found.
dbug/dbug.c
View file @
675a5b77
...
...
@@ -412,57 +412,6 @@ void _db_process_(const char *name)
cs
->
process
=
name
;
}
/*
* FUNCTION
*
* _db_push_ push current debugger settings and set up new one
*
* SYNOPSIS
*
* VOID _db_push_(control)
* char *control;
*
* DESCRIPTION
*
* Given pointer to a debug control string in "control", pushes
* the current debug settings, parses the control string, and sets
* up a new debug settings with _db_set_()
*
*/
void
_db_push_
(
const
char
*
control
)
{
CODE_STATE
*
cs
=
0
;
get_code_state_or_return
;
PushState
(
cs
);
_db_set_
(
cs
,
control
);
}
/*
* FUNCTION
*
* _db_set_init_ set initial debugger settings
*
* SYNOPSIS
*
* VOID _db_set_init_(control)
* char *control;
*
* DESCRIPTION
* see _db_set_
*
*/
void
_db_set_init_
(
const
char
*
control
)
{
CODE_STATE
cs
;
bzero
((
char
*
)
&
cs
,
sizeof
(
cs
));
cs
.
stack
=&
init_settings
;
_db_set_
(
&
cs
,
control
);
}
/*
* FUNCTION
*
...
...
@@ -719,6 +668,56 @@ void _db_set_(CODE_STATE *cs, const char *control)
}
}
/*
* FUNCTION
*
* _db_push_ push current debugger settings and set up new one
*
* SYNOPSIS
*
* VOID _db_push_(control)
* char *control;
*
* DESCRIPTION
*
* Given pointer to a debug control string in "control", pushes
* the current debug settings, parses the control string, and sets
* up a new debug settings with _db_set_()
*
*/
void
_db_push_
(
const
char
*
control
)
{
CODE_STATE
*
cs
=
0
;
get_code_state_or_return
;
PushState
(
cs
);
_db_set_
(
cs
,
control
);
}
/*
* FUNCTION
*
* _db_set_init_ set initial debugger settings
*
* SYNOPSIS
*
* VOID _db_set_init_(control)
* char *control;
*
* DESCRIPTION
* see _db_set_
*
*/
void
_db_set_init_
(
const
char
*
control
)
{
CODE_STATE
cs
;
bzero
((
char
*
)
&
cs
,
sizeof
(
cs
));
cs
.
stack
=&
init_settings
;
_db_set_
(
&
cs
,
control
);
}
/*
* FUNCTION
*
...
...
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