I think having a gdbscript or scripts is an excellent idea but I dont think I would put them in libs/util. I dont like saying that without offering an alternative… but I just did :-)
> On Jun 1, 2016, at 10:25 AM, Christopher Collins <ccoll...@apache.org> wrote: > > On Wed, Jun 01, 2016 at 10:04:05AM -0700, Vipul Rahane wrote: >> Hello, >> >> While debugging a bunch of things, I felt the need for a few gdb scripts to >> print out the data structures that we would use regularly. I was thinking of >> creating a common gdb script which would contain different functions. This >> could reside in "libs/util" since we do not have a “tools" directory. >> >> The developer would then just source the common script. >> >> All suggestions are welcome. > > Some gdb scripts are sorely needed, and I think that is a great idea. I > wrote some small gdb macros ("functions"?) for inspecting mbufs; if you > create one or more gdb scripts, I'll follow your lead and add mine. > > Chris