public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
From: Jonathan Wakely <jwakely.gcc@gmail.com>
To: Kunal Chauhan <atkunalchauhan@gmail.com>
Cc: gcc-help <gcc-help@gcc.gnu.org>
Subject: Re: Help: debug a binary
Date: Wed, 29 Apr 2020 18:51:21 +0100	[thread overview]
Message-ID: <CAH6eHdSkdv-4V86HaRNL2yXc3n0jOdy9NyfgP2XXm4Gc2cHgxg@mail.gmail.com> (raw)
In-Reply-To: <CACEFAc0=0gbxFHWdk_FF687GUpv=n2uNv8f6syv=uW2_pc-8kw@mail.gmail.com>

On Wed, 29 Apr 2020 at 18:23, Kunal Chauhan via Gcc-help
<gcc-help@gcc.gnu.org> wrote:
>
> Hi team,
>
> How can I debug my binary.

Compile with the -g flag and use a debugger.

Search the web for "using gdb".

  reply	other threads:[~2020-04-29 17:51 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-04-29 16:16 Kunal Chauhan
2020-04-29 17:51 ` Jonathan Wakely [this message]
2020-05-05 11:22   ` Kunal Chauhan
2020-05-05 12:53     ` Jonathan Wakely
2020-05-05 13:07       ` Kunal Chauhan

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=CAH6eHdSkdv-4V86HaRNL2yXc3n0jOdy9NyfgP2XXm4Gc2cHgxg@mail.gmail.com \
    --to=jwakely.gcc@gmail.com \
    --cc=atkunalchauhan@gmail.com \
    --cc=gcc-help@gcc.gnu.org \
    /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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).