[ltrace-commits] 09/40: added a disabled stub for complex float support
Petr Machata
pmachata-guest at moszumanska.debian.org
Sun May 11 22:38:53 UTC 2014
This is an automated email from the git hooks/post-receive script.
pmachata-guest pushed a commit to branch master
in repository ltrace.
commit 2794bb828b6e3b4cc8bfeeef4aa57e81675e7660
Author: Dima Kogan <dima at secretsauce.net>
Date: Tue Apr 22 15:15:55 2014 -0700
added a disabled stub for complex float support
---
dwarf_prototypes.c | 17 +++++++++++++++++
1 file changed, 17 insertions(+)
diff --git a/dwarf_prototypes.c b/dwarf_prototypes.c
index 449a750..64d7820 100644
--- a/dwarf_prototypes.c
+++ b/dwarf_prototypes.c
@@ -236,6 +236,23 @@ static enum arg_type get_base_type(Dwarf_Die* die)
}
}
+#if 0
+ if (encoding == DW_ATE_complex_float) {
+ switch (attr_numeric(die, DW_AT_byte_size)) {
+ case 2*sizeof(float):
+ return ARGTYPE_FLOAT;
+
+ case 2*sizeof(double):
+ return ARGTYPE_DOUBLE;
+
+ default:
+ // things like long doubles. ltrace has no support yet, so I just
+ // say "void"
+ return ARGTYPE_VOID;
+ }
+ }
+#endif
+
// Unknown encoding. I just say void
complain(die, "Unknown base type. Returning 'void'");
return ARGTYPE_VOID;
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/collab-maint/ltrace.git
More information about the ltrace-commits
mailing list