mbox series

[v3,0/2] Add testcase for libc memory operations

Message ID 20240422230700.1173173-1-thiago.bauermann@linaro.org
Headers show
Series Add testcase for libc memory operations | expand

Message

Thiago Jung Bauermann April 22, 2024, 11:06 p.m. UTC
Hello,

When I sent v2 yesterday, I hadn't seen. Kevin's review comments.  This
version addresses them.  As a result, memops-watchpoint.exp now tries
harder to work even if there's no libc debug info available.

The new testcase doesn't use the libc_has_debug_info require helper
anymore, so patch 1 is now an optional cleanup.

For reference, v2 is here:

https://inbox.sourceware.org/gdb-patches/20240421222657.1052635-1-thiago.bauermann@linaro.org/

and v1 is here:

https://inbox.sourceware.org/gdb-patches/20240420213307.976401-1-thiago.bauermann@linaro.org/

Thiago Jung Bauermann (2):
  gdb/testsuite: Add libc_has_debug_info require helper
  gdb/testsuite: Add gdb.base/memops-watchpoint.exp

 gdb/testsuite/gdb.base/memops-watchpoint.c   |  45 ++++++
 gdb/testsuite/gdb.base/memops-watchpoint.exp | 160 +++++++++++++++++++
 gdb/testsuite/gdb.base/relativedebug.exp     |  13 +-
 gdb/testsuite/lib/gdb.exp                    |  56 +++++++
 4 files changed, 262 insertions(+), 12 deletions(-)
 create mode 100644 gdb/testsuite/gdb.base/memops-watchpoint.c
 create mode 100644 gdb/testsuite/gdb.base/memops-watchpoint.exp


base-commit: fdaa4939e5024ea809c0d4d1aa6043a60b37d9b5