This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
About compression&Decompression.]
- To: ecos-discuss at sources dot redhat dot com, ecos-discuss at sourceware dot cygnus dot com
- Subject: [ECOS] About compression&Decompression.]
- From: "sreenivas y.p.s.s" <sreenivas at multitech dot co dot in>
- Date: Mon, 01 Oct 2001 09:56:36 +0530
- Organization: MultiTech Software Systems
Hi,
I compiled and linked the files in the zlib directory of Services
package of eCos.
I am Debugging the code with SDS debugger.Also, i added the example.c
file of zlib.
My question:
In the example file example.c
test_deflate() and test_inflate() are working fine and given the output
inflate():hello hello!.
But after these two functions.i.e for testing the sources with large
buffers,
test_large_deflate() works fine.
But in the 'test_large_inflate', target(MPC860T) goes into"software
emulation exception that is "catch exception".
The system goes in to exception in the function "inflate_trees_bits()"
at
r = huft_buid().
In the huft_build() function at line number 270 q[j] = r ; is the main
cause of exception.
I doubt that structures are not properly initialised.
what can be the reason...??? what are the things that i need to
enable.??How can i debug this.
Thanks in advance.
Sreenivas