From: Eli Zaretskii <eliz@is.elta.co.il>
To: Andrew Cagney <ac131313@redhat.com>
Cc: gdb-patches@sources.redhat.com
Subject: Re: [rfc;rfa:breakpoint] Pass full breakpoint/watchpoint count to target
Date: Sun, 29 Sep 2002 22:46:00 -0000 [thread overview]
Message-ID: <Pine.SUN.3.91.1020930073939.25050K-100000@is> (raw)
In-Reply-To: <3D97C8A8.1040902@redhat.com>
On Sun, 29 Sep 2002, Andrew Cagney wrote:
> The attached patch changes the target vector so that a count of each
> type of hardware watchpoint/breakpoint is passed to the
> target_can_use_hardware_breakpoints() function. (Anyone got a better
> name for the function?).
>
> This lets targets make a better guess at how many watchpoints are going
> to be needed.
Sorry, I don't see the large-scale picture: how will this facility be
used in routine GDB operations by the application-level GDB code?
Also, on a i386, for example, if you don't pass the size and alignment of
each address to be watched, the guess of the amount of required resources
can be very wrong. This is even more exacerbated due to debug register
sharing implemented for i386.
> The intent is for the Z? packet to pass these totals down
> to the target.
Do you mean to say this is only for remote targets?
next prev parent reply other threads:[~2002-09-30 5:46 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-09-29 20:44 Andrew Cagney
2002-09-29 22:46 ` Eli Zaretskii [this message]
2002-09-30 9:59 ` Andrew Cagney
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=Pine.SUN.3.91.1020930073939.25050K-100000@is \
--to=eliz@is.elta.co.il \
--cc=ac131313@redhat.com \
--cc=gdb-patches@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