🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.dec
Article #861

Re: GDB on a DECstation 3100

#861
From: Per Bothner
Date: Mon, 13 Nov 1989 00:04
34 lines
1690 bytes
I have been playing with getting gdb to run on the 3100.
I have made quite a bit of progress, but there are non-trivial
problems outstanding. [There are also legal issues to deal with.]

The DECstation complicates life for gdb quite a bit.
The main problem is the one-of-a-kind symbol-table format,
which is rather complicated. The other main difficulty is that
it is a RISC machine, with very lean procedure calling conventions.
E.g., there is no dedicated Frame Pointer, so you need information
from the symbol table to do a stack trace. Also, I am missing sme
documentation.

I have working:
- Assembler-level ("misc") symbols.
- Reading memory and registers.
- Stack trace.
- Running programs.

Main known problems that remain:
- Line number information. (I'm still confused about the format of
the line number table.)
- Reading other symbol information. (Reading type information
looks to be the most work.)
- Dis-assembler.
- Subroutine call.
- Core files (should be easy).

I don't know how much more progress I'll be able to make,
but if you can help, get in touch with me.

-- 
	--Per Bothner
Western Software Lab, Digital Equipment, 181 Lytton Ave, Palo Alto CA 94301
bothner@wsl.dec.com ...!decwrl!bothner
Technical Details
Message-ID: <2089@bacchus.dec.com>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!wuarchive!wugate!uunet!fernwood!decwrl!bothner
References: <7497a@wiley.UUCP>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!wuarchive!wugate!uunet!fernwood!decwrl!bothner
From: bothner@decwrl.dec.com (Per Bothner)
Newsgroups: comp.sys.dec,comp.sys.mips,comp.unix.ultrix,gnu.gdb.bug
Subject: Re: GDB on a DECstation 3100
Keywords: gdb DECstation Ultrix mips
Message-ID: <2089@bacchus.dec.com>
Date: 13 Nov 89 00:04:58 GMT
References: <7497a@wiley.UUCP>
Organization: DEC Western Software Lab
Lines: 34