From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5802 invoked by alias); 12 Feb 2002 16:58:08 -0000 Mailing-List: contact insight-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: insight-owner@sources.redhat.com Received: (qmail 5677 invoked from network); 12 Feb 2002 16:58:06 -0000 Received: from unknown (HELO cygnus.com) (205.180.230.5) by sources.redhat.com with SMTP; 12 Feb 2002 16:58:06 -0000 Received: from makita.cygnus.com (makita.cygnus.com [205.180.230.78]) by runyon.cygnus.com (8.8.7-cygnus/8.8.7) with ESMTP id IAA16961; Tue, 12 Feb 2002 08:58:03 -0800 (PST) Received: from localhost (keiths@localhost) by makita.cygnus.com (8.8.8+Sun/8.6.4) with ESMTP id IAA18762; Tue, 12 Feb 2002 08:58:03 -0800 (PST) X-Authentication-Warning: makita.cygnus.com: keiths owned process doing -bs Date: Tue, 12 Feb 2002 08:58:00 -0000 From: Keith Seitz X-X-Sender: To: Duane Ellis cc: , Subject: Re: Adding Registers In-Reply-To: <200202121516.KAA17821@mercury.franklin.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-SW-Source: 2002-q1/txt/msg00107.txt.bz2 On Tue, 12 Feb 2002, Duane Ellis wrote: [snip excellent description of register handling in gdb] One small thing to add (which is pretty obvious, but just to make sure): Insight gets its register list from gdb. Anything in REGISTER_NAMES will show up in Insight's register window. > Doing things like this can be viewed like this: > > You give a somebody a knife. > You remind them they can cut themself. > They walk away, only to return bleeding and confused. > Do you really want to give them the knife? > Is the knife really that important? Very good! Alas, as you, too, have discovered a saying that I've often used discussing some aspects of gdb/Insight: we cannot prevent stupid people from doing stupid things. If you give someone a knife, he should know to use it properly. Misusing it can lead to all sorts of bad things. Keith