Skip to content

Commit

Permalink
Change command names
Browse files Browse the repository at this point in the history
  • Loading branch information
dshikashio committed Aug 30, 2021
1 parent a9846a9 commit 80da3cc
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions pyembed.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -303,7 +303,7 @@ void python_fini(void)
}

HRESULT CALLBACK
pyeval(IN IDebugClient *Client, IN OPTIONAL PCSTR args)
eval(IN IDebugClient *Client, IN OPTIONAL PCSTR args)
{
PSTR cmd = NULL;
size_t cmdlen = 0;
Expand Down Expand Up @@ -335,7 +335,7 @@ pyeval(IN IDebugClient *Client, IN OPTIONAL PCSTR args)
}

HRESULT CALLBACK
pyexec(IN IDebugClient *Client, IN OPTIONAL PCSTR args)
exec(IN IDebugClient *Client, IN OPTIONAL PCSTR args)
{
FILE* file = NULL;
PyObject *m;
Expand Down
4 changes: 2 additions & 2 deletions pyext.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -82,9 +82,9 @@ help(IN IDebugClient *Client, IN OPTIONAL PCSTR args)
{
char help_msg[] =
"\n PyExt - Windbg Python Extension\n"
"\tpyeval [expr]\n"
"\teval [expr]\n"
"\t\t- Evaluate an expression\n"
"\tpyexec [filename]\n"
"\texec [filename]\n"
"\t\t- Run a script\n"
"\tpython\n"
"\t\t- Interactive Python interpreter\n"
Expand Down
4 changes: 2 additions & 2 deletions pyext.def
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ EXPORTS
DebugExtensionUninitialize

help
pyeval
pyexec
eval
exec
python


0 comments on commit 80da3cc

Please sign in to comment.