public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
From: "iamanonymous.cs at gmail dot com" <sourceware-bugzilla@sourceware.org>
To: gdb-prs@sourceware.org
Subject: [Bug gdb/31849] Issue with Unexpected Behavior in GDB Stepping at Optimization Level O2 and O3
Date: Sat, 08 Jun 2024 04:00:18 +0000	[thread overview]
Message-ID: <bug-31849-4717-0dQeBBEF0u@http.sourceware.org/bugzilla/> (raw)
In-Reply-To: <bug-31849-4717@http.sourceware.org/bugzilla/>

https://sourceware.org/bugzilla/show_bug.cgi?id=31849

--- Comment #4 from Anonymous <iamanonymous.cs at gmail dot com> ---
Created attachment 15571
  --> https://sourceware.org/bugzilla/attachment.cgi?id=15571&action=edit
the triggering binary

Line 15 has debug info. the 'IS-STMT' flag is Y (yes). 
(gdb) > maint info line-table small.c

linetable: ((struct linetable *) 0x12b9f40):
INDEX  LINE   REL-ADDRESS        UNREL-ADDRESS      IS-STMT PROLOGUE-END
EPILOGUE-BEGIN 
0      11     0x0000000000401050 0x0000000000401050 Y                           
1      9      0x0000000000401050 0x0000000000401050                             
2      11     0x0000000000401051 0x0000000000401051                             
3      END    0x0000000000401056 0x0000000000401056 Y                           
4      39     0x0000000000401060 0x0000000000401060 Y                           
5      40     0x0000000000401060 0x0000000000401060 Y                           
6      41     0x0000000000401060 0x0000000000401060 Y                           
7      39     0x0000000000401060 0x0000000000401060                             
8      41     0x0000000000401064 0x0000000000401064                             
9      42     0x0000000000401069 0x0000000000401069 Y                           
10     43     0x000000000040106e 0x000000000040106e Y                           
11     44     0x000000000040106e 0x000000000040106e                             
12     END    0x0000000000401075 0x0000000000401075 Y                           
13     3      0x0000000000401170 0x0000000000401170 Y                           
14     4      0x0000000000401170 0x0000000000401170 Y                           
15     4      0x0000000000401170 0x0000000000401170                             
16     4      0x0000000000401177 0x0000000000401177                             
17     4      0x000000000040117e 0x000000000040117e                             
18     5      0x0000000000401181 0x0000000000401181                             
19     9      0x0000000000401190 0x0000000000401190 Y                           
20     10     0x0000000000401190 0x0000000000401190 Y                           
21     10     0x0000000000401190 0x0000000000401190                             
22     16     0x00000000004011a0 0x00000000004011a0 Y                           
23     17     0x00000000004011a0 0x00000000004011a0 Y                           
24     16     0x00000000004011a0 0x00000000004011a0                             
25     17     0x00000000004011a4 0x00000000004011a4                             
26     23     0x00000000004011a8 0x00000000004011a8 Y                           
27     23     0x00000000004011a8 0x00000000004011a8                             
28     35     0x00000000004011ad 0x00000000004011ad                             
29     19     0x00000000004011b8 0x00000000004011b8 Y                           
30     19     0x00000000004011b8 0x00000000004011b8                             
31     19     0x00000000004011bd 0x00000000004011bd                             
32     20     0x00000000004011c2 0x00000000004011c2 Y                           
33     15     0x00000000004011d0 0x00000000004011d0 Y                           
34     25     0x00000000004011d0 0x00000000004011d0 Y                           
35     26     0x00000000004011d0 0x00000000004011d0 Y                           
36     26     0x00000000004011d0 0x00000000004011d0                             
37     26     0x00000000004011d5 0x00000000004011d5                             
38     27     0x00000000004011e3 0x00000000004011e3 Y                           
39     29     0x00000000004011e3 0x00000000004011e3 Y                           
40     30     0x00000000004011eb 0x00000000004011eb Y                           
41     31     0x00000000004011eb 0x00000000004011eb Y                           
42     30     0x00000000004011f4 0x00000000004011f4 Y                           
43     31     0x00000000004011f4 0x00000000004011f4 Y                           
44     30     0x00000000004011fc 0x00000000004011fc Y                           
45     31     0x00000000004011fc 0x00000000004011fc Y                           
46     30     0x0000000000401204 0x0000000000401204 Y                           
47     32     0x0000000000401204 0x0000000000401204 Y                           
48     27     0x000000000040120b 0x000000000040120b Y                           
49     END    0x0000000000401219 0x0000000000401219 Y

-- 
You are receiving this mail because:
You are on the CC list for the bug.

  parent reply	other threads:[~2024-06-08  4:00 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-06-05 15:59 [Bug gdb/31849] New: " iamanonymous.cs at gmail dot com
2024-06-05 15:59 ` [Bug gdb/31849] " iamanonymous.cs at gmail dot com
2024-06-05 16:02 ` iamanonymous.cs at gmail dot com
2024-06-05 16:16 ` iamanonymous.cs at gmail dot com
2024-06-06 14:29 ` tromey at sourceware dot org
2024-06-08  4:00 ` iamanonymous.cs at gmail dot com [this message]
2024-06-08  4:07 ` iamanonymous.cs at gmail dot com

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-31849-4717-0dQeBBEF0u@http.sourceware.org/bugzilla/ \
    --to=sourceware-bugzilla@sourceware.org \
    --cc=gdb-prs@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).