| www.delorie.com/archives/browse.cgi | search |
| Mailing-List: | contact cygwin-developers-help AT sourceware DOT cygnus DOT com; run by ezmlm |
| List-Subscribe: | <mailto:cygwin-developers-subscribe AT sourceware DOT cygnus DOT com> |
| List-Archive: | <http://sourceware.cygnus.com/ml/cygwin-developers/> |
| List-Post: | <mailto:cygwin-developers AT sourceware DOT cygnus DOT com> |
| List-Help: | <mailto:cygwin-developers-help AT sourceware DOT cygnus DOT com>, <http://sourceware.cygnus.com/ml/#faqs> |
| Sender: | cygwin-developers-owner AT sourceware DOT cygnus DOT com |
| Delivered-To: | mailing list cygwin-developers AT sourceware DOT cygnus DOT com |
| Date: | Sun, 9 Jan 2000 16:58:45 +0300 |
| From: | Egor Duda <deo AT logos-m DOT ru> |
| X-Mailer: | The Bat! (v1.029) S/N A0F2A05A |
| Reply-To: | Egor Duda <deo AT logos-m DOT ru> |
| Organization: | DEO |
| Message-ID: | <10707.000109@logos-m.ru> |
| To: | gdb AT sourceware DOT cygnus DOT com, cygwin-developers AT sourceware DOT cygnus DOT com |
| Subject: | little gdb/coffread.c fix |
| Mime-Version: | 1.0 |
Hi!
Current coffread.c fails to recognize pei-i386 target as pe_file.
As an effect, gdb incorrectly handles global symbols in
cygwin-complied win32 executables. Here's the fix.
Index: coffread.c
===================================================================
RCS file: /usr/home/deo/cvsroot/cygnus/cygwin/gdb/coffread.c,v
retrieving revision 1.1.2.1
diff -c -3 -r1.1.2.1 coffread.c
*** coffread.c 1999/12/30 11:42:59 1.1.2.1
--- coffread.c 2000/01/09 13:36:43
***************
*** 647,653 ****
this problem. */
pe_file = !
( strncmp (bfd_get_target (objfile->obfd), "pe", 2)
! | strncmp (bfd_get_target (objfile->obfd), "epoc-pe", 7));
/* End of warning */
--- 647,653 ----
this problem. */
pe_file = !
( strncmp (bfd_get_target (objfile->obfd), "pe", 2)
! && strncmp (bfd_get_target (objfile->obfd), "epoc-pe", 7));
/* End of warning */
Egor. mailto:deo AT logos-m DOT ru ICQ 5165414 FidoNet 2:5020/496.19
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |