Re: git compile with debug symbols

2014-03-04 Thread Mahesh Pujari
Hello all,  Thanks for replying back, figured out (offcourse had to search in net) that 'gdb' version I had was 6.7.1 (OS Ubuntu 12.04 LST), not sure how I got this. Then I upgraded gdb to version 7.4-2012.04 and things got going. thanks, mpujari On Tuesday, March 4, 2014 10:13 PM, David Kast

Re: git compile with debug symbols

2014-03-04 Thread Tanay Abhra
Mahesh Pujari 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 > >

Re: git compile with debug symbols

2014-03-04 Thread David Kastrup
Mahesh Pujari writes: > Thanks David for the reply. I think I need to do more ground work of > going through how to use gdb. > Basically I am java programmer and I was trying out to debug git > source using eclipse CDT and as we do in java, I was trying out to set > break point but failed with er

Re: git compile with debug symbols

2014-03-04 Thread Mahesh Pujari
Thanks David for the reply. I think I need to do more ground work of going through how to use gdb. Basically I am java programmer and I was trying out to debug git source using eclipse CDT and as we do in java, I was trying out to set break point but failed with errors as "No line 396 in file "h

Re: git compile with debug symbols

2014-03-04 Thread Matthieu Moy
David Kastrup writes: > Mahesh Pujari 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. > > git

Re: git compile with debug symbols

2014-03-04 Thread karthik nayak
A quick look at the Makefile shows that -g is enabled by default. so debugging is enabled by default On Tue, Mar 4, 2014 at 9:16 PM, Mahesh Pujari wrote: > > > 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 o

Re: git compile with debug symbols

2014-03-04 Thread David Kastrup
Mahesh Pujari 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. git is compiled with debug symbols by d