aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Kratochvil <jan.kratochvil@redhat.com>2012-07-24 13:14:37 +0000
committerJan Kratochvil <jan.kratochvil@redhat.com>2012-07-24 13:14:37 +0000
commit1634dcbe1635ed0d3490feb085efcbb003a536ba (patch)
treeb6466b3dbe8b0911ebcebf1f3e8a3ad435158580
parentd908c8af5a1d7d9122decf3cab08018e9f925d27 (diff)
downloadgdb-1634dcbe1635ed0d3490feb085efcbb003a536ba.zip
gdb-1634dcbe1635ed0d3490feb085efcbb003a536ba.tar.gz
gdb-1634dcbe1635ed0d3490feb085efcbb003a536ba.tar.bz2
gdb/
* gdb_bfd.c (zlib_decompress_section) <!HAVE_ZLIB_H>: Adjust parameters to bfd_get_section_name.
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/gdb_bfd.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 414bafd..2c0cac9 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,8 @@
+2012-07-24 Marcus Shawcroft <marcus.shawcroft@arm.com>
+
+ * gdb_bfd.c (zlib_decompress_section) <!HAVE_ZLIB_H>: Adjust
+ parameters to bfd_get_section_name.
+
2012-07-24 Yao Qi <yao@codesourcery.com>
* cli/cli-setshow.c: Handle case 'var_uinteger'
diff --git a/gdb/gdb_bfd.c b/gdb/gdb_bfd.c
index aa222b9..1e6af49 100644
--- a/gdb/gdb_bfd.c
+++ b/gdb/gdb_bfd.c
@@ -312,7 +312,7 @@ zlib_decompress_section (asection *sectp,
error (_("Support for zlib-compressed data (from '%s', section '%s') "
"is disabled in this copy of GDB"),
bfd_get_filename (abfd),
- bfd_get_section_name (sectp));
+ bfd_get_section_name (abfd, sectp));
#else
bfd_size_type compressed_size = bfd_get_section_size (sectp);
gdb_byte *compressed_buffer = xmalloc (compressed_size);