Re: cannot "hibernate" if program being debugged in gdb is paused after SIGABRT in linux 2.6.23 (but can in 2.6.22.7)
From: C Sights
Date: Sun Oct 28 2007 - 11:36:57 EST
>
> 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;
}