This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Replace some $ARCH_{get,set}_pc with linux_{get,set}_pc_32bit


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 (éå)


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]