aboutsummaryrefslogtreecommitdiff
path: root/gdb/target.h
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2013-12-18 14:50:56 -0700
committerTom Tromey <tromey@redhat.com>2014-02-19 07:48:17 -0700
commite8a6c6ace9d2cc7fa94f8adb81aba5181f77442c (patch)
tree58f12fdbd76633fd8cffa0d5ac77329788583848 /gdb/target.h
parent7e35c012fb79ca35105f0d1b299014adef61be88 (diff)
downloadgdb-e8a6c6ace9d2cc7fa94f8adb81aba5181f77442c.zip
gdb-e8a6c6ace9d2cc7fa94f8adb81aba5181f77442c.tar.gz
gdb-e8a6c6ace9d2cc7fa94f8adb81aba5181f77442c.tar.bz2
convert to_flash_erase
2014-02-19 Tom Tromey <tromey@redhat.com> * target-delegates.c: Rebuild. * target.c (target_flash_erase): Unconditionally delegate. * target.h (struct target_ops) <to_flash_erase>: 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 38046eb..17e3ed2 100644
--- a/gdb/target.h
+++ b/gdb/target.h
@@ -676,7 +676,8 @@ struct target_ops
Precondition: both ADDRESS and ADDRESS+LENGTH should be aligned
on flash block boundaries, as reported by 'to_memory_map'. */
void (*to_flash_erase) (struct target_ops *,
- ULONGEST address, LONGEST length);
+ ULONGEST address, LONGEST length)
+ TARGET_DEFAULT_NORETURN (tcomplain ());
/* Finishes a flash memory write sequence. After this operation
all flash memory should be available for writing and the result