This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
uninitialized variable
- To: "eCos Discussion" <ecos-discuss at sourceware dot cygnus dot com>
- Subject: [ECOS] uninitialized variable
- From: "Trenton D. Adams" <tadams at theone dot dnsalias dot com>
- Date: Fri, 7 Sep 2001 14:09:22 -0600
Is memory in eCos initialized to these values before it's used? When I
didn't initialize this variable, it ended up being set to this value
which happened to be in memory at that location.
(gdb) print slot->attr
$1 = (unsigned char *) 0xdeadbeef "_\004 Bâ\004 Bä\001 Dä\001 Då\t"
Is this some sort of joke, or just a !TOTALLY random occurance?
Trenton D. Adams
Extreme Engineering
#17, 6025 - 12 St. SE
Calgary, Alberta, Canada
T2H 2K1
Phone: 403 640 9494 ext-208
Fax: 403 640 9599
http://www.extremeeng.com