1. 13 Nov, 2018 1 commit
  2. 02 Mar, 2017 2 commits
  3. 04 Jun, 2014 1 commit
  4. 12 Oct, 2012 1 commit
  5. 28 Mar, 2012 1 commit
  6. 01 Aug, 2011 1 commit
  7. 21 May, 2010 2 commits
    • Jason Wessel's avatar
      printk,kdb: capture printk() when in kdb shell · d37d39ae
      Jason Wessel authored
      
      
      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: default avatarJason Wessel <jason.wessel@windriver.com>
      Acked-by: default avatarAndrew Morton <akpm@linux-foundation.org>
      d37d39ae
    • Jason Wessel's avatar
      kdb: core for kgdb back end (1 of 2) · 5d5314d6
      Jason Wessel authored
      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: default avatarJason Wessel <jason.wessel@windriver.com>
      Signed-off-by: default avatarMartin Hicks <mort@sgi.com>
      5d5314d6