From owner-cvs-gnu Mon Apr 7 01:08:27 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id BAA29721 for cvs-gnu-outgoing; Mon, 7 Apr 1997 01:08:27 -0700 (PDT) Received: (from peter@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id BAA29714; Mon, 7 Apr 1997 01:08:23 -0700 (PDT) Date: Mon, 7 Apr 1997 01:08:23 -0700 (PDT) From: Peter Wemm Message-Id: <199704070808.BAA29714@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-gnu Subject: cvs commit: src/gnu/usr.bin/gdb/gdb freebsd-nat.c Makefile nm.h tm.h Sender: owner-cvs-gnu@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk peter 97/04/07 01:08:22 Modified: gnu/usr.bin/gdb/gdb Makefile nm.h tm.h Added: gnu/usr.bin/gdb/gdb freebsd-nat.c Log: Attempt to patch up gdb so that it has a chance of working with the new UPAGES layout.. it was entirely too comfortable with reading and writing the U area before. I've changed it to use PT_GETREGS/PT_PUTREGS ptrace ops instead of READ_U etc. The code to read the registers from core dumps is a bandaid at best. It seems to have problems reading core dumps from dynamic linked executables still, but at least static dumps work. I desperately need help from a gdb/bfd expert. :-) HELP!! Revision Changes Path 1.21 +3 -3 src/gnu/usr.bin/gdb/gdb/Makefile 1.7 +3 -0 src/gnu/usr.bin/gdb/gdb/nm.h 1.7 +6 -0 src/gnu/usr.bin/gdb/gdb/tm.h