1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-25 09:34:11 +00:00
freebsd-ports/devel/avr-gcc-3/files/patch-dwarfdebug
Joerg Wunsch d04fd3fae8 Upgrade AVR-GCC to GCC 3.4.1.
Also included is a local hack to allow for 0bXXX binary constants,
since this appears to be a frequently requested item in the AVR
developers community.

The GCC configuration is tuned to allow for both, -gstabs [the default
if only -g is given], and -gdwarf-2 debugging options.  ELF/DWARF-2 is
the emerging format as promoted by Atmel, and is intented to be
directly usable in their AVR Studio simulator in future.  Eventually,
AVR-GDB will fully support DWARF-2 debugging as well some day.
2004-07-07 11:29:23 +00:00

9 lines
252 B
Plaintext

--- gcc/config/avr/avr.h.orig Tue Mar 9 03:59:55 2004
+++ gcc/config/avr/avr.h Sun Jul 4 21:46:12 2004
@@ -2479,4 +2479,5 @@
/* zero register r1 */
#define ZERO_REGNO 1
+#define DWARF2_DEBUGGING_INFO 1
#define PREFERRED_DEBUGGING_TYPE DBX_DEBUG