This is the mail archive of the
gdb@sourceware.cygnus.com
mailing list for the GDB project.
Re: 64bit GDB
- To: chitti at wipinfo dot soft dot net
- Subject: Re: 64bit GDB
- From: Jim Blandy <jimb at cygnus dot com>
- Date: 22 Nov 1999 07:46:38 -0500
- Cc: gdb at sourceware dot cygnus dot com
- References: <199911220443.KAA06645@gem.wipinfo.soft.net>
> Was there any study(atleast) done to make gdb work on solaris2.7/sparc.
> The 64bit gdb is a must for my project. For a guy new to gdb code, how long
> will it take to make it work(if he spends 8hrs a day, 5days/week). rough
> estimations.
It depends on the guy. You have several extant targets which have
made the 32- to 64-bit jump to use as examples: MIPS began life as a
32-bit machine, as did the PA. I would recommend looking at MIPS,
though. Compare gdb/config/mips/tm-mips.h vs
gdb/config/mips/tm-mips64.h, etc.
Look also at gdb/doc/gdbint.texinfo, which describes GDB's internals.
You're welcome to ask specific questions here. There are many people
on this list who have done ports.
> repeated question: The libraries libbfd, libreadline, libopcodes
> etc, are they 64-bit compliant with respect to sol2.7/sparc.
Repeated answer: we have the entire toolchain running on the DEC alpha
microprocessor, which is a 64-bit machine. They have been tested and
used extensively on 64-bit machines other than the sparc. Thus, any
problems you might find will be specific to the sparc, which seems
unlikely.
Good luck!