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]

Re: [patch] Reading coff-pe-read files


Pedro Alves <pedro@codesourcery.com> wrote on 09.01.2009 09:58:01:

> On Thursday 08 January 2009 20:55:13, Kai Tietz wrote:
> 
> > Thank you all. Patch committed.
> 
> Looks like the wrong version got in? :
> 
> .../../src/gdb/coff-pe-read.c: In function 'read_pe_exported_syms':
> ../../src/gdb/coff-pe-read.c:226: error: expected ')' before ';' token
> ../../src/gdb/coff-pe-read.c:358: error: expected ';' before '}' token
> 
> -- 
> Pedro Alves
> 
Hi Pedro,

Sorry, I missed one ending frame. Committed as obvious.

2009-01-08  Kai Tietz  <kai.tietz@onevision.com>

        * coff-pe-read.c (read_pe_exported_syms): Fix typo.

Thanks,
Kai

-----
Index: coff-pe-read.c
===================================================================
RCS file: /cvs/src/src/gdb/coff-pe-read.c,v
retrieving revision 1.9
diff -u -r1.9 coff-pe-read.c
--- coff-pe-read.c      8 Jan 2009 20:53:32 -0000       1.9
+++ coff-pe-read.c      9 Jan 2009 09:31:19 -0000
@@ -223,7 +223,7 @@
   pe_header_offset = pe_get32 (dll, 0x3c);
   opthdr_ofs = pe_header_offset + 4 + 20;
   if (is_pe64)
-    num_entries = pe_get32 (dll, opthdr_ofs + 108;
+    num_entries = pe_get32 (dll, opthdr_ofs + 108);
   else
     num_entries = pe_get32 (dll, opthdr_ofs + 92);


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