This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Compiling on AIX 5.3 with xlC


> 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]