Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: "Jafa" <jafa@silicondust.com>
To: <gdb@sources.redhat.com>
Subject: breakpoint on a non-executable line
Date: Thu, 28 Aug 2003 19:00:00 -0000	[thread overview]
Message-ID: <015801c36d96$95ea2d20$0502a8c0@scenix.com> (raw)
In-Reply-To: <3F4E35CB.3080300@redhat.com>

Hi all,

I am seeing a problem/feature? of gdb (June top of trunk) where if you issue
a command to set a breakpoint on a non-executable line it will return the
line specified, regardless of where it actually set.

For example:

(gdb) b  /ubicom/toolchain/src/ld/ldmain.c:1
Breakpoint 2 at 0x41b800: file /ubicom/toolchain/src/ld/ldmain.c, line 1.

(It actually put the breakpoint on line 167).

Is this the desired behavior? I would have expected it to return success -
line 167.

Nick


       reply	other threads:[~2003-08-28 19:00 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <3F4E35CB.3080300@redhat.com>
2003-08-28 19:00 ` Jafa [this message]
2003-08-28 19:02   ` Daniel Jacobowitz
2003-08-28 20:20     ` Jafa

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='015801c36d96$95ea2d20$0502a8c0@scenix.com' \
    --to=jafa@silicondust.com \
    --cc=gdb@sources.redhat.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