From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13734 invoked by alias); 5 May 2003 19:09:54 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 13716 invoked from network); 5 May 2003 19:09:52 -0000 Received: from unknown (HELO mm02snlnto.son.sandia.gov) (132.175.109.21) by sources.redhat.com with SMTP; 5 May 2003 19:09:52 -0000 Received: from 132.175.109.4 by mm02snlnto.son.sandia.gov with ESMTP ( Tumbleweed MMS SMTP Relay 01 (MMS v5.5.0)); Mon, 05 May 2003 13:09:43 -0600 Received: from es08snlnt.sandia.gov (smtp-in.sandia.gov [134.253.130.11] ) by mailgate2.sandia.gov (8.12.9/8.12.9) with ESMTP id h45Iktbo009030 for ; Mon, 5 May 2003 12:46:55 -0600 (MDT) Received: by es08snlnt.sandia.gov with Internet Mail Service ( 5.5.2653.19) id <2AA2ZHP4>; Mon, 5 May 2003 12:46:55 -0600 Message-ID: <71251C7D5FB1D2119C8F0008C7A44ED103792080@es07snlnt.sandia.gov> From: "Liang, James" To: "'gdb@sources.redhat.com'" Subject: question about target.to_stratum Date: Mon, 05 May 2003 19:09:00 -0000 MIME-Version: 1.0 X-WSS-ID: 12A869522452-207-01 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 7bit X-SW-Source: 2003-05/txt/msg00058.txt.bz2 What is the meaning and use of to_stratum? What is it used to represent? I noticed that the push_target function in target.c closes existing targets of the same stratum. If my user types target after starting up, this always causes it to close the target that I am trying to push because they both have the same stratum. I looked at the way exec does it, and I can tell that it changes the stratum to dummy before calling push again, but I don't see where. How does this work? James