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]

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


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.


      


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