This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PING][PATCH] Fix for prologue processing on PowerPC
- From: Yao Qi <qiyaoltc at gmail dot com>
- To: Nikola Prica <nikola dot prica at rt-rk dot com>
- Cc: pedromfc <pedromfc at linux dot vnet dot ibm dot com>, Kevin Buettner <kevinb at redhat dot com>, GDB Patches <gdb-patches at sourceware dot org>, "Ananthakrishna Sowda (asowda)" <asowda at cisco dot com>, "Ivan Baev (ibaev)" <ibaev at cisco dot com>, Nemanja Popov <nemanja dot popov at rt-rk dot com>, Djordje Todorovic <Djordje dot Todorovic at rt-rk dot com>, Ulrich dot Weigand at de dot ibm dot com
- Date: Tue, 2 Jan 2018 10:29:03 +0000
- Subject: Re: [PING][PATCH] Fix for prologue processing on PowerPC
- Authentication-results: sourceware.org; auth=none
- References: <f90d189e-7ec5-34f9-c776-8af42a3c07a6@rt-rk.com> <e3274bee-eb2d-3706-3af0-59f28c9c0899@rt-rk.com> <20171108095850.394a48ca@pinnacle.lan> <8bf0014c-e83c-5988-4d06-173572f21186@rt-rk.com> <7ba16b14-9384-34d9-937e-531a2192842a@linux.vnet.ibm.com> <e2997ed1-593e-16a8-7834-139ad8a56c6a@rt-rk.com>
On Tue, Dec 19, 2017 at 3:57 PM, Nikola Prica <nikola.prica@rt-rk.com> wrote:
> Hello Pedro and Kevi,
>
> I've created and tested example based on your example. Thank you for that.
>
gdb.arch/powerpc-prologue-frame.exp is useful, but it is only run on powerpc
target. I personally prefer using gdb unit test or self test to test
powerpc prologue
analyser can stop at the the right instruction after scanning a series of
instructions. See aarch64-tdep.c:aarch64_analyze_prologue_test.
--
Yao (齐尧)