[RFA 04/12] Update memattr.c help strings
Tom Tromey
tom@tromey.com
Wed May 9 20:35:00 GMT 2018
>>>>> "Pedro" == Pedro Alves <palves@redhat.com> writes:
>> add_cmd ("mem", class_vars, delete_mem_command, _("\
>> Delete memory region.\n\
>> Arguments are the code numbers of the memory regions to delete.\n\
>> -Usage: delete mem <code number>...\n\
>> +Usage: delete mem [CODE]...\n\
>> Do \"info mem\" to see current list of code numbers."), &deletelist);
>>
Pedro> I was surprised and confused with the references to "code" and
Pedro> "code numbers" here. These are just the numbers as displayed
Pedro> in the first column of "info mem", right? How about changing
Pedro> the references to "code numbers" and "CODE" above to
Pedro> numbers or IDs? The manuals uses "nums".
I went with IDs, like:
add_cmd ("mem", class_vars, delete_mem_command, _("\
Delete memory region.\n\
Arguments are the identifiers of the memory regions to delete.\n\
Usage: delete mem [ID]...\n\
Do \"info mem\" to see current list of IDs."), &deletelist);
Tom
More information about the Gdb-patches
mailing list