diff options
Diffstat (limited to 'gdb/sparc64fbsd-tdep.c')
-rw-r--r-- | gdb/sparc64fbsd-tdep.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/sparc64fbsd-tdep.c b/gdb/sparc64fbsd-tdep.c index a083553..f58e73b 100644 --- a/gdb/sparc64fbsd-tdep.c +++ b/gdb/sparc64fbsd-tdep.c @@ -84,7 +84,7 @@ sparc64fbsd_collect_fpregset (const struct regset *regset, /* Signal trampolines. */ static int -sparc64fbsd_pc_in_sigtramp (CORE_ADDR pc, char *name) +sparc64fbsd_pc_in_sigtramp (CORE_ADDR pc, const char *name) { return (name && strcmp (name, "__sigtramp") == 0); } @@ -189,7 +189,7 @@ sparc64fbsd_sigtramp_frame_sniffer (const struct frame_unwind *self, void **this_cache) { CORE_ADDR pc = get_frame_pc (this_frame); - char *name; + const char *name; find_pc_partial_function (pc, &name, NULL, NULL); if (sparc64fbsd_pc_in_sigtramp (pc, name)) |