From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 9F25B3858D32; Tue, 25 Apr 2023 06:54:36 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 9F25B3858D32 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1682405676; bh=R+A4XmoU32HLFff9X3DL8jATqwfV6EyH4kuT3liMxnY=; h=From:To:Subject:Date:In-Reply-To:References:From; b=KbRieP5FU34TXm6trOYvTQozTjzyjlDHtNHpEUEhLNSvmOmhJYxjdqYANZ1c2XlvC Z8qe6aO3JRJgP0PhTh8DnEndNy1Wd5bNdgRbTnqP270x/FtdV0ZVsApqDhAP7oT3GQ W42dUSvyAzqHMKcRlOR0gXcMly1QtT7tNqbRniQY= From: "2982971635 at qq dot com" To: gdb-prs@sourceware.org Subject: [Bug gdb/30387] gdbserver assert error on arm platform Date: Tue, 25 Apr 2023 06:54:36 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: gdb X-Bugzilla-Version: HEAD X-Bugzilla-Keywords: X-Bugzilla-Severity: critical X-Bugzilla-Who: 2982971635 at qq dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 List-Id: https://sourceware.org/bugzilla/show_bug.cgi?id=3D30387 --- Comment #1 from Yan, Zhiyong <2982971635 at qq dot com> --- Produce step (1) tar xvf gdbserver-test-app.tar on a host which can do arm-cross compile. (2) In osm.service, modify ExecStart path according to your running environment. (3) make (4) Please refer to "make install", install osm systemd service on target board. [On target board] systemctl daemon-reload systemctl start osm gdbserver --debug --debug-format=3Dall --remote-debug --event-loop-debug --= once --attach :1234 $(pgrep osm) [On pc host] your-arm-gdb ./osm(this is test app build out as above) -x ~/gdbx2 gdbx2 can be found in the attachment, please modify target-remote pointing = to your target board's gdbserver in gdbx2. When gdb executes gdbx2, gdbserver will assert on target board. --=20 You are receiving this mail because: You are on the CC list for the bug.=