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] Fix ptype.exp fail in MIPS


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


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