🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.help
Article #52521

gdb and hpux

#52521
From: Michael G. Katzmann
Date: Tue, 14 Jul 1992 19:26
41 lines
2001 bytes
I am trying to get gcc 2.2.2 running on my HP9000/380 going. I
have it sucessfully built but I'm a bit confused about the problems
of the debugging output.

In the installation notes it says that 

	"'-g' does not work on HP-UX, since that system uses a peculiar
debugging format which GNU CC does not know about."

Question:  If I dont use the HP xdb, and compile up GNU gdb, will gdb work
		properly with the GNU cc files?

what also confuses me:

	"There is a preliminary version available of some modified GNU
tools including the GDB debugger which do work with GNU CC for debugging."

Question:  Why should gdb need to be changed?  Is it that "ptrace" is
		radically different?


It also states:
	"You would need to install GAS in the file......"
but earlier it says:
	"In addition '--gas' does not currently work with this configuration.
Changes in HP-UX have broken the library conversion tool and the linker"


Question:  If it doesn't work, whats the point in installing it and why is
it necessary to use gas instead of the native as for making gdb or for
programmes to be debugged???

Any help gratefully accepted.  Please E-mail to the address below.

Michael...

-- 
Michael Katzmann	  >	Broadcast Sports Technology Inc.
~~~~~~~~~~~~~~~~	 <	Crofton, Maryland. U.S.A
Amateur Radio Stations:   >
NV3Z / VK2BEA / G4NYV	 <	opel!vk2bea!michael@uunet.uu.net
Technical Details
Message-ID: <971@vk2bea.UUCP>
Path: arc1-ca.pugleaf.net!sparky!uunet!opel!slc1!vk2bea!michael

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 11318c,54044d8704b3b4ab,start
X-Google-Attributes: gid11318c,public
X-Google-Thread: 114b0c,54044d8704b3b4ab,start
X-Google-Attributes: gid114b0c,public
X-Google-ArrivalTime: 1992-07-14 14:53:06 PST
Path: arc1-ca.pugleaf.net!sparky!uunet!opel!slc1!vk2bea!michael
From: michael@vk2bea.UUCP (Michael G. Katzmann)
Newsgroups: gnu.gcc.help,comp.sys.hp
Subject: gdb and hpux
Keywords: hpux gdb gcc g++
Message-ID: <971@vk2bea.UUCP>
Date: 14 Jul 92 19:26:30 GMT
Followup-To: poster
Organization: Broadcast Sports Technology., Crofton, MD
Lines: 41