This is the mail archive of the
gdb-prs@sources.redhat.com
mailing list for the GDB project.
gdb/382: ``char *'' -> ``const char *''
- From: ac131313 at redhat dot com
- To: gdb-gnats at sources dot redhat dot com
- Date: 24 Feb 2002 20:13:01 -0000
- Subject: gdb/382: ``char *'' -> ``const char *''
- Reply-to: ac131313 at redhat dot com
>Number: 382
>Category: gdb
>Synopsis: ``char *'' -> ``const char *''
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: unassigned
>State: open
>Class: change-request
>Submitter-Id: net
>Arrival-Date: Sun Feb 24 12:18:00 PST 2002
>Closed-Date:
>Last-Modified:
>Originator: ac131313@redhat.com
>Release: unknown-1.0
>Organization:
>Environment:
>Description:
This occures everywhere. Many functions take a ``char *'' when they could take a ``const char *''.
This cascades through gdb leading to code all over the place needing to declare variables as ``char *'' when the stronger ``const char *'' would be better.
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted: