Re: git compile with debug symbols
- From
Tanay Abhra <tanayabh@gmail.com>
- Date
- Mar 4, 2014, 17:53 UTC
- Message-ID
- <loom.20140304T184714-119@post.gmane.org>
- 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.
Show 5 quoted lines
> > 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.