This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[commit] [PATCH] Fix parameters to bfd_get_section_name


On Tue, 24 Jul 2012 11:22:46 +0200, Marcus Shawcroft wrote:
> 2012-07-24  Marcus Shawcroft  <marcus.shawcroft@arm.com>
> 
>         * gdb_bfd.c (zlib_decompress_section): Adjust
>         parameters to bfd_get_section_name.

Checked in.


Thanks,
Jan


http://sourceware.org/ml/gdb-cvs/2012-07/msg00190.html

--- src/gdb/ChangeLog	2012/07/24 12:49:18	1.14519
+++ src/gdb/ChangeLog	2012/07/24 13:14:36	1.14520
@@ -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'
--- src/gdb/gdb_bfd.c	2012/07/23 15:01:50	1.7
+++ src/gdb/gdb_bfd.c	2012/07/24 13:14:37	1.8
@@ -312,7 +312,7 @@
   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);


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]