> this can be attributed to the "load" loading up the ELF contents into the > relevant memory regions, but "run" only executes it. so if the program > modifies memory (such as .data), things dont get reloaded and behavior is not > so nice.
I think that this is expected. We have the same sort of issue on VxWorks as well, where the data segment is initialized at load time. > based on the code, i guess this is expected behavior. the trouble > comes in with the gdb testsuites that explicitly try and verify that > this works. such as gdb.base/a2-run.exp. IMO, that's a problem with the testcase. I think it should reload for the platforms that need it. -- Joel _______________________________________________ Toolchain-devel mailing list Toolchain-devel@blackfin.uclinux.org https://blackfin.uclinux.org/mailman/listinfo/toolchain-devel