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 v3] gdb: xtensa: fix frame initialization when PC is invalid


On 03/29/2016 08:57 PM, Max Filippov wrote:
> When gdb is used on core dump and PC is not pointing to a readable
> memory read_memory_integer call in the xtensa_frame_cache throws an
> error, making register inspection/backtracing impossible in that thread.
> 
> Use safe_read_memory_integer instead.
> 
> 2016-03-29  Max Filippov  <jcmvbkbc@gmail.com>
> gdb/
> 	* xtensa-tdep.c (xtensa_frame_cache): Change op1 type to LONGEST.
> 	Use safe_read_memory_integer instead of read_memory_integer.

OK.

Thanks,
Pedro Alves


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