Skip to content
Snippets Groups Projects
  1. Aug 13, 2015
  2. May 15, 2015
  3. Apr 30, 2015
  4. Oct 27, 2014
  5. Mar 04, 2014
  6. Jul 24, 2013
  7. Mar 11, 2013
    • Andreas Bießmann's avatar
      display_options:print_buffer: align ASCII print · efd7c114
      Andreas Bießmann authored
      
      This patch adds whitespace to the printed hex numbers to have an aligned ASCII
      printout at the end of the line.
      
      This changes for example the md output from:
      
      ---8<---
      OMAP3 Tricorder # md.l $loadaddr 5
      82000000: 30200109 20a4028c 90010000 08a00000    .. 0... ........
      82000010: 01010000    ....
      --->8---
      
      to
      
      ---8<---
      OMAP3 Tricorder # md.l $loadaddr 5
      82000000: 30200109 20a4028c 90010000 08a00000    .. 0... ........
      82000010: 01010000                               ....
      --->8---
      
      The cost of this is about 72 byte .text increase (tested with at91 build).
      
      Signed-off-by: default avatarAndreas Bießmann <andreas.devel@googlemail.com>
      efd7c114
  8. Mar 01, 2013
  9. Jul 28, 2011
  10. Sep 13, 2010
  11. Aug 08, 2010
    • Mike Frysinger's avatar
      print_buffer: optimize & shrink · 64419e47
      Mike Frysinger authored
      
      Applying a little creative format string allows us to shrink the initial
      data read & display loop by only calling printf once.  Re-using the local
      data buffer to generate the string we want to display then allows us to
      output everything with just one printf call instead of multiple calls to
      the putc function.
      
      The local stack buffer needs increasing by 1 byte, but the resulting code
      shrink and speed up is worth it I think.
      
      Signed-off-by: default avatarMike Frysinger <vapier@gentoo.org>
      64419e47
  12. May 17, 2010
  13. May 05, 2010
  14. Apr 13, 2010
  15. Jul 09, 2008
  16. Jun 11, 2008
  17. Feb 20, 2007
  18. Jul 01, 2003
  19. Sep 08, 2002
  20. Aug 27, 2002
  21. Dec 28, 2000
  22. Dec 14, 2000
  23. Nov 12, 2000
Loading