From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4143 invoked by alias); 25 Jul 2013 16:36:07 -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 4074 invoked by uid 48); 25 Jul 2013 16:36:07 -0000 From: "bkorb at gnu dot org" To: gdb-prs@sourceware.org Subject: [Bug breakpoints/15784] New: breakpoint set on a noop Date: Thu, 25 Jul 2013 16:36:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: breakpoints X-Bugzilla-Version: 7.3 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: bkorb at gnu dot org 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: 7bit X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2013-q3/txt/msg00109.txt.bz2 http://sourceware.org/bugzilla/show_bug.cgi?id=15784 Bug ID: 15784 Summary: breakpoint set on a noop Product: gdb Version: 7.3 Status: NEW Severity: normal Priority: P2 Component: breakpoints Assignee: unassigned at sourceware dot org Reporter: bkorb at gnu dot org Created attachment 7117 --> http://sourceware.org/bugzilla/attachment.cgi?id=7117&action=edit snapshot of the failed break point GNU gdb (GDB) 7.3.50.20110816-cvs I cannot set a breakpoint on this function ("insight" display): 248 regular_opts(tOptions * opts) - 249 { 250 /* assert: opts->fOptSet & OPTPROC_IMMEDIATE == 0 */ 251 for (;;) { - 252 tOptState opt_st = OPTSTATE_INITIALIZER(DEFINED); 253 - 254 switch (next_opt(opts, &opt_st)) { The assembly code looks like this: 0x4268d0 : push %rbp 0x4268d1 : mov %rsp,%rbp 0x4268d4 : sub $0x30,%rsp 0x4268d8 : mov %rdi,-0x28(%rbp) 0x4268dc : jmp 0x4268df 0x4268de : nop <<== BREAKPOINT SET HERE 0x4268df : movq $0x0,-0x20(%rbp) 0x4268e7 : movq $0x0,-0x18(%rbp) 0x4268ef : movl $0x4,-0x10(%rbp) 0x4268f6 : movl $0x0,-0xc(%rbp) 0x4268fd : lea -0x20(%rbp),%rdx -- You are receiving this mail because: You are on the CC list for the bug.