Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: "Ulrich Weigand" <uweigand@de.ibm.com>
To: uweigand@de.ibm.com (Ulrich Weigand)
Cc: gdb-patches@sourceware.org, Will.Deacon@arm.com (Will Deacon),
	       matthew.gretton-dann@arm.com (Matthew Gretton-Dann)
Subject: Re: [RFC, v2] ARM support for Hardware breakpoints and watchpoints for native Linux.
Date: Mon, 21 Feb 2011 15:17:00 -0000	[thread overview]
Message-ID: <201102211508.p1LF8LXA032091@d06av02.portsmouth.uk.ibm.com> (raw)
In-Reply-To: <201102171643.p1HGhPNF029937@d06av02.portsmouth.uk.ibm.com> from "Ulrich Weigand" at Feb 17, 2011 05:43:25 PM


> ChangeLog:
> 
> 	* arm-linux-nat.c: Include "observer.h" and "gdbthread.h".
> 	(PTRACE_GETHBPREGS, PTRACE_SETHBPREGS): Define.
> 	(struct arm_linux_hwbp_cap): New type.
> 	(arm_linux_get_hwbp_cap): New function.
> 	(arm_linux_get_hw_breakpoint_count): Likewise.
> 	(arm_linux_get_hw_watchpoint_count): Likewise.
> 	(arm_linux_can_use_hw_breakpoint): Likewise.
> 	(arm_hwbp_type): New type.
> 	(arm_hwbp_control_t): Likewise.
> 	(struct arm_linux_hw_breakpoint): Likewise.
> 	(struct arm_linux_thread_points): Likewise.
> 	(arm_threads): New global variable.
> 	(arm_linux_find_breakpoints_by_tid): New function.
> 	(arm_hwbp_control_initialize): Likewise.
> 	(arm_hwbp_control_is_enabled): Likewise.
> 	(arm_hwbp_control_disable): Likewise.
> 	(arm_linux_hw_breakpoint_initialize): Likewise.
> 	(arm_linux_get_hwbp_type): Likewise.
> 	(arm_linux_hw_watchpoint_initialize): Likewise.
> 	(arm_linux_hw_breakpoint_equal): Likewise.
> 	(arm_linux_insert_hw_breakpoint1): Likewise.
> 	(arm_linux_remove_hw_breakpoint1): Likewise.
> 	(arm_linux_insert_hw_breakpoint): Likewise.
> 	(arm_linux_remove_hw_breakpoint): Likewise.
> 	(arm_linux_region_ok_for_hw_watchpoint): Likewise.
> 	(arm_linux_insert_watchpoint): Likewise.
> 	(arm_linux_remove_watchpoint): Likewise.
> 	(arm_linux_stopped_data_address): Likewise.
> 	(arm_linux_stopped_by_watchpoint): Likewise.
> 	(arm_linux_watchpoint_addr_within_range): Likewise.
> 	(arm_linux_new_thread): Likewise.
> 	(arm_linux_thread_exit): Likewise.
> 	(_initialize_arm_linux_nat): Install hardware breakpoint/watchpoint
> 	related target callbacks.  Register arm_linux_new_thread and
> 	arm_linux_thread_exit.
> 	* arm-tdep.h (arm_pc_is_thumb): Add prototype.
> 	* arm-tdep.c (arm_pc_is_thumb): Make global.
> 	(arm_gdbarch_init): Call set_gdbarch_have_nonsteppable_watchpoint.
> 
> testsuite/ChangeLog:
> 
> 	* lib/gdb.exp (skip_hw_breakpoint_tests): Add arm*-*-* target.
> 	(skip_hw_watchpoint_tests): Likewise.
> 	(skip_hw_watchpoint_multi_tests): Likewise.

And I've checked this in as well.

Bye,
Ulrich

-- 
  Dr. Ulrich Weigand
  GNU Toolchain for Linux on System z and Cell BE
  Ulrich.Weigand@de.ibm.com


      reply	other threads:[~2011-02-21 15:08 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-07-07 13:52 [RFC] " Matthew Gretton-Dann
2010-07-07 16:17 ` Matthew Gretton-Dann
2010-11-08 19:35   ` Joel Brobecker
2010-11-09 10:08     ` Matthew Gretton-Dann
2010-11-09 15:34       ` Joel Brobecker
2011-02-17 16:53 ` [RFC, v2] " Ulrich Weigand
2011-02-21 15:17   ` Ulrich Weigand [this message]

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=201102211508.p1LF8LXA032091@d06av02.portsmouth.uk.ibm.com \
    --to=uweigand@de.ibm.com \
    --cc=Will.Deacon@arm.com \
    --cc=gdb-patches@sourceware.org \
    --cc=matthew.gretton-dann@arm.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