Skip to content
项目
群组
代码片段
帮助
正在加载...
登录
切换导航
F
freeswitch
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分枝图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
分枝图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
张华
freeswitch
Commits
ba623d0f
提交
ba623d0f
authored
12月 04, 2014
作者:
Anthony Minessale
提交者:
Ken Rice
12月 24, 2014
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
update gdb scripts for new hash format
上级
6705087d
隐藏空白字符变更
内嵌
并排
正在显示
1 个修改的文件
包含
33 行增加
和
18 行删除
+33
-18
.gdbinit
support-d/.gdbinit
+33
-18
没有找到文件。
support-d/.gdbinit
浏览文件 @
ba623d0f
...
@@ -6,11 +6,17 @@ define list_sessions
...
@@ -6,11 +6,17 @@ define list_sessions
dont-repeat
dont-repeat
printf "Listing sessions: \n"
printf "Listing sessions: \n"
set $i = 0
set $i = 0
set $x=session_manager.session_table->table->first
set $idx = 0
while($x != 0x0)
set $len = session_manager.session_table->tablelength
printf "uuid %s is at %p\n", $x->pKey, $x->data
while($idx < $len)
set $x = $x->next
set $x = session_manager.session_table->table[$idx]
set $i = $i + 1
while($x != 0x0)
printf "uuid %s is at %p\n", $x->k, $x->v
set $i = $i + 1
set $x = $x->next
end
set $idx = $idx + 1
end
end
printf "Found %d sessions.\n", $i
printf "Found %d sessions.\n", $i
end
end
...
@@ -21,11 +27,16 @@ end
...
@@ -21,11 +27,16 @@ end
define hash_it_str
define hash_it_str
dont-repeat
dont-repeat
set $i = 0
set $i = 0
set $x=$arg0->table->first
set $idx = 0
while($x != 0x0)
set $len = $arg0->tablelength
printf "key: %s valueptr: %p\n", $x->pKey, $x->data
set $x = $x->next
while($idx < $len)
set $i = $i + 1
set $x=$arg0->table->[$idx]
while($x != 0x0)
printf "key: %s valueptr: %p\n", $x->k, $x->v
set $x = $x->next
set $i = $i + 1
end
end
end
end
end
document hash_it_str
document hash_it_str
...
@@ -37,14 +48,18 @@ end
...
@@ -37,14 +48,18 @@ end
define hash_it_str_x
define hash_it_str_x
dont-repeat
dont-repeat
set $i = 0
set $i = 0
set $x=$arg0->table->first
set $idx = 0
while($x != 0x0)
set $len = $arg0->tablelength
printf "key: %s\n", $x->pKey
while($idx < $len)
print (($arg1*)$x->data)->$arg2
set $x=$arg0->table->[$idx]
printf "\n\n"
while($x != 0x0)
set $x = $x->next
printf "key: %s\n", $x->k
set $i = $i + 1
print (($arg1*)$x->v)->$arg2
end
printf "\n\n"
set $x = $x->next
set $i = $i + 1
end
end
end
end
document hash_it_str_x
document hash_it_str_x
Usage: hash_it_str_x [hashtable] [value_type] [member]
Usage: hash_it_str_x [hashtable] [value_type] [member]
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论