This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: PDP-10
- To: lars brinkhoff <lars at nocrew dot org>
- Subject: Re: PDP-10
- From: Andrew Cagney <ac131313 at cygnus dot com>
- Date: Fri, 25 Aug 2000 19:51:50 +1000
- CC: gdb at sourceware dot cygnus dot com
- References: <853djurgax.fsf@junk.nocrew.org>
lars brinkhoff wrote:
>
> I'm delighted to read, in the first chapter of GDB Internals, that GDB
> should be able to run everywhere. Next year, I may be working on a
> port to PDP-10, which is a 36-bit word-adressed machine. It's running
> the TOPS-20 operating system.
>
> Does this seem to be possible?
It may take a little (lot of) work :-( findvar.c contains:
/* Basic byte-swapping routines. GDB has needed these for a long
time...
All extract a target-format integer at ADDR which is LEN bytes
long. */
#if TARGET_CHAR_BIT != 8 || HOST_CHAR_BIT != 8
/* 8 bit characters are a pretty safe assumption these days, so we
assume it throughout all these swapping routines. If we had to
deal with
9 bit characters, we would need to make len be in bits and would
have
to re-write these routines... */
you lose
#endif
Andrew