1. 02 3月, 2017 1 次提交
  2. 05 3月, 2016 1 次提交
  3. 03 3月, 2016 1 次提交
  4. 05 1月, 2016 1 次提交
  5. 13 11月, 2014 1 次提交
    • C
      arch: tile: kernel: kgdb.c: Use memcpy() instead of pointer copy one by one · a5c1cb63
      Chen Gang 提交于
      Not only memcpy() is faster than pointer copy, but also let code more
      clearer and simple, which can avoid compiling warning (the original
      implementation copy registers by exceeding member array border).
      
      The related warning (with allmodconfig under tile):
      
          CC      arch/tile/kernel/kgdb.o
        arch/tile/kernel/kgdb.c: In function 'sleeping_thread_to_gdb_regs':
        arch/tile/kernel/kgdb.c:140:31: warning: iteration 53u invokes undefined behavior [-Waggressive-loop-optimizations]
           *(ptr++) = thread_regs->regs[reg];
                                       ^
        arch/tile/kernel/kgdb.c:139:2: note: containing loop
          for (reg = 0; reg <= TREG_LAST_GPR; reg++)
          ^
      Signed-off-by: NChen Gang <gang.chen.5i5j@gmail.com>
      Signed-off-by: NChris Metcalf <cmetcalf@ezchip.com>
      a5c1cb63
  6. 04 9月, 2013 1 次提交
    • C
      tilegx: support KGDB · 8157107b
      Chris Metcalf 提交于
      Enter kernel debugger at boot with:
        --hvd UART_1=1 --hvx kgdbwait --hvx kgdboc=ttyS1,115200
      or at runtime with:
        echo ttyS1,115200 > /sys/module/kgdboc/parameters/kgdboc
        echo g > /proc/sysrq-trigger
      Signed-off-by: NChris Metcalf <cmetcalf@tilera.com>
      8157107b