This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: zinteger setshow commands broken
- From: Pedro Alves <palves at redhat dot com>
- To: "Abid, Hafiz" <hafiz_abid at mentor dot com>
- Cc: gdb-patches at sourceware dot org, stan at codesourcery dot com, yao at codesourcery dot com, eliz at gnu dot org
- Date: Mon, 04 Mar 2013 10:28:14 +0000
- Subject: Re: zinteger setshow commands broken
- References: <1362391824.2232.0@abidh-ubunto1104>
On 03/04/2013 10:10 AM, Abid, Hafiz wrote:
> On 01/03/13 18:13:21, Pedro Alves wrote:
>>
>> BTW, I think the new var_zuinteger_unlimited would be more
>> suitable. The difference is that "show" really shows "unlimited"
>> instead of -1. BTW2, IMO, "set" should accept literal "unlimited"
>> string as well too.
> To make sure that I understand it right, you are suggesting that commands which accepts -1 as special value should be implemented using var_zuinteger_unlimited?
I'm suggesting that your new command, that accepts -1 as special value
as meaning "unlimited", would be better implemented using
var_zuinteger_unlimited.
> One is the new command that I am working on to change the trace buffer size. Other is "remote hardware-watchpoint-limit".
--
Pedro Alves