summaryrefslogtreecommitdiff
path: root/devel/avr-gcc/files/patch-dwarfdebug
diff options
context:
space:
mode:
authorJoerg Wunsch <joerg@FreeBSD.org>2004-07-07 11:29:23 +0000
committerJoerg Wunsch <joerg@FreeBSD.org>2004-07-07 11:29:23 +0000
commitd04fd3fae81cc1089dec902376b9209c116ba9a5 (patch)
tree54c2cccaa108f4430b406cf93c0b2643e97be8b5 /devel/avr-gcc/files/patch-dwarfdebug
parentUpdate maintainer's e-mail address. (diff)
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.
Notes
Notes: svn path=/head/; revision=113131
Diffstat (limited to 'devel/avr-gcc/files/patch-dwarfdebug')
-rw-r--r--devel/avr-gcc/files/patch-dwarfdebug8
1 files changed, 8 insertions, 0 deletions
diff --git a/devel/avr-gcc/files/patch-dwarfdebug b/devel/avr-gcc/files/patch-dwarfdebug
new file mode 100644
index 000000000000..4663f984f160
--- /dev/null
+++ b/devel/avr-gcc/files/patch-dwarfdebug
@@ -0,0 +1,8 @@
+--- 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