Git development
 help / color / mirror / Atom feed
From: David Kastrup <dak@gnu.org>
To: Mahesh Pujari <pujarimahesh_kumar@yahoo.com>
Cc: Matthieu Moy <Matthieu.Moy@grenoble-inp.fr>,
	"git\@vger.kernel.org" <git@vger.kernel.org>
Subject: Re: git compile with debug symbols
Date: Tue, 04 Mar 2014 17:43:13 +0100	[thread overview]
Message-ID: <8761ntj4ny.fsf@fencepost.gnu.org> (raw)
In-Reply-To: <1393950801.57403.YahooMailNeo@web162903.mail.bf1.yahoo.com> (Mahesh Pujari's message of "Tue, 4 Mar 2014 08:33:21 -0800 (PST)")

Mahesh Pujari <pujarimahesh_kumar@yahoo.com> 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 errors as "No line 396 in file "help.c"".
> And using gdb too I end up with same error.
>
> # (gdb) break help.c:396
> # No line 396 in file "help.c".
>
>
> Am I missing something.

There is just no line 396 known to gdb.  It seems like you are
indicating a function header.  That's not code.  Either take the
function _name_ rather than a line number (that's usually most reliable)
or take the first line of actual code.

-- 
David Kastrup

  reply	other threads:[~2014-03-04 16:43 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 [this message]
2014-03-05  6:27         ` Mahesh Pujari
2014-03-04 16:00 ` karthik nayak
2014-03-04 17:53 ` Tanay Abhra

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=8761ntj4ny.fsf@fencepost.gnu.org \
    --to=dak@gnu.org \
    --cc=Matthieu.Moy@grenoble-inp.fr \
    --cc=git@vger.kernel.org \
    --cc=pujarimahesh_kumar@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