From: Keith Seitz <keiths@redhat.com>
To: Eli Zaretskii <eliz@gnu.org>
Cc: gdb-patches@sourceware.org
Subject: Re: [RFA 0/5] Explicit linespecs
Date: Sun, 29 Jul 2012 18:51:00 -0000 [thread overview]
Message-ID: <50158603.60503@redhat.com> (raw)
In-Reply-To: <834notjwk1.fsf@gnu.org>
On 07/27/2012 04:03 AM, Eli Zaretskii wrote:
> What exactly does the "offset" option do? Is it a line offset, or is
> it measured in other units? If it's a line offset, then why not call
> it "-line"? If "offset" means it's a relative line offset, then what
> is it relative to?
It is completely analogous to the linespec parser. It could be an
absolute line number (if -source given) or relative (if
-function/-label). [Note that function/label relative offsets have not
been implemented yet -- right now they are simply ignored (per
maintainers request).]
I can certainly rename the option to be more user-friendly. I just used
the same terminology that is used inside the parser.
> Also, the above doesn't seem to cover the magical '*function' location
> spec.
That's the -address option.
Keith
next prev parent reply other threads:[~2012-07-29 18:51 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-07-27 3:45 Keith Seitz
2012-07-27 11:03 ` Eli Zaretskii
2012-07-29 18:51 ` Keith Seitz [this message]
2012-07-29 19:36 ` Eli Zaretskii
2012-08-01 10:14 ` Pedro Alves
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=50158603.60503@redhat.com \
--to=keiths@redhat.com \
--cc=eliz@gnu.org \
--cc=gdb-patches@sourceware.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