From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 746353835825; Tue, 27 Apr 2021 02:02:09 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 746353835825 From: "wenyan.xin at windriver dot com" To: gdb-prs@sourceware.org Subject: [Bug gdb/27780] New: not report warning when set a breakpoint at invalid address for arm64 Date: Tue, 27 Apr 2021 02:02:09 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: gdb X-Bugzilla-Version: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: wenyan.xin at windriver 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: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: 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 X-BeenThere: gdb-prs@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gdb-prs mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Apr 2021 02:02:09 -0000 https://sourceware.org/bugzilla/show_bug.cgi?id=3D27780 Bug ID: 27780 Summary: not report warning when set a breakpoint at invalid address for arm64 Product: gdb Version: unknown Status: UNCONFIRMED Severity: normal Priority: P2 Component: gdb Assignee: unassigned at sourceware dot org Reporter: wenyan.xin at windriver dot com Target Milestone: --- we are developing a Gdb Server on VxWorks for arm64. on gdb client side, I used the following command and got output. (gdb) b *0 Breakpoint 2 at 0x0 (gdb) c Continuing. [Inferior 1 (process 1) exited normally] (gdb) Since the 0 address breakpoint is invalid, so the output should be as following: (gdb) b *0 Breakpoint 2 at 0x0 (gdb) c Continuing. Warning: Cannot insert breakpoint 2. Cannot access memory at address 0x0 Command aborted. --=20 You are receiving this mail because: You are on the CC list for the bug.=