Index: gdb/amd64nbsd-tdep.c |
diff --git a/gdb/amd64nbsd-tdep.c b/gdb/amd64nbsd-tdep.c |
index 868e2f55743ca29144e98b20e23804f22385d660..eacd46cb4a8a63e8981ac3437f4f466bdac34094 100644 |
--- a/gdb/amd64nbsd-tdep.c |
+++ b/gdb/amd64nbsd-tdep.c |
@@ -39,7 +39,7 @@ static int |
amd64nbsd_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 nbsd_pc_in_sigtramp (pc, name); |