ppc: Fix stwux and stdux masks in skip_prologue
authorPedro Franco de Carvalho <pedromfc@linux.vnet.ibm.com>
Thu, 22 Mar 2018 13:22:45 +0000 (10:22 -0300)
committerPedro Franco de Carvalho <pedromfc@linux.vnet.ibm.com>
Thu, 22 Mar 2018 13:22:45 +0000 (10:22 -0300)
commit7a8f494c7b171f6cbad20a14ef03a5d7acaa6ccb
tree8bb4a731df7e6aba72f61057616af0df0e2246e9
parentdd6d677f0b06341dce90d259785c9d513d2e3935
ppc: Fix stwux and stdux masks in skip_prologue

This patch merges the masks for matching the stwux and stdux
instructions in rs6000-tdep.c:skip_prologue into a single mask that
only matches these two instructions.

Commit 72dd273062 fixed the warning described in PR tdep/18295, this
patch addresses the comment in the same PR indicating that the mask
was too permissive.

gdb/Changelog:

PR tdep/18295
* rs6000-tdep.c (skip_prologue): Match both stwux and stdux
a single mask.
gdb/ChangeLog
gdb/rs6000-tdep.c
This page took 0.027515 seconds and 4 git commands to generate.