This is the mail archive of the
gdb-prs@sources.redhat.com
mailing list for the GDB project.
cli/1080: `show integer -1' is very large
- From: ac131313 at redhat dot com
- To: gdb-gnats at sources dot redhat dot com
- Date: 20 Feb 2003 03:57:49 -0000
- Subject: cli/1080: `show integer -1' is very large
- Reply-to: ac131313 at redhat dot com
>Number: 1080
>Category: cli
>Synopsis: `show integer -1' is very large
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: unassigned
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Thu Feb 20 03:58:00 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator: ac131313 at redhat dot com
>Release: unknown-1.0
>Organization:
>Environment:
>Description:
Note the sequence:
(gdb) set remote hardware-breakpoint-limit 0
(gdb) show remote hardware-breakpoint-limit 0
The maximum number of target hardware breakpoints is 0.
(gdb) set remote hardware-breakpoint-limit 1
(gdb) show remote hardware-breakpoint-limit 0
The maximum number of target hardware breakpoints is 1.
(gdb) set remote hardware-breakpoint-limit -1
(gdb) show remote hardware-breakpoint-limit 0
The maximum number of target hardware breakpoints is 4294967295.
the variable is a `zinteger' which should be -ve not infinite.
>How-To-Repeat:
/* else fall through */
Missing `break;', need we say more :-)
case var_zinteger:
fprintf_filtered (stb->stream, "%u", *(unsigned int *) c->var);
break;
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted: