aboutsummaryrefslogtreecommitdiff
path: root/gdb/amd64-sol2-tdep.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/amd64-sol2-tdep.c')
-rw-r--r--gdb/amd64-sol2-tdep.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/amd64-sol2-tdep.c b/gdb/amd64-sol2-tdep.c
index 6d2f57f..242c3e7 100644
--- a/gdb/amd64-sol2-tdep.c
+++ b/gdb/amd64-sol2-tdep.c
@@ -71,7 +71,7 @@ static int
amd64_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