aboutsummaryrefslogtreecommitdiff
path: root/devel/avr-gdb/files
diff options
context:
space:
mode:
Diffstat (limited to 'devel/avr-gdb/files')
-rw-r--r--devel/avr-gdb/files/patch-gdb::symfile.c16
1 files changed, 16 insertions, 0 deletions
diff --git a/devel/avr-gdb/files/patch-gdb::symfile.c b/devel/avr-gdb/files/patch-gdb::symfile.c
new file mode 100644
index 000000000000..54691fb73456
--- /dev/null
+++ b/devel/avr-gdb/files/patch-gdb::symfile.c
@@ -0,0 +1,16 @@
+Index: gdb/symfile.c
+===================================================================
+RCS file: /cvs/src/src/gdb/symfile.c,v
+retrieving revision 1.143
+diff -u -p -p -r1.143 symfile.c
+--- symfile.c 1 Oct 2004 10:23:09 -0000 1.143
++++ symfile.c 19 Oct 2004 20:07:58 -0000
+@@ -1405,7 +1405,7 @@ load_section_callback (bfd *abfd, asecti
+ struct cleanup *old_chain;
+ CORE_ADDR lma = bfd_section_lma (abfd, asec) + args->load_offset;
+ bfd_size_type block_size;
+- int err;
++ int err = 0;
+ const char *sect_name = bfd_get_section_name (abfd, asec);
+ bfd_size_type sent;
+