disable/enable
(gdb) info b
Num Type Disp Enb Address What
1 breakpoint keep y 0x0000000000a3c27a in InvalidateCatalogSnapshot at snapmgr.c:566
breakpoint already hit 3 times
2 breakpoint keep y 0x00000000004e9fc6 in systable_beginscan at genam.c:361
(gdb) disable b 1
(gdb) enable b 1
找不到executable
// 通过file指定executable
warning: Could not load vsyscall page because no executable was specified
0x00007fdca765afb3 in ?? ()
(gdb) file /home/install/bin/postgres
pretty print
// 结构化打印
(gdb) set print pretty on
(gdb) set print array-indexes on
(gdb) p *stmt
$1 = {
type = T_SelectStmt,
distinctClause = 0x0,
intoClause = 0x0,
}
启动程序
$ gdb pgagent
(gdb) run -f -l 2 -s pgagent.out "user=gpadmin dbname=dw1"
(gdb) bt
**粗体** _斜体_ [链接](http://example.com) `代码` - 列表 > 引用
。你还可以使用@
来通知其他用户。