🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.help
Article #50432

Hooking up GDB for remote debugging?

#50432
From: D. Erway
Date: Wed, 29 Sep 1993 21:51
24 lines
1573 bytes
I am trying to hook up gdb-4.9 for remote debugging. I have built it
configured as target=sun3, host=sun4.

I have been looking at m68k-stub.c. I have about two questions, (so far).

Should the functions putDebugChar and getDubugChar be interrupt driven or
polled? I figure they probably need to be polled, but then, how will gdb be
able to stop the target system asynchronously?

I see that the stub supports writes. Does that mean that gdb will be able to
download?

If someone has gotten this going, I would appreciate hearing from you.

	Thanks,
	  -Don
--
\-----------------------------------------------------------------------/
| Don Erway			   			 derway@ndc.com	|
| NDC Systems								|
| Monrovia, CA			   Opinions expressed herein apparently	|
| (Somewhere Near Pasadena)	   spontaneously organized  themselves.	|
/-----------------------------------------------------------------------\
Technical Details
Message-ID: <DERWAY.93Sep29145149@alumni.ndc.com>
Path: arc1-ca.pugleaf.net!gmd.de!newsserver.jvnc.net!howland.reston.ans.net!math.ohio-state.edu!cs.utexas.edu!swrinde!elroy.jpl.nasa.gov!news.claremont.edu!nntp-server.caltech.edu!nntp-server.caltech.edu!derway

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 11318c,baa17507a1ed2658,start
X-Google-Attributes: gid11318c,public
X-Google-ArrivalTime: 1993-09-29 15:10:28 PST
Path: arc1-ca.pugleaf.net!gmd.de!newsserver.jvnc.net!howland.reston.ans.net!math.ohio-state.edu!cs.utexas.edu!swrinde!elroy.jpl.nasa.gov!news.claremont.edu!nntp-server.caltech.edu!nntp-server.caltech.edu!derway
From: derway@ndc.com (D. Erway)
Newsgroups: gnu.gcc.help
Subject: Hooking up GDB for remote debugging?
Date: 29 Sep 1993 21:51:47 GMT
Organization: NDC Systems - Monrovia, CA
Lines: 24
Message-ID: <DERWAY.93Sep29145149@alumni.ndc.com>
NNTP-Posting-Host: alumni.caltech.edu