1. 12 1月, 2013 1 次提交
  2. 12 10月, 2012 1 次提交
  3. 27 9月, 2012 1 次提交
  4. 31 7月, 2012 1 次提交
  5. 22 7月, 2012 2 次提交
  6. 23 3月, 2012 1 次提交
    • A
      KDB: Fix usability issues relating to the 'enter' key. · 8f30d411
      Andrei Warkentin 提交于
      This fixes the following problems:
      1) Typematic-repeat of 'enter' gives warning message
         and leaks make/break if KDB exits. Repeats
         look something like 0x1c 0x1c .... 0x9c
      2) Use of 'keypad enter' gives warning message and
         leaks the ENTER break/make code out if KDB exits.
         KP ENTER repeats look someting like 0xe0 0x1c
         0xe0 0x1c ... 0xe0 0x9c.
      3) Lag on the order of seconds between "break" and "make" when
         expecting the enter "break" code. Seen under virtualized
         environments such as VMware ESX.
      
      The existing special enter handler tries to glob the enter break code,
      but this fails if the other (KP) enter was used, or if there was a key
      repeat. It also fails if you mashed some keys along with enter, and
      you ended up with a non-enter make or non-enter break code coming
      after the enter make code. So first, we modify the handler to handle
      these cases. But performing these actions on every enter is annoying
      since now you can't hold ENTER down to scroll <more>d messages in
      KDB. Since this special behaviour is only necessary to handle the
      exiting KDB ('g' + ENTER) without leaking scancodes to the OS.  This
      cleanup needs to get executed anytime the kdb_main loop exits.
      
      Tested on QEMU. Set a bp on atkbd.c to verify no scan code was leaked.
      
      Cc: Andrei Warkentin <andreiw@vmware.com>
      [jason.wessel@windriver.com: move cleanup calls to kdb_main.c]
      Signed-off-by: NAndrei Warkentin <andrey.warkentin@gmail.com>
      Signed-off-by: NJason Wessel <jason.wessel@windriver.com>
      8f30d411
  7. 13 1月, 2012 1 次提交
  8. 02 8月, 2011 2 次提交
  9. 31 3月, 2011 1 次提交
  10. 26 3月, 2011 2 次提交
  11. 18 11月, 2010 2 次提交
  12. 02 11月, 2010 1 次提交
  13. 30 10月, 2010 2 次提交
  14. 23 10月, 2010 3 次提交
  15. 21 8月, 2010 1 次提交
  16. 05 8月, 2010 1 次提交
    • J
      kgdb,kdb: individual register set and and get API · 534af108
      Jason Wessel 提交于
      The kdb shell specification includes the ability to get and set
      architecture specific registers by name.
      
      For the time being individual register get and set will be implemented
      on a per architecture basis.  If an architecture defines
      DBG_MAX_REG_NUM > 0 then kdb and the gdbstub will use the capability
      for individually getting and setting architecture specific registers.
      Signed-off-by: NJason Wessel <jason.wessel@windriver.com>
      534af108
  17. 29 7月, 2010 1 次提交
  18. 22 7月, 2010 3 次提交
  19. 05 6月, 2010 1 次提交
  20. 21 5月, 2010 2 次提交
    • J
      printk,kdb: capture printk() when in kdb shell · d37d39ae
      Jason Wessel 提交于
      Certain calls from the kdb shell will call out to printk(), and any of
      these calls should get vectored back to the kdb_printf() so that the
      kdb pager and processing can be used, as well as to properly channel
      I/O to the polled I/O devices.
      
      CC: Randy Dunlap <rdunlap@xenotime.net>
      Signed-off-by: NJason Wessel <jason.wessel@windriver.com>
      Acked-by: NAndrew Morton <akpm@linux-foundation.org>
      d37d39ae
    • J
      kdb: core for kgdb back end (1 of 2) · 5d5314d6
      Jason Wessel 提交于
      This patch contains only the kdb core.  Because the change set was
      large, it was split.  The next patch in the series includes the
      instrumentation into the core kernel which are mainly helper functions
      for kdb.
      
      This work is directly derived from kdb v4.4 found at:
      
      ftp://oss.sgi.com/projects/kdb/download/v4.4/
      
      The kdb internals have been re-organized to make them mostly platform
      independent and to connect everything to the debug core which is used by
      gdbstub (which has long been known as kgdb).
      
      The original version of kdb was 58,000 lines worth of changes to
      support x86.  From that implementation only the kdb shell, and basic
      commands for memory access, runcontrol, lsmod, and dmesg where carried
      forward.
      
      This is a generic implementation which aims to cover all the current
      architectures using the kgdb core: ppc, arm, x86, mips, sparc, sh and
      blackfin.  More archictectures can be added by implementing the
      architecture specific kgdb functions.
      
      [mort@sgi.com: Compile fix with hugepages enabled]
      [mort@sgi.com: Clean breakpoint code renaming kdba_ -> kdb_]
      [mort@sgi.com: fix new line after printing registers]
      [mort@sgi.com: Remove the concept of global vs. local breakpoints]
      [mort@sgi.com: Rework kdb_si_swapinfo to use more generic name]
      [mort@sgi.com: fix the information dump macros, remove 'arch' from the names]
      [sfr@canb.auug.org.au: include fixup to include linux/slab.h]
      
      CC: linux-arch@vger.kernel.org
      Signed-off-by: NJason Wessel <jason.wessel@windriver.com>
      Signed-off-by: NMartin Hicks <mort@sgi.com>
      5d5314d6