Index: gdb/i386obsd-tdep.c |
diff --git a/gdb/i386obsd-tdep.c b/gdb/i386obsd-tdep.c |
index ea240f5e4d49431f0c54fce054c0ab6efaf79125..9005304c334ea20345b10439f19731e2f58ed62b 100644 |
--- a/gdb/i386obsd-tdep.c |
+++ b/gdb/i386obsd-tdep.c |
@@ -81,7 +81,7 @@ i386obsd_sigtramp_p (struct frame_info *this_frame) |
size_t buflen = sizeof sigreturn; |
const int *offset; |
gdb_byte *buf; |
- char *name; |
+ const char *name; |
/* If the function has a valid symbol name, it isn't a |
trampoline. */ |
@@ -348,7 +348,7 @@ i386obsd_trapframe_cache (struct frame_info *this_frame, void **this_cache) |
struct trad_frame_cache *cache; |
CORE_ADDR func, sp, addr; |
ULONGEST cs; |
- char *name; |
+ const char *name; |
int i; |
if (*this_cache) |
@@ -413,7 +413,7 @@ i386obsd_trapframe_sniffer (const struct frame_unwind *self, |
void **this_prologue_cache) |
{ |
ULONGEST cs; |
- char *name; |
+ const char *name; |
/* Check Current Privilege Level and bail out if we're not executing |
in kernel space. */ |