X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=gdb%2Fxcoffread.c;h=9571ac8f554b8295f7b7282ee298b8ffa5b55bd3;hb=deb44829ecc1dd38275af0fcf91acd319e227a89;hp=3cb6eda305389db9593616a87c15b246fb536990;hpb=61012eef8463764ccd9117dc1c9bc43cc452b7cc;p=deliverable%2Fbinutils-gdb.git diff --git a/gdb/xcoffread.c b/gdb/xcoffread.c index 3cb6eda305..9571ac8f55 100644 --- a/gdb/xcoffread.c +++ b/gdb/xcoffread.c @@ -2636,7 +2636,7 @@ scan_xcoff_symtab (struct objfile *objfile) case C_DECL: case C_STSYM: { - char *p; + const char *p; swap_sym (&symbol, &main_aux[0], &namestring, &sraw_symbol, &ssymnum, objfile); @@ -2763,7 +2763,7 @@ scan_xcoff_symtab (struct objfile *objfile) Accept either. */ while (*p && *p != ';' && *p != ',') { - char *q; + const char *q; /* Check for and handle cretinous dbx symbol name continuation! */