[Lldb-commits] [PATCH] Changes the hardcoded loading of ARM registers to moved from gdb-remote and fixes an issue with the $g packet where the data is thrown away with size mismatch

Abid, Hafiz Hafiz_Abid at mentor.com
Fri Jul 25 09:32:47 PDT 2014


Deepak,
>int items = bytesGot / reg_info->byte_size;
Is this line assuming that all registers will be of same size?

Regards,
Abid

> -----Original Message-----
> From: lldb-commits-bounces at cs.uiuc.edu [mailto:lldb-commits-
> bounces at cs.uiuc.edu] On Behalf Of Deepak Panickal
> Sent: 25 July 2014 16:56
> To: deepak2427 at gmail.com
> Cc: kanheim at a-bix.com; amara.emerson at arm.com; lldb-
> commits at cs.uiuc.edu
> Subject: [Lldb-commits] [PATCH] Changes the hardcoded loading of ARM
> registers to moved from gdb-remote and fixes an issue with the $g packet
> where the data is thrown away with size mismatch
> 
> Hi,
> 
> - ARM registers were duplicated in both the ABI and the gdb-remote. This
> patch removes them from gdb-remote and loads them from the ABI instead.
> - The g packet response currently checks if the data size returned contains all
> registers. This patch fixes it such that if the data size returned is less than
> expected, it's still used with only those registers marked as valid.
> 
> Thanks,
> Deepak Panickal
> 
> http://reviews.llvm.org/D4669
> 
> Files:
>   source/Plugins/Process/gdb-remote/GDBRemoteRegisterContext.cpp
>   source/Plugins/Process/gdb-remote/GDBRemoteRegisterContext.h
>   source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp




More information about the lldb-commits mailing list