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, FT32] sim: character input port


On 21 Sep 2015 23:28, James Bowman wrote:
> 	* ft32/interp.c: reading from IO address 10000 gives
> 	character input.

should read like:
	* ft32/interp.c (cpu_mem_read): Call getchar when ea is 0x10000.

> +       case 0x10000:
> +         return getchar();

needs a space before the (
-mike

Attachment: signature.asc
Description: Digital signature


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