From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23891 invoked by alias); 2 May 2014 11:09:49 -0000 Mailing-List: contact gdb-prs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-prs-owner@sourceware.org Received: (qmail 23863 invoked by uid 48); 2 May 2014 11:09:48 -0000 From: "vidarlsw at hotmail dot com" To: gdb-prs@sourceware.org Subject: [Bug gdb/16896] New: GDB crash after Set next statement and Step over (AVR8) Date: Fri, 02 May 2014 11:09:00 -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: 7.7 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: vidarlsw at hotmail dot com X-Bugzilla-Status: NEW 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 attachments.created 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-SW-Source: 2014-q2/txt/msg00165.txt.bz2 https://sourceware.org/bugzilla/show_bug.cgi?id=3D16896 Bug ID: 16896 Summary: GDB crash after Set next statement and Step over (AVR8) Product: gdb Version: 7.7 Status: NEW Severity: normal Priority: P2 Component: gdb Assignee: unassigned at sourceware dot org Reporter: vidarlsw at hotmail dot com Created attachment 7579 --> https://sourceware.org/bugzilla/attachment.cgi?id=3D7579&action=3Dedit Atmel Studio project for ATmega2560 Environment: Atmel Studio 6.2 beta (6.2.993), debugging AVR8 using GDB (project - proper= ties=20 - Advanced - "Use GDB", and "Override current GDB path"). Reproduced with ATMega2560 target and simulator. Fails with these GDB versions: - latest version of GDB from Embecosm (updated April 24, 2014 from https://github.com/embecosm/avr-binutils-gdb.git) - latest version of GDB from Sourceware (updated April 24, 2014 from gdb-7.7-branch in http://sourceware.org/git/binutils-gdb.git) Description Reproducible crash when debugging with GDB. See attached ATMega2560 project, screen-dump and Atmel Studio backend log f= ile. Reproducible sequence: =EF=82=A7 Start debugging and run to breakpoint (at line 55). =EF=82=A7 Move cursor to line 56 and choose Set next statement. =3D=3D> Set next statement do not work (yellow marker for Show next stateme= nt does not move) =EF=82=A7 Press step over. =3D=3D> GDB crash Error message from GDB: gdb ~"../../gdb/gdb/infrun.c:1948: internal-error: resume: Assertion `pc_in_thread_step_range (pc, tp)' failed.\nA problem internal to GDB has b= een detected,\nfurther debugging may prove unreliable.\nQuit this debugging session? " When running Atmel Studio 6.2 beta using included GDB version (no override = for GDB path) then GDB do not crash. But also in this case Set next statement do not work. --=20 You are receiving this mail because: You are on the CC list for the bug. >>From gdb-prs-return-15660-listarch-gdb-prs=sources.redhat.com@sourceware.org Fri May 02 11:45:40 2014 Return-Path: Delivered-To: listarch-gdb-prs@sources.redhat.com Received: (qmail 11904 invoked by alias); 2 May 2014 11:45:39 -0000 Mailing-List: contact gdb-prs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-prs-owner@sourceware.org Delivered-To: mailing list gdb-prs@sourceware.org Received: (qmail 11878 invoked by uid 48); 2 May 2014 11:45:39 -0000 From: "vidarlsw at hotmail dot com" To: gdb-prs@sourceware.org Subject: [Bug gdb/16896] GDB crash after Set next statement and Step over (AVR8) Date: Fri, 02 May 2014 11:45:00 -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: 7.7 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: vidarlsw at hotmail dot com X-Bugzilla-Status: NEW X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: attachments.created Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2014-q2/txt/msg00166.txt.bz2 Content-length: 321 https://sourceware.org/bugzilla/show_bug.cgi?id=16896 --- Comment #1 from vidarl --- Created attachment 7581 --> https://sourceware.org/bugzilla/attachment.cgi?id=7581&action=edit Atmel Studio backend logfile -- You are receiving this mail because: You are on the CC list for the bug.