Re: gdb scripts
Sounds fine to me... > On Aug 26, 2016, at 10:14 AM, Peter Snyderwrote: > > Hey folks, > > I’m for Chris’s suggestion and I haven’t seen any other comments to the > contrary, so I’m going to commit some NFFS macros to the location he > specified. We might want to think about how to handle platform dependencies, > but for the time I’m mixing them in with naming to distinguish what is > platform specific. > > - peter > >> On Aug 23, 2016, at 4:58 PM, Christopher Collins wrote: >> >> Hello all, >> >> I think we need a good location for gdb command files (containing >> macros). >> >> I propose: >> @apache-mynewt-core/compiler/gdbmacros/ >> >> Thoughts? >> >> Thanks, >> Chris >
gdb scripts
Hello all, I think we need a good location for gdb command files (containing macros). I propose: @apache-mynewt-core/compiler/gdbmacros/ Thoughts? Thanks, Chris
Re: GDB scripts
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
Re: GDB scripts
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
GDB scripts
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. Regards, Vipul Rahane