From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from wout1-smtp.messagingengine.com (wout1-smtp.messagingengine.com [64.147.123.24]) by sourceware.org (Postfix) with ESMTPS id F16DB3858D39 for ; Sun, 5 Jul 2020 03:14:49 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org F16DB3858D39 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=dxuuu.xyz Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=dxu@dxuuu.xyz Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.west.internal (Postfix) with ESMTP id 50D82B19; Sat, 4 Jul 2020 23:14:46 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute4.internal (MEProxy); Sat, 04 Jul 2020 23:14:46 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dxuuu.xyz; h= content-transfer-encoding:content-type:cc:subject:from:to:date :message-id:in-reply-to; s=fm3; bh=ko6MEC9xQPnqfeUH/t/dXSnxn779D 01Ewq0YALADmqQ=; b=rt3qHeOyHlyQ57X3nASO4/WnD3gf3oI/fNl/4XG33tTr9 v/Dqk/8dLOy2EQFl9WUoK4QUcIJIsIRG5E2xDLBS8l40YDMQyLmL16jyXcbda41u fCj6I1MY68754/u+f/8DqiKi/tZ6x9M+HYLznG3TcFWdXkocj9T5TNka+qKHS49l gUMJFMxePROO0Tx709YGorIH/zXST3gPK2XGB1yIAbzzdBnyfu/T7m+xGxh3ityC lkPXg2cn50Env497sXsWNjkM+jTeSyhBbuoJs8K3CpGhCs/hB20CTCRInkgFOWJ0 iEYSsmwUZybV1j4hrMe/3bfstK0bxjZOaWDQGyJYA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; bh=ko6MEC 9xQPnqfeUH/t/dXSnxn779D01Ewq0YALADmqQ=; b=Fd49BVxYXarc4fWcn0yD86 2PcwWV9vQUBTPpsvtNdb8sr0V1TXmT4BdK3cBOgun2yf6dCmxnRYxrbTJobsvpkE 2kRlUM1LF8lrH4laRWZNcpPBqjne8kfuROZNsHgcqj4wszzID3p/e/3jyUp+74UE AhZFOrUlPwi0YlnptwLVtCBurZtmP7RcHgTN/BAUSHRXcOfmu6CYipKXKLG35cNy P7Q+ebR2MWA/HGaLgDSHq8VvYjaLfSIALaOE3uPUL4lbbHopMq+r65ERIbTb7GTZ ubVoUoyEuU6eAvta5z9jCTtjBGlQUdHvxsyBVvmeGAOzTz3GNm0kAA/XkkykmpLQ == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduiedrtdelgdeilecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenfg hrlhcuvffnffculdejtddmnecujfgurhepgfgtuffhvfffkfgjsehtqhertddttdejnecu hfhrohhmpedfffgrnhhivghlucgiuhdfuceougiguhesugiguhhuuhdrgiihiieqnecugg ftrfgrthhtvghrnhepueffueffkeeggfeilefhiefhiefflefhgfehgeegiefffeehudev veekffekjeehnecukfhppeejfedrleefrddvgeejrddufeegnecuvehluhhsthgvrhfuih iivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepugiguhesugiguhhuuhdrgiihii X-ME-Proxy: Received: from localhost (c-73-93-247-134.hsd1.ca.comcast.net [73.93.247.134]) by mail.messagingengine.com (Postfix) with ESMTPA id 536DE306508F; Sat, 4 Jul 2020 23:14:45 -0400 (EDT) Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=UTF-8 Cc: Subject: Re: [PATCH V3 0/3] eBPF support From: "Daniel Xu" To: "Simon Marchi" , "Jose E. Marchesi" Date: Sat, 04 Jul 2020 20:12:19 -0700 Message-Id: In-Reply-To: X-Spam-Status: No, score=-0.6 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FROM_SUSPICIOUS_NTLD, JMQ_SPF_NEUTRAL, KAM_INFOUSMEBIZ, PDS_OTHER_BAD_TLD, RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H4, RCVD_IN_MSPIKE_WL, SPF_HELO_PASS, SPF_PASS, TXREP autolearn=no autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: gdb-patches@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gdb-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 05 Jul 2020 03:14:51 -0000 On Sat Jul 4, 2020 at 6:34 PM PDT, Simon Marchi wrote: > On 2020-07-04 8:27 p.m., Jose E. Marchesi via Gdb-patches wrote: > > (gdb) target sim > > (gdb) sim memory-size 4Mb > > (gdb) load ~/dev/libbpf-rs/target/bpf/runqslower.bpf.o > > (gdb) file load ~/dev/libbpf-rs/target/bpf/runqslower.bpf.o > > You probably meant `file ~/dev/libbpf-rs/target/bpf/runqslower.bpf.o` > for the last > command? > > You can also save some typing by doing the `file blablabla` first, then > `load` without > arguments. > > Simon Sorry if this is a silly question, but how do I build `sim` support into gdb? I've tried running the following against the top-level configure script: ``` $ ../configure --enable-sim --enable-unit-tests --enable-maintainer-mode $ make -j4 $ make -C gdb run make: Entering directory '/home/daniel/dev/gdb/build/gdb' [...] (gdb) target sim Undefined target command: "sim". Try "help target". ``` Thanks, Daniel