From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10631 invoked by alias); 8 Jul 2010 18:28:38 -0000 Received: (qmail 10590 invoked by uid 22791); 8 Jul 2010 18:28:36 -0000 X-SWARE-Spam-Status: No, hits=0.8 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE,RCVD_IN_JMF_BL,SPF_SOFTFAIL X-Spam-Check-By: sourceware.org Received: from mtaout23.012.net.il (HELO mtaout23.012.net.il) (80.179.55.175) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 08 Jul 2010 18:28:29 +0000 Received: from conversion-daemon.a-mtaout23.012.net.il by a-mtaout23.012.net.il (HyperSendmail v2007.08) id <0L5900F004K3DE00@a-mtaout23.012.net.il> for gdb-patches@sourceware.org; Thu, 08 Jul 2010 21:27:47 +0300 (IDT) Received: from HOME-C4E4A596F7 ([77.127.120.144]) by a-mtaout23.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0L5900CAL4MAVYA0@a-mtaout23.012.net.il>; Thu, 08 Jul 2010 21:27:47 +0300 (IDT) Date: Thu, 08 Jul 2010 18:28:00 -0000 From: Eli Zaretskii Subject: Re: [patch] Forbid run with a core file loaded In-reply-to: <20100708171648.GA29048@host0.dyn.jankratochvil.net> To: Jan Kratochvil Cc: pedro@codesourcery.com, mark.kettenis@xs4all.nl, brobecker@adacore.com, gdb-patches@sourceware.org, emachado@linux.vnet.ibm.com Reply-to: Eli Zaretskii Message-id: <83eifd7rv9.fsf@gnu.org> References: <20100606195033.GA9710@host0.dyn.jankratochvil.net> <201006071220.58289.pedro@codesourcery.com> <20100708171648.GA29048@host0.dyn.jankratochvil.net> X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2010-07/txt/msg00157.txt.bz2 > Date: Thu, 8 Jul 2010 19:16:48 +0200 > From: Jan Kratochvil > Cc: Eli Zaretskii , mark.kettenis@xs4all.nl, > brobecker@adacore.com, gdb-patches@sourceware.org, > Edjunior Barbosa Machado > > gdb/doc/ > 2010-07-08 Jan Kratochvil > > Make core files the process_stratum. > * gdb.texinfo (Active Targets): Remove core_stratum. Include > record_stratum example. This part is okay, but please fix the punctuation as shown below: There are multiple classes of targets such, as: processes, executable files or recording sessions. Core files belong to the process class, making core file and process mutually exclusive. Otherwise, @value{GDBN} can work concurrently on multiple active targets, one in each class. This allows you to (for example) start a process and inspect its activity, while still having access to the executable file after the process finishes. Or if you start process recording (@pxref{Reverse Execution}) and @code{reverse-step} there, you are presented a virtual layer of the recording target, while the process target remains stopped at the chronologically last point of the process execution. Thanks.