[commit] Add software single stepping to moxie port

Anthony Green green@moxielogic.com
Fri Dec 6 19:39:00 GMT 2013


Yao Qi <yao@codesourcery.com> writes:

> On 12/05/2013 11:24 PM, Anthony Green wrote:
>> +static ULONGEST
>> +moxie_process_readu (CORE_ADDR addr, gdb_byte *buf,
>> +		     int length, enum bfd_endian byte_order)
>> +{
>> +  if (target_read_memory (addr, buf, length))
>> +    {
>> +      if (record_debug)
>> +	printf_unfiltered (_("Process record: error reading memory at "
>> +			     "addr 0x%s len = %d.\n"),
>> +			   paddress (target_gdbarch (), addr), length);
>
> moxie_process_readu is only used in moxie_process_record, so the debug
> message is OK.  However, if we'll use moxie_process_readu in
> software_single_step, the debug message looks odd.

Good point.  I'll fix that.

Thanks,

AG



More information about the Gdb-patches mailing list