[comp.sys.att] gdb for 3b1?

kirkaas@oahu.cs.ucla.edu (paul kirkaas) (06/19/89)

Has anyone brought up gdb on the 3b1?  What is involved?

ps -- here follows a simple shellscript to show discspace utilization
	on a 3b1

------------------------------------------------------------------

# use - show 3b1 disk usage -- Paul Kirkaas
set `df -t /`
AVSP=`expr ${3}00 / $8`
KUSED=`expr \( $8 - $3 \) / 2000` 
KREM=`expr $3 / 2000`
echo "\t$KUSED Meg of disc space used
\t$KREM Meg ($AVSP%) remaining."
Paul Kirkaas
kirkaas@cs.ucla.edu

tkacik@rphroy.UUCP (Tom Tkacik) (06/19/89)

In article <25015@shemp.CS.UCLA.EDU> kirkaas@cs.ucla.edu (paul kirkaas) writes:
>Has anyone brought up gdb on the 3b1?  What is involved?
>
I am trying to port gdb3.0 to the UNIXpc.  I got some patches for gdb2.5 from
Bob Rose (I think that's right).  He has some defines which I do not know where
he got the data for.  So I just took them.

Anyway, gdb2.5 seems to work pretty well.  Gdb3.0 is having some problems in
that it is only able to find the symbols for the first (or maybe the last :-))
file linked into the executable.  I still can't figure that one out.
If I get it working, I would like to get this back into the official 
GNU distribution. 

Anyone else out there working on it?

---
Tom Tkacik		GM Research Labs,   Warren MI  48090
uunet!edsews!rphroy!megatron!tkacik
"If you can't stand the bugs, stay out of the roach-motel."  Ron Guilmette