🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gdb.bug
Article #705

problem setting breakpoints

#705
From: David Hull
Date: Sat, 11 Feb 1989 01:40
29 lines
1467 bytes
I'm in the process of porting gdb 3.1 to a new processor, the
Intergraph CLIPPER.  The system is running CLIX 3.0, which is based on
SVR3.  I'm currently trying to get breakpoints working.  The problem is
that the break command seems to be picking the wrong address to insert the
breakpoint at.  The following excerpt from a gdb session shows what I
mean:

(gdb) b main
Breakpoint 1 at 0x1560000: file hello.c, line 7.
(gdb) p main
$1 = {int ()} 0x148

Unfortunately, the CLIPPER doesn't currently have a working debugger
(it has sdb, but it doesn't work).  If anyone has any idea what the
problem might be, please send me mail.  My guess is that it is a
big-endian/little-endian problem (the CLIPPER is little-endian),
but I don't know where to look.

Also, if someone would like to collaborate with me on the port, let me know!

-David

P.S. Did I do right posting to gnu.gdb.bug, or should I have mailed this
to bug-gdb@somewhere?
-- 
					---------------------------------------
					David Hull  TRW Inc.  Redondo Beach, CA
					  ...!{uunet,cit-vax,trwrb}!wiley!david
					     david%wiley.uucp@csvax.caltech.edu
Technical Details
Message-ID: <3881@wiley.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!rutgers!cbmvax!uunet!wiley!david

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!rutgers!cbmvax!uunet!wiley!david
From: david@wiley.UUCP (David Hull)
Newsgroups: gnu.gdb.bug
Subject: problem setting breakpoints
Message-ID: <3881@wiley.UUCP>
Date: 11 Feb 89 01:40:52 GMT
Distribution: gnu
Organization: TRW Inc., Redondo Beach, CA
Lines: 29