public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
From: "vries at gcc dot gnu.org" <sourceware-bugzilla@sourceware.org>
To: gdb-prs@sourceware.org
Subject: [Bug gdb/29196] [gdb, gcc-12/m32/pie] FAIL: gdb.base/gdb11531.exp: watchpoint variable triggers at next
Date: Sat, 28 May 2022 08:04:22 +0000	[thread overview]
Message-ID: <bug-29196-4717-9bQKvOUz4L@http.sourceware.org/bugzilla/> (raw)
In-Reply-To: <bug-29196-4717@http.sourceware.org/bugzilla/>

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

--- Comment #1 from Tom de Vries <vries at gcc dot gnu.org> ---
I guess this is due to this difference.

With -m32, the entry at line 34 has the view bit set:
...
gdb11531.c:
File name                            Line number    Starting address    View   
Stmt
gdb11531.c                                    33           0x804915d           
   x
gdb11531.c                                    34           0x804915d       1   
   x
gdb11531.c                                    35           0x8049167           
   x
...
and with -m32 -pie, we have instead:
...
gdb11531.c:
File name                            Line number    Starting address    View   
Stmt
gdb11531.c                                    33              0x117d           
   x
gdb11531.c                                    34              0x1187           
   x
gdb11531.c                                    35              0x1191           
   x
gdb11531.c                                    36              0x119d           
   x
...

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

  reply	other threads:[~2022-05-28  8:04 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-05-28  7:55 [Bug gdb/29196] New: " vries at gcc dot gnu.org
2022-05-28  8:04 ` vries at gcc dot gnu.org [this message]
2022-05-28  8:08 ` [Bug gdb/29196] " vries at gcc dot gnu.org
2022-05-28  8:26 ` vries at gcc dot gnu.org
2022-06-04 11:59 ` vries at gcc dot gnu.org
2022-06-08  9:17 ` vries at gcc dot gnu.org
2022-06-08  9:48 ` vries at gcc dot gnu.org

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-29196-4717-9bQKvOUz4L@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).