From: Jan Kratochvil Date: Tue, 24 Jul 2012 13:14:37 +0000 (+0000) Subject: gdb/ X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=1634dcbe1635ed0d3490feb085efcbb003a536ba;p=binutils-gdb.git gdb/ * gdb_bfd.c (zlib_decompress_section) : Adjust parameters to bfd_get_section_name. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 414bafd5ca5..2c0cac919a9 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2012-07-24 Marcus Shawcroft + + * gdb_bfd.c (zlib_decompress_section) : Adjust + parameters to bfd_get_section_name. + 2012-07-24 Yao Qi * cli/cli-setshow.c: Handle case 'var_uinteger' diff --git a/gdb/gdb_bfd.c b/gdb/gdb_bfd.c index aa222b9ba70..1e6af492358 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);