public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug tdep/17400] New: buglet in rs6000-tdep.c:skip_prologue
@ 2014-09-16 23:12 dje at google dot com
  2024-01-12 15:32 ` [Bug tdep/17400] " ssbssa at sourceware dot org
  0 siblings, 1 reply; 2+ messages in thread
From: dje at google dot com @ 2014-09-16 23:12 UTC (permalink / raw)
  To: gdb-prs

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

            Bug ID: 17400
           Summary: buglet in rs6000-tdep.c:skip_prologue
           Product: gdb
           Version: HEAD
            Status: NEW
          Severity: normal
          Priority: P2
         Component: tdep
          Assignee: unassigned at sourceware dot org
          Reporter: dje at google dot com

I happened to be single stepping through this function and noticed the cursor
skipping over this particular test.  gcc had optimized it out even though I had
compiled gdb with -O0.  Looking at the test it's easy to see why: it can never
succeed.

      else if ((op & 0xfc1f016a) == 0x7c01016e) // <<<< can never succeed
        {               /* stwux rX,r1,rY */
          /* No way to figure out what r1 is going to be.  */
          fdata->frameless = 0;
          offset = fdata->offset;
          continue;
        }

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


^ permalink raw reply	[flat|nested] 2+ messages in thread

* [Bug tdep/17400] buglet in rs6000-tdep.c:skip_prologue
  2014-09-16 23:12 [Bug tdep/17400] New: buglet in rs6000-tdep.c:skip_prologue dje at google dot com
@ 2024-01-12 15:32 ` ssbssa at sourceware dot org
  0 siblings, 0 replies; 2+ messages in thread
From: ssbssa at sourceware dot org @ 2024-01-12 15:32 UTC (permalink / raw)
  To: gdb-prs

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

Hannes Domani <ssbssa at sourceware dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |DUPLICATE
                 CC|                            |ssbssa at sourceware dot org

--- Comment #1 from Hannes Domani <ssbssa at sourceware dot org> ---
Dup.

*** This bug has been marked as a duplicate of bug 18295 ***

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-01-12 15:32 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-09-16 23:12 [Bug tdep/17400] New: buglet in rs6000-tdep.c:skip_prologue dje at google dot com
2024-01-12 15:32 ` [Bug tdep/17400] " ssbssa at sourceware dot org

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).