mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2025-02-11 13:02:10 +08:00
gdb/
* gdb_bfd.c (zlib_decompress_section) <!HAVE_ZLIB_H>: Adjust parameters to bfd_get_section_name.
This commit is contained in:
parent
d908c8af5a
commit
1634dcbe16
@ -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>
|
2012-07-24 Yao Qi <yao@codesourcery.com>
|
||||||
|
|
||||||
* cli/cli-setshow.c: Handle case 'var_uinteger'
|
* cli/cli-setshow.c: Handle case 'var_uinteger'
|
||||||
|
@ -312,7 +312,7 @@ zlib_decompress_section (asection *sectp,
|
|||||||
error (_("Support for zlib-compressed data (from '%s', section '%s') "
|
error (_("Support for zlib-compressed data (from '%s', section '%s') "
|
||||||
"is disabled in this copy of GDB"),
|
"is disabled in this copy of GDB"),
|
||||||
bfd_get_filename (abfd),
|
bfd_get_filename (abfd),
|
||||||
bfd_get_section_name (sectp));
|
bfd_get_section_name (abfd, sectp));
|
||||||
#else
|
#else
|
||||||
bfd_size_type compressed_size = bfd_get_section_size (sectp);
|
bfd_size_type compressed_size = bfd_get_section_size (sectp);
|
||||||
gdb_byte *compressed_buffer = xmalloc (compressed_size);
|
gdb_byte *compressed_buffer = xmalloc (compressed_size);
|
||||||
|
Loading…
Reference in New Issue
Block a user