diff options
author | Edgar E. Iglesias <edgar@axis.com> | 2012-10-04 15:26:38 +0200 |
---|---|---|
committer | Petr Machata <pmachata@redhat.com> | 2012-10-14 00:21:52 +0200 |
commit | 5b5c256d0e9076e745908a43acc46353265a5608 (patch) | |
tree | b56b366fbc00cdb3750fc925910eaa94bbf32e33 /sysdeps/linux-gnu/m68k | |
parent | 3a8a91ca57f66d664b3fbd19882e6d163c7ad496 (diff) | |
download | ltrace-5b5c256d0e9076e745908a43acc46353265a5608.tar.gz |
Abort on unsupported value types in the backends
Makes it easier to add new types.
Signed-off-by: Edgar E. Iglesias <edgar@axis.com>
Diffstat (limited to 'sysdeps/linux-gnu/m68k')
-rw-r--r-- | sysdeps/linux-gnu/m68k/fetch.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/linux-gnu/m68k/fetch.c b/sysdeps/linux-gnu/m68k/fetch.c index a92057b..5da09e9 100644 --- a/sysdeps/linux-gnu/m68k/fetch.c +++ b/sysdeps/linux-gnu/m68k/fetch.c @@ -224,7 +224,7 @@ arch_fetch_retval(struct fetch_context *context, enum tof type, } return 0; - case ARGTYPE_ARRAY: + default: assert(!"Unexpected m68k retval type!"); abort(); } |