This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH v2 7/7] Support software breakpoints for ARM linux in GDBServer.
- From: Eli Zaretskii <eliz at gnu dot org>
- To: Antoine Tremblay <antoine dot tremblay at ericsson dot com>
- Cc: gdb-patches at sourceware dot org, antoine dot tremblay at ericsson dot com
- Date: Mon, 05 Oct 2015 20:00:10 +0300
- Subject: Re: [PATCH v2 7/7] Support software breakpoints for ARM linux in GDBServer.
- Authentication-results: sourceware.org; auth=none
- References: <1444063455-31558-1-git-send-email-antoine dot tremblay at ericsson dot com> <1444063455-31558-8-git-send-email-antoine dot tremblay at ericsson dot com>
- Reply-to: Eli Zaretskii <eliz at gnu dot org>
> From: Antoine Tremblay <antoine.tremblay@ericsson.com>
> CC: Antoine Tremblay <antoine.tremblay@ericsson.com>
> Date: Mon, 5 Oct 2015 12:44:15 -0400
>
> This patch implements the breakpoint_from_kind operation introduced
> in a previous patch.
>
> The proper breakpoint can then be returned to be inserted in memory.
>
> It enables software breakpoints via GDB's Z0 packets on ARM.
>
> No regressions, tested on ubuntu 14.04 ARMv7 and x86.
> With gdbserver-{native,extended} / { -marm -mthumb }
>
> gdb/ChangeLog:
> * NEWS: Add news for software breakpoints.
>
> gdb/gdbserver/ChangeLog:
> * linux-arm-low.c (arm_breakpoint_from_kind): New function.
> (arm_supports_z_point_type): Add software breakpoint support.
> (struct linux_target_ops) <breakpoint_from_kind>: Initialize field.
OK for the NEWS part.