Article View: gnu.gcc.help
Article #53632Problem with gdb using gas-1.38 on SysV.3 COFF.
From: Steven W Orr
Date: Sun, 15 Sep 1991 06:33
Date: Sun, 15 Sep 1991 06:33
39 lines
1993 bytes
1993 bytes
I am running SCO ODT-1.1, gdb-3.6, gcc-1.40 and system supplied ld. I was using gas-1.37 with COFF patches and tried gas-1.38 using the COFF patches that were just recently released from ftp.cs.umb.edu. Programs using the new gas works fine except that gdb fails to read the symbol table at startup with "Error:Virtual memory exhausted.". I took a simple program and compiled it using the gas-1.37 and with gas-1.38. I took the two resulting object files and looked at the two object files and found that the one that was emitted by gas-1.38 had no line information. The symbol information was a little different also. Does anyone have gas-1.38 working on a386/SysV.3.2.2 and with gdb? Please tell me what to do. Makefile options follow: O1 = # -DNO_VARARGS O2 = # -DNON_BROKEN_WORDS O3 = # -Dm68851 O4 = # -DEXEC_VERSION=1 O5 = # -DSIGTY=void O6 = # -DNS32532 O6 = # -DNS32381 O7 = -DDOT_LABEL_PREFIX O9 = -DREGISTER_PREFIX=\'%\' G4 = # -DUSE_SYSTEM_HDR G5 = # -DUSE_HP_HDR G6 = # -DSUN_ASM_SYNTAX G8 = # $(SPECIAL_GLOBAL_DEFINES) B1 = -DCOFF_OPTION=FALSE B2 = # -DCOFF_OPTION=TRUE B3 = $(BACKEND_INCDIR_SPEC) B4 = # -DM68K_NO_PCREL_RELOC B5 = # -DBSD_STYLE_COFF_COMMON -- ----------Time flies like the wind. Fruit flies like bananas.------------------ Steven W. Orr steveo@world.std.com uunet!world!steveo ----------Everybody repeat after me: "We are all individuals."-----------------
Technical Details
Message-ID:
<9109151433.AA14515@world.std.com>Path:
arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!cis.ohio-state.edu!world.std.com!steveoShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 11318c,acea9808c104053c,start X-Google-Attributes: gid11318c,public X-Google-ArrivalTime: 1991-09-15 10:30:53 PST Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!cis.ohio-state.edu!world.std.com!steveo From: steveo@world.std.com (Steven W Orr) Newsgroups: gnu.gcc.help Subject: Problem with gdb using gas-1.38 on SysV.3 COFF. Message-ID: <9109151433.AA14515@world.std.com> Date: 15 Sep 91 06:33:40 GMT Sender: daemon@cis.ohio-state.edu Distribution: gnu Organization: GNUs Not Usenet Lines: 39