From: rread Date: Thu, 8 Jan 2004 22:49:58 +0000 (+0000) Subject: Break, instead of panic, in the UML version of portals_debug_dumpstack. X-Git-Tag: 1.0.3~105 X-Git-Url: https://git.whamcloud.com/gitweb?a=commitdiff_plain;h=cd7b140dedbe5a67b3e38cb13701f1cdd487c6ed;p=fs%2Flustre-release.git Break, instead of panic, in the UML version of portals_debug_dumpstack. --- diff --git a/lnet/libcfs/debug.c b/lnet/libcfs/debug.c index 40d7031..d85adb6 100644 --- a/lnet/libcfs/debug.c +++ b/lnet/libcfs/debug.c @@ -953,7 +953,7 @@ extern int is_kernel_text_address(unsigned long addr); char *portals_debug_dumpstack(void) { - panic("LBUG"); + asm("int $3"); } #elif defined(__i386__) diff --git a/lustre/portals/libcfs/debug.c b/lustre/portals/libcfs/debug.c index 40d7031..d85adb6 100644 --- a/lustre/portals/libcfs/debug.c +++ b/lustre/portals/libcfs/debug.c @@ -953,7 +953,7 @@ extern int is_kernel_text_address(unsigned long addr); char *portals_debug_dumpstack(void) { - panic("LBUG"); + asm("int $3"); } #elif defined(__i386__)