32 bit applcaition debugging with 64bit gdb on 64bit machine

paawan oza paawan1982@yahoo.com
Tue Dec 1 09:15:00 GMT 2009


Hi,

I have following questions, please try to clarify.

 I compile gdb on 64 bit machine, 

1) 32 bit application compiled on 32 bit system and directly using them on 64 bit machine, and then we debug the 32 bit application using 64 bit gdb on 64 bit machine.

2) 32 bit applications compiled on 64 bit machine using  -m32 flag, and then I try to compile 32 bit application using 64 bit gdb in 64 bit machine.

3) of course 64bit applications must be able to be debugged easily by 64 bit gdb on 64 bit machine.

In 1 and 2,  is there any case where gdb may not work or may have some issue ?
I suppose 3 must not have any issue.

Regards,
Oza.


      



More information about the Gdb mailing list