From: Michael Snyder <msnyder@vmware.com>
To: paawan oza <paawan1982@yahoo.com>
Cc: "gdb@sourceware.org" <gdb@sourceware.org>
Subject: Re: 32 bit applcaition debugging with 64bit gdb on 64bit machine
Date: Mon, 07 Dec 2009 17:54:00 -0000 [thread overview]
Message-ID: <4B1D411A.8020308@vmware.com> (raw)
In-Reply-To: <33317.35316.qm@web112515.mail.gq1.yahoo.com>
paawan oza wrote:
> 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.
"not have any issues" is of course a pretty strong statement.
In general, all three cases should work.
I assume you talk about Intel arch.
Michael
next prev parent reply other threads:[~2009-12-07 17:54 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-12-01 9:15 paawan oza
2009-12-01 12:02 ` Jan Kratochvil
2009-12-07 17:54 ` Michael Snyder [this message]
2009-12-08 13:24 ` paawan oza
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4B1D411A.8020308@vmware.com \
--to=msnyder@vmware.com \
--cc=gdb@sourceware.org \
--cc=paawan1982@yahoo.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox