aboutsummaryrefslogtreecommitdiff
path: root/gdb/amd64nbsd-tdep.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/amd64nbsd-tdep.c')
-rw-r--r--gdb/amd64nbsd-tdep.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/amd64nbsd-tdep.c b/gdb/amd64nbsd-tdep.c
index 868e2f5..eacd46c 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);