Git development
 help / color / mirror / Atom feed
From: Tanay Abhra <tanayabh@gmail.com>
To: git@vger.kernel.org
Subject: Re: git compile with debug symbols
Date: Tue, 4 Mar 2014 17:53:25 +0000 (UTC)	[thread overview]
Message-ID: <loom.20140304T184714-119@post.gmane.org> (raw)
In-Reply-To: 1393947964.16150.YahooMailNeo@web162902.mail.bf1.yahoo.com

Mahesh Pujari <pujarimahesh_kumar <at> yahoo.com> writes:

> 
> 
> Hello,
>  I am trying to compile git with debug symbols and failed to do so
(basically I am a noob), can some one direct
> me to links or mailing list (have searched but couldn't find) or doc's so
that I can debug git using gdb.
> 
> thanks,
> mpujari
> 
> 


Hi,

I tried to put a break point at help.c:396 and it was successful . I think
that the problem is either your symbols are not loaded.
Nevertheless I will walk you through the steps.

$ git clone https://github.com/git/git
$ make
$ gdb ./git
$(gdb)> gdb break help.c:396
Breakpoint 1 at 0x80f8b40: file help.c, line 396.

Cheers,
Tanay Abhra.

      parent reply	other threads:[~2014-03-04 17:53 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-03-04 15:46 git compile with debug symbols Mahesh Pujari
2014-03-04 15:53 ` David Kastrup
2014-03-04 16:03   ` Matthieu Moy
2014-03-04 16:33     ` Mahesh Pujari
2014-03-04 16:43       ` David Kastrup
2014-03-05  6:27         ` Mahesh Pujari
2014-03-04 16:00 ` karthik nayak
2014-03-04 17:53 ` Tanay Abhra [this message]

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=loom.20140304T184714-119@post.gmane.org \
    --to=tanayabh@gmail.com \
    --cc=git@vger.kernel.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