This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
"x" column count
- From: Greg McGary <greg at mcgary dot org>
- To: gdb at sourceware dot org
- Date: Thu, 24 Jan 2008 10:32:28 -0700
- Subject: "x" column count
When dumping stack memory, I like to use "x/200a $sp", but prefer to see
one word per line, rather than the default of four words per line.
Would it be an acceptable new feature to append an item to the existing
`x/NFU ADDR' format, expanding it to `x/NFUC ADDR', where C is an
integer representing the maximum number of elements per line? If C is
omitted, then gdb uses its traditional calculation for maxelts. If OK,
I'll submit a patch.
G