This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // This program, when compiled with AVR-GCC 7.3.0, the standard version | |
| // for the Arduino AVR framework, will generate wrong debugging information. | |
| // When stopped just before the line buf[0] = ... and setting | |
| // num to 1001, then after two single-steps, num has become 1003 (which | |
| // is not true!), and after another singel-step it is back to 16000. | |
| // You can check that, e.g., by using simavr and avr-gdb. | |
| #include <string.h> | |
| #include <avr/pgmspace.h> |