~ > #0 0x20068c8e in ?? ()
~ > #1 0x2007d060 in ?? ()
~ > #2 0x2005c456 in ?? ()
~ > #3 0x1646 in main () at foo.c:8
~ > (gdb)
~ >
~ isnt this a strange place for the program to be loaded (I cant remember
~ seing programs in this address range...
:-) yes.:-) --> 0x20 --> space, and so on.. probably that's the cause.. I
just looked over the code once again, and figured where I had typo..
sometimes we all going crazy :-)
~ >
~ you initialise a character variable with a pointer to a string constant
~ (compiler actually tells this). I think it should be
~
~ char * foo = "bababa"
yep. or char foo[]="bababa"; :-)
thanks for the hint anyway :-)