aboutsummaryrefslogtreecommitdiff
path: root/gdb/target.h
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2013-12-18 14:55:44 -0700
committerTom Tromey <tromey@redhat.com>2014-02-19 07:48:19 -0700
commiteb276a6b5b56eeb15729892d66d11782bbacbdfc (patch)
tree6bc3bfb201dadb21012c86ff50f9f087e0e2190a /gdb/target.h
parent9e538d0d0bebe3230940a820c6ec1016f0795899 (diff)
downloadgdb-eb276a6b5b56eeb15729892d66d11782bbacbdfc.zip
gdb-eb276a6b5b56eeb15729892d66d11782bbacbdfc.tar.gz
gdb-eb276a6b5b56eeb15729892d66d11782bbacbdfc.tar.bz2
convert to_verify_memory
2014-02-19 Tom Tromey <tromey@redhat.com> * target-delegates.c: Rebuild. * target.c (target_verify_memory): Unconditionally delegate. * target.h (struct target_ops) <to_verify_memory>: Use TARGET_DEFAULT_NORETURN.
Diffstat (limited to 'gdb/target.h')
-rw-r--r--gdb/target.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/target.h b/gdb/target.h
index 0a6c467..69f3c1f 100644
--- a/gdb/target.h
+++ b/gdb/target.h
@@ -941,7 +941,8 @@ struct target_ops
a match, 0 if there's a mismatch, and -1 if an error is
encountered while reading memory. */
int (*to_verify_memory) (struct target_ops *, const gdb_byte *data,
- CORE_ADDR memaddr, ULONGEST size);
+ CORE_ADDR memaddr, ULONGEST size)
+ TARGET_DEFAULT_NORETURN (tcomplain ());
/* Return the address of the start of the Thread Information Block
a Windows OS specific feature. */