2013/6/13 Andreas Fritiofson <[email protected]>
>
>
>
> On Sun, Jun 9, 2013 at 7:21 PM, <[email protected]> wrote:
>
>>
>> -enum reg_group {
>> - REG_GROUP_GENERAL,
>> - REG_GROUP_FLOAT,
>> - REG_GROUP_VECTOR,
>> -};
>> -
>> struct reg_feature {
>> const char *name;
>> };
>> @@ -129,7 +123,7 @@ struct reg {
>> bool valid;
>> uint32_t size;
>> struct reg_data_type *reg_data_type;
>> - enum reg_group group;
>> + const char *group;
>>
>
> Why change reg_group from enum to string? According to gdb docs it can
> only take one of those three values.
>
> /Andreas
>
Because in the openrisc port of GDB, we add the possibility to use
arbitrary strings. This is a GDB improvment:
https://github.com/openrisc/or1k-src/commit/7373db4d84cf8884b25aeb3cdc7483d30a90ae3f
Franck.
------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:
Build for Windows Store.
http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
OpenOCD-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openocd-devel