summaryrefslogtreecommitdiff
path: root/devel/avr-gdb/files/patch-gdb::symfile.c
diff options
context:
space:
mode:
authorJoerg Wunsch <joerg@FreeBSD.org>2005-02-05 22:42:11 +0000
committerJoerg Wunsch <joerg@FreeBSD.org>2005-02-05 22:42:11 +0000
commit0c48427350e273398f08befa32512fc39d206471 (patch)
treed06697caa440c2007f3e27c17c6fcfbf99adcca6 /devel/avr-gdb/files/patch-gdb::symfile.c
parent- Update to 0.98.2 (diff)
Update to GDB 6.3. This also requires a patch from Theodore Roth,
see http://sources.redhat.com/ml/gdb-patches/2004-10/msg00324.html
Notes
Notes: svn path=/head/; revision=128105
Diffstat (limited to 'devel/avr-gdb/files/patch-gdb::symfile.c')
-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-&gt;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;
+