Skip to content

Commit

Permalink
Fix gdbinit on Linux
Browse files Browse the repository at this point in the history
  • Loading branch information
twose committed Nov 8, 2019
1 parent 2d84f12 commit 464c203
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions gdbinit
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ define co_bt
set $cid = (int) $arg0
else
if 'swoole::Coroutine::current'
set $cid = (int) 'swoole::Coroutine::current->cid'
set $cid = (int) 'swoole::Coroutine::current'->cid
else
set $cid = -1
end
Expand Down Expand Up @@ -128,7 +128,7 @@ define co_status
printf "\t coro_num: %d\n", swoole_coro_count()
printf "\t peak_coro_num: %d\n", 'swoole::Coroutine::peak_num'
printf "\t config: "
print swoole::PHPCoroutine::config
print 'swoole::PHPCoroutine::config'
end

define ____sw_executor_globals
Expand Down

0 comments on commit 464c203

Please sign in to comment.