lkml.org 
[lkml]   [2007]   [Oct]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: cannot "hibernate" if program being debugged in gdb is paused after SIGABRT in linux 2.6.23 (but can in 2.6.22.7)
Date
>
> Well, a test program that triggers the SIGABRT under gdb would be useful.

The attached program causes a SIGABRT for me,

Thanks,
C.
#include <string>
using namespace std;

int main (char **argv, int argc) {
string t = "linux rocks!";
t.replace(LONG_MAX, 1, "sigabrt here");
return 0;
}
\
 
 \ /
  Last update: 2007-10-28 16:39    [from the cache]
©2003-2014 Jasper Spaans. Advertise on this site