This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] Replace some $ARCH_{get,set}_pc with linux_{get,set}_pc_32bit
- From: Yao Qi <qiyaoltc at gmail dot com>
- To: Yao Qi <qiyaoltc at gmail dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Mon, 18 Jan 2016 15:05:08 +0000
- Subject: Re: [PATCH] Replace some $ARCH_{get,set}_pc with linux_{get,set}_pc_32bit
- Authentication-results: sourceware.org; auth=none
- References: <1452503511-21249-1-git-send-email-yao dot qi at linaro dot org>
Yao Qi <qiyaoltc@gmail.com> writes:
> This patch adds a pair of new functions linux_get_pc_32bit and
> linux_set_pc_32bit which get and set 32-bit register "pc" from
> regcache. This function can be used some targets and these own
> $ARCH_{get,set}_pc are replaced by linux_{get,set}_pc_32bit
> respectively.
>
> This patch touches many targets, but I only have arm board to
> test and no regression. I also rebuilt nios2-linux GDBserver.
> If it is right to go, I'll post the 64-bit counterpart later.
I pushed these two patches in.
--
Yao (éå)