From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 76929 invoked by alias); 5 Oct 2015 19:41:37 -0000 Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org Received: (qmail 75057 invoked by uid 89); 5 Oct 2015 19:41:36 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.6 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW,SPF_PASS,T_RP_MATCHES_RCVD autolearn=ham version=3.3.2 X-HELO: mail-ig0-f177.google.com Received: from mail-ig0-f177.google.com (HELO mail-ig0-f177.google.com) (209.85.213.177) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-GCM-SHA256 encrypted) ESMTPS; Mon, 05 Oct 2015 19:41:35 +0000 Received: by igbkq10 with SMTP id kq10so71152181igb.0 for ; Mon, 05 Oct 2015 12:41:33 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-type:content-transfer-encoding; bh=8vNgu7T/Lh0vWp8GFOyKKoKdPEuPmbYyakN41UPHDRE=; b=eSHNHBcBT9PM+hujWKEqq+agn+hTzrfNtdnjuckYpDoJ+/ZRqZIwCd1+C8afseHMMV iU0Vasv05+ZMhyg/7tgV1QZsStfuXbBEKamtfygV9/7BTD4XYv/QUxrcRVUgMR8vbEYz NBQjWrHsOrzdrAoX5NSXz976ogO0H8ifvgLZplF2LuX2+Ukrx6mxGGxdjJo/EEPQgjIH uUhAgLNaJTyXr3/Fv1D1xuFhKb8gMiaR/I96zfVpN1/wTpZ0lXvxlwOepcShwVUfuT/T /YF7m69zAr7Or1qKbU/BllAkj0VnDv3sNxvS+LbY8kdHGQhZMULEnlykhUgm69zM4RYn SKGQ== X-Gm-Message-State: ALoCoQlnu/9OSFVvo/djZqiTmDPR9yrDTLlnr38EMDE97Nn/CeQynZNUmtd6c6hE3RWiWBR0E57F X-Received: by 10.50.62.242 with SMTP id b18mr11041473igs.48.1444074093125; Mon, 05 Oct 2015 12:41:33 -0700 (PDT) MIME-Version: 1.0 Received: by 10.64.134.131 with HTTP; Mon, 5 Oct 2015 12:40:53 -0700 (PDT) In-Reply-To: <20151005115437.5c1bb9f86d671edec44bb378f25c04cc.28494d3874.wbe@email03.secureserver.net> References: <20151005115437.5c1bb9f86d671edec44bb378f25c04cc.28494d3874.wbe@email03.secureserver.net> From: Doug Evans Date: Mon, 05 Oct 2015 19:41:00 -0000 Message-ID: Subject: Re: RFC GDB Linux Awareness analysis To: duane@duaneellis.com Cc: Peter Griffin , Andreas Arnez , gdb , Lee Jones Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes X-SW-Source: 2015-10/txt/msg00016.txt.bz2 On Mon, Oct 5, 2015 at 11:54 AM, wrote: > duane> 7) A good example of scripting is during postmortem debug > duane> GDB cannot call (execute) a helper function within the > duane> target because the target is not =E2=80=9Clive=E2=80=9D > > doug> Depends on what the helper function does of course. > doug> E.g., it's possible to resurrect a corefile (assuming it hasn't > been > doug> truncated, etc.) enough to run a pretty-printer contained in the > doug> app (as opposed to in python). > > Yes, as you said "it depends on what it does" And it depends on the debugging environment. > I would say almost categorically you *cannot* use the target pretty > printer. Whatever. It was just an example. > Every target is different, every embedded system is different. > > Some of these pretty print problems also occur when live debugging. > > This whole area is one giant rat hole of problems to make work > universally. I think you'll find you're preaching to the choir here.