Compiling on AIX 5.3 with xlC

Joel Brobecker brobecker@adacore.com
Thu Oct 18 16:15:00 GMT 2007


> I claimed success too early. I am not able to attach to a process. 

That's strange. I don't have any problems:

    (gdb) attach  700422
    Attaching to program: /[...]/foo, process 700422
    0xd0234e94 in nsleep () from /usr/lib/libc.a(shr.o)
    (gdb) bt
    #0  0xd0234e94 in nsleep () from /usr/lib/libc.a(shr.o)
    #1  0xd026759c in nanosleep () from /usr/lib/libc.a(shr.o)
    #2  0x100174d4 in system.os_primitives.timed_delay ()
    #3  0x100211ac in ada.calendar.delays.timed_delay_nt ()
    #4  0x100210d4 in ada.calendar.delays.delay_for ()
    #5  0x1002d3ec in pck.wait_for_debugger () at pck.adb:11
    #6  0x1002da58 in foo () at foo.adb:15

Something must have happened during the build. Are you able to
debug GDB?

-- 
Joel



More information about the Gdb mailing list