Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Eli Zaretskii <eliz@elta.co.il>
To: Kevin Buettner <kevinb@redhat.com>
Cc: gdb-patches@sources.redhat.com
Subject: Re: [RFA/doc] TARGET_ADJUST_BREAKPOINT_ADDRESS - patch 2 of 4
Date: Tue, 14 Oct 2003 05:53:00 -0000	[thread overview]
Message-ID: <u7k382wke.fsf@elta.co.il> (raw)
In-Reply-To: <1031013234730.ZM23298@localhost.localdomain> (message from Kevin Buettner on Mon, 13 Oct 2003 16:47:30 -0700)

> Date: Mon, 13 Oct 2003 16:47:30 -0700
> From: Kevin Buettner <kevinb@redhat.com>
> 
> How about the following?
> 
> 	* gdb.texinfo (Breakpoint related warnings): New node.
> 	* gdbint.texinfo (ADJUST_BREAKPOINT_ADDRESS): Document.

Thanks; approved with the following comments:

> +Some processor architectures place constraints on the addresses at
> +which breakpoints may be placed.  For architectures thus constrained,
> +GDB will attempt to adjust the breakpoint's address to comply with the
> +constraints dictated by the architecture.

"GDB" here should be "@value{GDBN}".

> +                          Upon seeing one of these warnings, the user
> +should verify that a breakpoint set at the adjusted address will have
> +the desired affect.

I suggest to say "If you see one of these warnings, you should verify
that a breakpoint ..." instead.

> +E.g, it may be sufficient to place the breakpoint at a later instruction.

The "e.g." here lacks a period after `g'.

> +@value{GDBN} will also issue a warning when stopping at one of these
> +adjusted breakpoints:
> +
> +@smallexample
> +warning: Breakpoint 1 address previously adjusted from 0x00010414 to 0x00010410.
> +@end smallexample

This will almost certainly produce an overfull box when TeX'ed.  I
suggest to break the long line into two (if you think it's important
to know that the message is one long line, you can add a comment to
that effect).

> +@item ADJUST_BREAKPOINT_ADDRESS (@var{address})
> +@findex ADJUST_BREAKPOINT_ADDRESS
> +Given an address at which a breakpoint is desired, return a breakpoint
> +address adjusted to account for architectural constraints on
> +breakpoint placement.  This method is not needed by most targets.

I'd add a @cindex entry here as well.


  reply	other threads:[~2003-10-14  5:53 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-10-04  3:08 Kevin Buettner
2003-10-07 21:46 ` Eli Zaretskii
2003-10-13 23:47   ` Kevin Buettner
2003-10-14  5:53     ` Eli Zaretskii [this message]
2003-10-14 20:26       ` Kevin Buettner

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=u7k382wke.fsf@elta.co.il \
    --to=eliz@elta.co.il \
    --cc=gdb-patches@sources.redhat.com \
    --cc=kevinb@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