This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
32 bit applcaition debugging with 64bit gdb on 64bit machine
- From: paawan oza <paawan1982 at yahoo dot com>
- To: gdb at sourceware dot org
- Date: Tue, 1 Dec 2009 01:15:47 -0800 (PST)
- Subject: 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.