Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FunTechCortexMX_test - datai_size is sometimes wrong. #5

Open
jsiei97 opened this issue Feb 18, 2012 · 0 comments
Open

FunTechCortexMX_test - datai_size is sometimes wrong. #5

jsiei97 opened this issue Feb 18, 2012 · 0 comments

Comments

@jsiei97
Copy link
Owner

jsiei97 commented Feb 18, 2012

Test results

Results:
OK: 0
FAIL 0
Err 5

log.test01.txt - Error
log.test02.txt - Error
log.test03.txt - Error
log.test04.txt - Error
log.test05.txt - Error

make TEST=test01 ddd
data_size = 547
datai_size = 548

make TEST=test02 ddd
data_size = 547
datai_size = 548

make TEST=test05 ddd
data_size = 543
datai_size = 544

test03 and test04 does not have this problem.

test01

If we look into test01:

grep my_global main.symboltable 
2000003c D my_global_variable_one
20000040 D my_global_variable_two
20000d80 B my_global_variable_zero

Breakpoint 1, low_level_init () at src/low_level_init.c:60

(gdb) print *0x2000003c
$1 = 15988
(gdb) print *0x20000040
$2 = 1
(gdb) print *0x20000044
$3 = 2
(gdb) 

We see that we have a of by one, the strange thing is that it is only true for test 1,2 and 5.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant