aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/linux-gnu/ia64
diff options
context:
space:
mode:
authorEdgar E. Iglesias <edgar@axis.com>2012-10-04 15:26:38 +0200
committerPetr Machata <pmachata@redhat.com>2012-10-14 00:21:52 +0200
commit5b5c256d0e9076e745908a43acc46353265a5608 (patch)
treeb56b366fbc00cdb3750fc925910eaa94bbf32e33 /sysdeps/linux-gnu/ia64
parent3a8a91ca57f66d664b3fbd19882e6d163c7ad496 (diff)
downloadltrace-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/ia64')
-rw-r--r--sysdeps/linux-gnu/ia64/fetch.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/sysdeps/linux-gnu/ia64/fetch.c b/sysdeps/linux-gnu/ia64/fetch.c
index 2163801..54dc5b8 100644
--- a/sysdeps/linux-gnu/ia64/fetch.c
+++ b/sysdeps/linux-gnu/ia64/fetch.c
@@ -438,11 +438,10 @@ arch_fetch_arg_next(struct fetch_context *ctx, enum tof type,
case ARGTYPE_ARRAY:
/* Arrays decay into pointers. XXX Fortran? */
- assert(info->type != ARGTYPE_ARRAY);
+ default:
+ assert(info->type != info->type);
abort();
}
- assert("unhandled type");
- abort();
}
int