Index: gdb/i386-sol2-tdep.c |
diff --git a/gdb/i386-sol2-tdep.c b/gdb/i386-sol2-tdep.c |
index a9e395e3695662258175964cb5716ad1c1c467e1..5273f52a29f18581cd0ddc0046c9c9c1d90050d1 100644 |
--- a/gdb/i386-sol2-tdep.c |
+++ b/gdb/i386-sol2-tdep.c |
@@ -55,7 +55,7 @@ static int |
i386_sol2_sigtramp_p (struct frame_info *this_frame) |
{ |
CORE_ADDR pc = get_frame_pc (this_frame); |
- char *name; |
+ const char *name; |
find_pc_partial_function (pc, &name, NULL, NULL); |
return (name && (strcmp ("sigacthandler", name) == 0 |
@@ -79,8 +79,8 @@ i386_sol2_mcontext_addr (struct frame_info *this_frame) |
/* SunPRO encodes the static variables. This is not related to C++ |
mangling, it is done for C too. */ |
-static char * |
-i386_sol2_static_transform_name (char *name) |
+static const char * |
+i386_sol2_static_transform_name (const char *name) |
{ |
char *p; |
if (name[0] == '.') |