summaryrefslogtreecommitdiff
path: root/gdb/minsyms.c
diff options
context:
space:
mode:
authorJim Kingdon <jkingdon@engr.sgi.com>1994-01-16 03:23:50 +0000
committerJim Kingdon <jkingdon@engr.sgi.com>1994-01-16 03:23:50 +0000
commitab5f79719c9519841468ad41d97e6e7d32305698 (patch)
treea9bd2317dd72750831b4d4c86925f2443bc73f0f /gdb/minsyms.c
parentfb155ce31a8b35a1c2748bd69a0e2cdddfde2141 (diff)
downloadbinutils-gdb-ab5f79719c9519841468ad41d97e6e7d32305698.tar.gz
* minsyms.c (prim_record_minimal_symbol_and_info): Make tempstring
const char *, not char *.
Diffstat (limited to 'gdb/minsyms.c')
-rw-r--r--gdb/minsyms.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/minsyms.c b/gdb/minsyms.c
index 03b1ce1f0b3..8f1992c9374 100644
--- a/gdb/minsyms.c
+++ b/gdb/minsyms.c
@@ -328,7 +328,7 @@ prim_record_minimal_symbol_and_info (name, address, ms_type, info, section,
return;
{
- char *tempstring = name;
+ const char *tempstring = name;
if (tempstring[0] == bfd_get_symbol_leading_char (objfile->obfd))
++tempstring;
if (STREQN (tempstring, "__gnu_compiled", 14))