gdbserver/tracepoint: Add casts out of tpoint->handle
[deliverable/binutils-gdb.git] / gdb / i386-sol2-tdep.c
index af783dfc634e8e1eae1ffe56587a8fe428e41199..59f9be76e64f8d8aad46180de4aa0ccb88217450 100644 (file)
@@ -80,9 +80,10 @@ i386_sol2_mcontext_addr (struct frame_info *this_frame)
 static const char *
 i386_sol2_static_transform_name (const char *name)
 {
-  char *p;
   if (name[0] == '.')
     {
+      const char *p;
+
       /* For file-local statics there will be a period, a bunch of
          junk (the contents of which match a string given in the
          N_OPT), a period and the name.  For function-local statics
This page took 0.031061 seconds and 4 git commands to generate.