* minsyms.c (prim_record_minimal_symbol_and_info): Make tempstring
const char *, not char *.
This commit is contained in:
parent
fb155ce31a
commit
ab5f79719c
|
@ -1,5 +1,8 @@
|
||||||
Sat Jan 15 10:20:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
|
Sat Jan 15 10:20:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
|
||||||
|
|
||||||
|
* minsyms.c (prim_record_minimal_symbol_and_info): Make tempstring
|
||||||
|
const char *, not char *.
|
||||||
|
|
||||||
* symtab.h (struct symbol): Make section short, not unsigned short.
|
* symtab.h (struct symbol): Make section short, not unsigned short.
|
||||||
|
|
||||||
* symtab.c (lookup_symbol): Add comment about QUIT here.
|
* symtab.c (lookup_symbol): Add comment about QUIT here.
|
||||||
|
|
|
@ -328,7 +328,7 @@ prim_record_minimal_symbol_and_info (name, address, ms_type, info, section,
|
||||||
return;
|
return;
|
||||||
|
|
||||||
{
|
{
|
||||||
char *tempstring = name;
|
const char *tempstring = name;
|
||||||
if (tempstring[0] == bfd_get_symbol_leading_char (objfile->obfd))
|
if (tempstring[0] == bfd_get_symbol_leading_char (objfile->obfd))
|
||||||
++tempstring;
|
++tempstring;
|
||||||
if (STREQN (tempstring, "__gnu_compiled", 14))
|
if (STREQN (tempstring, "__gnu_compiled", 14))
|
||||||
|
|
Loading…
Reference in New Issue