Bug 7487 - ``char *'' -> ``const char *''
Summary: ``char *'' -> ``const char *''
Status: RESOLVED FIXED
Alias: None
Product: gdb
Classification: Unclassified
Component: build (show other bugs)
Version: unknown
: P3 normal
Target Milestone: ---
Assignee: Not yet assigned to anyone
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-02-24 12:18 UTC by ac131313
Modified: 2013-01-11 16:13 UTC (History)
2 users (show)

See Also:
Host:
Target:
Build:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description ac131313 2002-02-24 20:18:00 UTC
[Converted from Gnats 382]

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.

Release:
unknown
Comment 1 Tom Tromey 2013-01-11 16:13:49 UTC
This is too open-ended to be a PR.
There is a task on the project ideas page on the wiki for it.
Plus, much work has been done over the years on this.