# # gdb_macros is a gdb script file which can assist # developer in debugging. This script provides # following functions for debugging gluster processes # effectively: # # pdict : This function will iterate through all the # dictionary (dict_t) members and print the # key-value pair. # # plist : This function will print address of each member # of gluster list (list_head). # # gdb script should be loaded in gdb before using these # functions. gdb script can be loaded on-demand or on gdb # start-up. Use the following command on gdb prompt for # loading it on-demand. # source