]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] uml: workaround GDB problems on debugging
authorPaolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>
Sat, 3 Sep 2005 22:57:23 +0000 (15:57 -0700)
committerLinus Torvalds <torvalds@evo.osdl.org>
Mon, 5 Sep 2005 07:06:20 +0000 (00:06 -0700)
commit7f8e4e8f4c94f3a422402e2fd11f7934f929a285
treea461b5c395a098e7888bc62c5f27549510eeb28c
parent0b98f7c11e7bd73519dfcb70fc73ff748538c4d6
[PATCH] uml: workaround GDB problems on debugging

Apparently, GDB gets confused when we do an execvp() on ourselves.

Since it's simply done to allocate further space for command line arguments
(which we'll use to allow gathering the startup command line for guest
processes through the host), allow the user to disable that to get a
debuggable UML binary.

Signed-off-by: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>
Cc: Jeff Dike <jdike@addtoit.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/um/Kconfig.debug
arch/um/kernel/main.c
arch/um/kernel/um_arch.c