In message <8mbt7l$f8b$[EMAIL PROTECTED]> "François Robert" 
<[EMAIL PROTECTED]> writes:
> gdb-internal-error: sect_index_bss not initialized.
> 
What happens if you add an uninitialized variable (one that goes in the
BSS segment), e.g.

/*
 * The simplest Windows program you will ever write.
 *
 * This source code is in the PUBLIC DOMAIN and has NO WARRANTY.
 *
 * Colin Peters <colinpeters at geocities.com>, June 9, 1998.
 */

#include <windows.h>

ULONG i;

int STDCALL
WinMain (HINSTANCE hInst, HINSTANCE hPrev, LPSTR lpCmd, int nShow)
{
        MessageBox (NULL, "Hello, Windows!", "Hello", MB_OK);
        return 0;
}

Reply via email to