On 2007-02-21, Ralf Kähler <[email protected]> wrote:

> partial-stab.h:441: gdb-internal-error: sect_index_data not initialized
> An internal GDB error was detected.  This may make further
> debugging unreliable.  Continue this debugging session? (y or n)

IIRC, that's a known bug in GDB.  It's falls over if the .data
section of your program is empty.  Just add an initialized
static variable in one of your files:

int unused_initialized_variable_to_make_gdb_happy = 1;

-- 
Grant Edwards                   grante             Yow!  I've got a COUSIN
                                  at               who works in the GARMENT
                               visi.com            DISTRICT...


Reply via email to