1. 06 2月, 2008 15 次提交
  2. 28 1月, 2008 1 次提交
  3. 24 12月, 2007 1 次提交
  4. 18 12月, 2007 1 次提交
    • S
      uml: stop gdb from deleting breakpoints when running UML · 4dbed85a
      Stanislaw Gruszka 提交于
      Sometimes when UML is debugged gdb miss breakpoints.
      
      When process traced by gdb do fork, debugger remove breakpoints from
      child address space. There is possibility to trace more than one fork,
      but this not work with UML, I guess (only guess) there is a deadlock -
      gdb waits for UML and UML waits for gdb.
      
      When clone() is called with SIGCHLD and CLONE_VM flags, gdb see this
      as PTRACE_EVENT_FORK not as PTRACE_EVENT_CLONE and remove breakpoints
      from child and at the same time from traced process, because either
      have the same address space.
      
      Maybe it is possible to do fix in gdb, but I'm not sure if there is
      easy way to find out if traced and child processes share memory. So I
      do fix for UML, it simply do not call clone() with both SIGCHLD and
      CLONE_VM flags together.  Additionally __WALL flag is used for
      waitpid() to assure not miss clone and normal process events.
      
      [ jdike - checkpatch fixes ]
      Signed-off-by: NStanislaw Gruszka <stf_xl@wp.pl>
      Signed-off-by: NJeff Dike <jdike@linux.intel.com>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      4dbed85a
  5. 11 12月, 2007 1 次提交
  6. 04 12月, 2007 1 次提交
  7. 30 11月, 2007 1 次提交
  8. 15 11月, 2007 1 次提交
  9. 06 11月, 2007 1 次提交
  10. 24 10月, 2007 1 次提交
    • W
      arch/um/drivers/ubd_kern.c: fix a building error · 23464ffa
      WANG Cong 提交于
      Fix this uml building error:
      arch/um/drivers/ubd_kern.c: In function 'do_ubd_request':
      arch/um/drivers/ubd_kern.c:1118: error: implicit declaration of function
      'sg_page'
      arch/um/drivers/ubd_kern.c:1118: warning: passing argument 6 of
      'prepare_request' makes pointer from integer without a cast
      make[1]: *** [arch/um/drivers/ubd_kern.o] Error 1
      make: *** [arch/um/drivers] Error 2
      Signed-off-by: NWANG Cong <xiyou.wangcong@gmail.com>
      
      Add sg_init_table() call as well.
      Signed-off-by: NJens Axboe <jens.axboe@oracle.com>
      23464ffa
  11. 23 10月, 2007 1 次提交
  12. 20 10月, 2007 1 次提交
  13. 18 10月, 2007 1 次提交
  14. 17 10月, 2007 13 次提交