Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
From: bothner@decwrl.dec.com (Per Bothner)
Subject: Re: GDB on a DECstation 3100
Date: 13 Nov 89 00:04:58 GMT	[thread overview]
Message-ID: <2089@bacchus.dec.com> (raw)
In-Reply-To: 7497a@wiley.UUCP

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


      reply	other threads:[~1989-11-13  0:04 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1989-11-10  2:15 GDB on a DECstation 3100 Doug Rudoff
1989-11-13  0:04 ` Per Bothner [this message]
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox