aboutsummaryrefslogtreecommitdiff
path: root/binutils
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2000-08-12 00:47:48 +0000
committerH.J. Lu <hjl.tools@gmail.com>2000-08-12 00:47:48 +0000
commit4047915b1b1d475f6f0db2af69b75da5c023cea6 (patch)
tree0d90f2962c145a940c18b1144351e3badb64d6ad /binutils
parentf0373401b56ac44b27fc13ecd39e5e7fa80b6c28 (diff)
downloadgdb-4047915b1b1d475f6f0db2af69b75da5c023cea6.zip
gdb-4047915b1b1d475f6f0db2af69b75da5c023cea6.tar.gz
gdb-4047915b1b1d475f6f0db2af69b75da5c023cea6.tar.bz2
2000-08-11 Carlo Wood <carlo@alinoe.com>
* addr2line.c (main): Add const to char *.
Diffstat (limited to 'binutils')
-rw-r--r--binutils/ChangeLog4
-rw-r--r--binutils/addr2line.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/binutils/ChangeLog b/binutils/ChangeLog
index a7aed16..227423b 100644
--- a/binutils/ChangeLog
+++ b/binutils/ChangeLog
@@ -1,3 +1,7 @@
+2000-08-11 Carlo Wood <carlo@alinoe.com>
+
+ * addr2line.c (main): Add const to char *.
+
2000-08-11 Geoff Keating <geoffk@cygnus.com>
* ar.c (main): Don't crash if called with no arguments
diff --git a/binutils/addr2line.c b/binutils/addr2line.c
index 9232a9e..1a66e70 100644
--- a/binutils/addr2line.c
+++ b/binutils/addr2line.c
@@ -271,7 +271,7 @@ main (argc, argv)
int argc;
char **argv;
{
- char *filename;
+ const char *filename;
char *target;
int c;