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