This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH, AArch64] Fix bug in hardware watchpoint/breakpoint handling
- From: Marcus Shawcroft <marcus dot shawcroft at gmail dot com>
- To: pinskia at gmail dot com
- Cc: Yufeng Zhang <Yufeng dot Zhang at arm dot com>, "gdb-patches at sourceware dot org" <gdb-patches at sourceware dot org>, Marcus Shawcroft <Marcus dot Shawcroft at arm dot com>
- Date: Thu, 19 Dec 2013 10:26:07 +0000
- Subject: Re: [PATCH, AArch64] Fix bug in hardware watchpoint/breakpoint handling
- Authentication-results: sourceware.org; auth=none
- References: <52B1C84F dot 4000102 at arm dot com> <430CEAB7-7F7B-430D-9C37-75F87D1F65AC at gmail dot com> <CAFqB+PyUfWodaTX=jam=dE6ZzE4goj8n4xfc52AsvvMNaj4y+w at mail dot gmail dot com> <1687CC80-34C1-4D76-836B-418050049B16 at gmail dot com>
On 19 December 2013 10:23, <pinskia@gmail.com> wrote:
> Oh, I see I think this should have been written using offsetof [0] and then count*sizeof to make easier to understand and fits in with most other code which uses a variable size last element.
Umm, yes, I agree, that would be better.
/Marcus