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 c++ 6/6] aarch64: Add cast for integer to enum cast



On 12/10/15 06:06 AM, Yao Qi wrote:
> Simon Marchi <simon.marchi@polymtl.ca> writes:
> 
>> diff --git a/gdb/aarch64-linux-tdep.c b/gdb/aarch64-linux-tdep.c
>> index 9c3500c..82c4b84 100644
>> --- a/gdb/aarch64-linux-tdep.c
>> +++ b/gdb/aarch64-linux-tdep.c
>> @@ -901,7 +901,8 @@ aarch64_linux_syscall_record (struct regcache *regcache,
>>    int ret = 0;
>>    enum gdb_syscall syscall_gdb;
>>  
>> -  syscall_gdb = aarch64_canonicalize_syscall (svc_number);
>> +  syscall_gdb =
>> +    aarch64_canonicalize_syscall ((enum aarch64_syscall) svc_number);
> 
> Patch is OK.
> 

Pushed, thanks!


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