diff options
author | Jan Kratochvil <jan.kratochvil@redhat.com> | 2012-07-24 13:14:36 +0000 |
---|---|---|
committer | Jan Kratochvil <jan.kratochvil@redhat.com> | 2012-07-24 13:14:36 +0000 |
commit | a5720b48692cd7a428a9131fb3148da3518d3f0c (patch) | |
tree | ed70247f11934329667f6c5063d7ac7ad34d71c0 /gdb/gdb_bfd.c | |
parent | b77f726f6d056b827c408ff5660c296b777ad6b2 (diff) | |
download | gdb-a5720b48692cd7a428a9131fb3148da3518d3f0c.tar.gz |
gdb/
* gdb_bfd.c (zlib_decompress_section) <!HAVE_ZLIB_H>: Adjust
parameters to bfd_get_section_name.
Diffstat (limited to 'gdb/gdb_bfd.c')
-rw-r--r-- | gdb/gdb_bfd.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); |