android_kernel_motorola_sm6225/kernel/debug/kdb
Jason Wessel 17b572e820 kdb,vt_console: Fix missed data due to pager overruns
It is possible to miss data when using the kdb pager.  The kdb pager
does not pay attention to the maximum column constraint of the screen
or serial terminal.  This result is not incrementing the shown lines
correctly and the pager will print more lines that fit on the screen.
Obviously that is less than useful when using a VGA console where you
cannot scroll back.

The pager will now look at the kdb_buffer string to see how many
characters are printed.  It might not be perfect considering you can
output ASCII that might move the cursor position, but it is a
substantially better approximation for viewing dmesg and trace logs.

This also means that the vt screen needs to set the kdb COLUMNS
variable.

Cc: <stable@vger.kernel.org>
Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
2012-10-12 06:37:35 -05:00
..
.gitignore kdb: core for kgdb back end (1 of 2) 2010-05-20 21:04:20 -05:00
kdb_bp.c kdb: Add message about CONFIG_DEBUG_RODATA on failure to install breakpoint 2012-03-22 15:07:16 -05:00
kdb_bt.c kdb: Fix dmesg/bta scroll to quit with 'q' 2012-10-12 06:37:35 -05:00
kdb_cmds kdb: cleanup unused variables missed in the original kdb merge 2011-08-01 13:23:58 -05:00
kdb_debugger.c kernel/debug: Make use of KGDB_REASON_NMI 2012-07-31 08:16:43 -05:00
kdb_io.c kdb,vt_console: Fix missed data due to pager overruns 2012-10-12 06:37:35 -05:00
kdb_keyboard.c KDB: Fix usability issues relating to the 'enter' key. 2012-03-22 15:07:15 -05:00
kdb_main.c kdb: Fix dmesg/bta scroll to quit with 'q' 2012-10-12 06:37:35 -05:00
kdb_private.h printk: Remove kdb_syslog_data 2012-07-21 10:34:00 -07:00
kdb_support.c kdb: remove the second argument of k[un]map_atomic() 2012-03-20 21:48:26 +08:00
Makefile kgdboc,keyboard: Keyboard driver for kdb with kgdb 2010-05-20 21:04:24 -05:00