As István Rétallér wrote: > I do probably misunderstand something. Starting avr-gdb with -x > option means the parameters are taken from that particular file, > isn't it?
Yes, the man page of GDB says: -x FILE, -command=FILE Execute GDB commands from file file. > gdbinit: $(GDBINITFILE) > > $(GDBINITFILE): $(TRG) > @echo "file $(TRG)" > $(GDBINITFILE) > @echo "target remote localhost:4242" >> $(GDBINITFILE) > @echo "load" >> $(GDBINITFILE) > @echo "break main" >> $(GDBINITFILE) > @echo "continue" >> $(GDBINITFILE) So, drop the echo line with "load" from that Makefile, in order to prevent GDB from re-flashing the memory. -- cheers, Joerg .-.-. --... ...-- -.. . DL8DTL http://www.sax.de/~joerg/ Never trust an operating system you don't have sources for. ;-) ------------------------------------------------------------------------------ Dive into the World of Parallel Programming. The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ _______________________________________________ avarice-user mailing list avarice-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/avarice-user