openbsd-ports/devel/avr/binutils/patches/patch-binutils_debug_h
ckuethe ebcb40e5e1 Update to the latest AVR gcc, binutils, libc and gdb. Based on the FreeBSD
port, which is also in sync with winavr/avrstudio. Among other things, this
adds support for atmega328... which means new arduino boards should work.
2010-06-27 20:58:10 +00:00

17 lines
747 B
Plaintext

$OpenBSD: patch-binutils_debug_h,v 1.3 2010/06/27 20:58:10 ckuethe Exp $
--- binutils/debug.h.orig Sat Jun 26 11:22:43 2010
+++ binutils/debug.h Sat Jun 26 11:31:17 2010
@@ -440,6 +440,12 @@ extern bfd_boolean debug_set_filename (void *, const c
extern bfd_boolean debug_start_source (void *, const char *);
+/* Register a pathname translation for source (and include) filenames.
+ This is used by the --change-pathname option of objcopy. */
+
+extern void debug_register_pathname_xlat
+ PARAMS ((const char *, const char *));
+
/* Record a function definition. This implicitly starts a function
block. The debug_type argument is the type of the return value.
The bfd_boolean indicates whether the function is globally visible.