NetBSD Problem Report #50394

From www@NetBSD.org  Mon Nov  2 12:41:44 2015
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [149.20.53.66])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(Client CN "mail.netbsd.org", Issuer "Postmaster NetBSD.org" (verified OK))
	by mollari.NetBSD.org (Postfix) with ESMTPS id 9E63EA6553
	for <gnats-bugs@gnats.NetBSD.org>; Mon,  2 Nov 2015 12:41:44 +0000 (UTC)
Message-Id: <20151102124143.9C416A6558@mollari.NetBSD.org>
Date: Mon,  2 Nov 2015 12:41:43 +0000 (UTC)
From: mougamadou.ibrahime@aricent.com
Reply-To: mougamadou.ibrahime@aricent.com
To: gnats-bugs@NetBSD.org
Subject: strace support in NetBSD ARM
X-Send-Pr-Version: www-1.0

>Number:         50394
>Category:       pkg
>Synopsis:       strace support in NetBSD ARM
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    pkg-manager
>State:          open
>Class:          support
>Submitter-Id:   net
>Arrival-Date:   Mon Nov 02 12:45:00 +0000 2015
>Last-Modified:  Thu Nov 05 06:30:00 +0000 2015
>Originator:     Zaid
>Release:        strace
>Organization:
Aricent
>Environment:
NetBSD 5.1_STABLE
>Description:
strace support in NetBSD ARM to debug
>How-To-Repeat:
n/a
>Fix:
n/a

>Audit-Trail:
From: christos@zoulas.com (Christos Zoulas)
To: gnats-bugs@NetBSD.org, pkg-manager@netbsd.org, gnats-admin@netbsd.org, 
	pkgsrc-bugs@netbsd.org
Cc: 
Subject: Re: pkg/50394: strace support in NetBSD ARM
Date: Mon, 2 Nov 2015 08:42:51 -0500

 On Nov 2, 12:45pm, mougamadou.ibrahime@aricent.com (mougamadou.ibrahime@aricent.com) wrote:
 -- Subject: pkg/50394: strace support in NetBSD ARM

 | >Number:         50394
 | >Category:       pkg
 | >Synopsis:       strace support in NetBSD ARM
 | >Confidential:   no
 | >Severity:       critical
 | >Priority:       high
 | >Responsible:    pkg-manager
 | >State:          open
 | >Class:          support
 | >Submitter-Id:   net
 | >Arrival-Date:   Mon Nov 02 12:45:00 +0000 2015
 | >Originator:     Zaid
 | >Release:        strace
 | >Organization:
 | Aricent
 | >Environment:
 | NetBSD 5.1_STABLE
 | >Description:
 | strace support in NetBSD ARM to debug
 | >How-To-Repeat:

 Can't you use ktruss?

 christos

From: Mougamadou Zaid Ibrahime <mougamadou.ibrahime@aricent.com>
To: "gnats-bugs@NetBSD.org" <gnats-bugs@NetBSD.org>, "pkg-manager@netbsd.org"
	<pkg-manager@netbsd.org>, "gnats-admin@netbsd.org" <gnats-admin@netbsd.org>,
	"pkgsrc-bugs@netbsd.org" <pkgsrc-bugs@netbsd.org>
Cc: 
Subject: RE: pkg/50394: strace support in NetBSD ARM
Date: Wed, 4 Nov 2015 16:34:17 +0000

 VGhhbmtzIGZvciB0aGUgc3VnZ2VzdGlvbi4gSSB3YXMgd29uZGVyaW5nIGlmIHN0cmFjZSBpcyBz
 dXBwb3J0ZWQgaW4gTmV0QlNELiBJcyBpdD8NCkkgYW0gbG9va2luZyBmb3IgYSB0b29sIHRvIGRl
 YnVnIGEgbGlua2VyIGlzc3VlIEkgYW0gZmFjaW5nIGluIG15IHRhcmdldC4gQW55IHN1Z2dlc3Rp
 b25zIHdvdWxkIHJlYWxseSBoZWxwLiBUaGFua3MgaW4gYWR2YW5jZQ0KDQotLS0tLU9yaWdpbmFs
 IE1lc3NhZ2UtLS0tLQ0KRnJvbTogQ2hyaXN0b3MgWm91bGFzIFttYWlsdG86Y2hyaXN0b3NAem91
 bGFzLmNvbV0NClNlbnQ6IE1vbmRheSwgTm92ZW1iZXIgMDIsIDIwMTUgNzoxNSBQTQ0KVG86IHBr
 Zy1tYW5hZ2VyQG5ldGJzZC5vcmc7IGduYXRzLWFkbWluQG5ldGJzZC5vcmc7IHBrZ3NyYy1idWdz
 QG5ldGJzZC5vcmc7IE1vdWdhbWFkb3UgWmFpZCBJYnJhaGltZSA8bW91Z2Ft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ZmllZCB0aGF0IHlvdSBhcmUgc3RyaWN0bHkgcHJvaGliaXRlZCBmcm9tIHVzaW5nLCBj
 b3B5aW5nLCBhbHRlcmluZywgb3IgZGlzY2xvc2luZyB0aGUgY29udGVudHMgb2YgdGhpcyBtZXNz
 YWdlLiBBcmljZW50IGFjY2VwdHMgbm8gcmVzcG9uc2liaWxpdHkgZm9yIGxvc3Mgb3IgZGFtYWdl
 IGFyaXNpbmcgZnJvbSB0aGUgdXNlIG9mIHRoZSBpbmZvcm1hdGlvbiB0cmFuc21pdHRlZCBieSB0
 aGlzIGVtYWlsIGluY2x1ZGluZyBkYW1hZ2UgZnJvbSB2aXJ1cy4iDQo=

From: David Holland <dholland-pbugs@netbsd.org>
To: "gnats-bugs@NetBSD.org" <gnats-bugs@NetBSD.org>
Cc: 
Subject: Re: pkg/50394: strace support in NetBSD ARM
Date: Thu, 5 Nov 2015 06:25:37 +0000

 On Wed, Nov 04, 2015 at 04:34:17PM +0000, Mougamadou Zaid Ibrahime wrote:
  > Thanks for the suggestion. I was wondering if strace is supported
  > in NetBSD. Is it?

 I believe that it has worked, at least on some ports, at least at some
 times.

  > I am looking for a tool to debug a linker issue I am facing in my
  > target. Any suggestions would really help. Thanks in advance

 ktruss is pretty much equivalent to strace except that it's more
 transparent to the target, and thus works better.

 there's also ktrace/kdump, which separates the trace reporting from
 the execution; sometimes this is what you want, sometimes it isn't.

 -- 
 David A. Holland
 dholland@netbsd.org

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2014 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.