This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] Fix ptype.exp fail in MIPS
- From: Pedro Alves <palves at redhat dot com>
- To: Hui Zhu <hui_zhu at mentor dot com>, gdb-patches ml <gdb-patches at sourceware dot org>
- Date: Thu, 15 May 2014 18:53:17 +0100
- Subject: Re: [PATCH] Fix ptype.exp fail in MIPS
- Authentication-results: sourceware.org; auth=none
- References: <53719B17 dot 5000208 at mentor dot com>
On 05/13/2014 05:09 AM, Hui Zhu wrote:
> ptype $pc
> type = int32_t
> (gdb) FAIL: gdb.base/ptype.exp: ptype $pc
> This is because the $pc register in MIPS is set to int but not code_ptr.
> And according to the discussion in
> https://sourceware.org/ml/gdb/2013-06/msg00020.html, the type cannot be
> changed.
Hmm, that's not what I get from this branch of the discussion:
https://sourceware.org/ml/gdb/2013-06/msg00021.html
--
Pedro Alves