Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(88)

Unified Diff: gdb/sparc64obsd-tdep.c

Issue 11969036: Merge GDB 7.5.1 (Closed) Base URL: http://git.chromium.org/native_client/nacl-gdb.git@master
Patch Set: Created 7 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « gdb/sparc64nbsd-tdep.c ('k') | gdb/sparcnbsd-tdep.c » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gdb/sparc64obsd-tdep.c
diff --git a/gdb/sparc64obsd-tdep.c b/gdb/sparc64obsd-tdep.c
index e5baa08650b43892d6ffd3e8f68f90b56d35146d..6148eab217d8f04e0a36c389cce0795d5e006bbc 100644
--- a/gdb/sparc64obsd-tdep.c
+++ b/gdb/sparc64obsd-tdep.c
@@ -93,7 +93,7 @@ static const int sparc64obsd_sigreturn_offset[] = {
};
static int
-sparc64obsd_pc_in_sigtramp (CORE_ADDR pc, char *name)
+sparc64obsd_pc_in_sigtramp (CORE_ADDR pc, const char *name)
{
CORE_ADDR start_pc = (pc & ~(sparc64obsd_page_size - 1));
unsigned long insn;
@@ -182,7 +182,7 @@ sparc64obsd_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 (sparc64obsd_pc_in_sigtramp (pc, name))
@@ -259,7 +259,7 @@ sparc64obsd_trapframe_sniffer (const struct frame_unwind *self,
{
CORE_ADDR pc;
ULONGEST pstate;
- char *name;
+ const char *name;
/* Check whether we are in privileged mode, and bail out if we're not. */
pstate = get_frame_register_unsigned (this_frame, SPARC64_PSTATE_REGNUM);
« no previous file with comments | « gdb/sparc64nbsd-tdep.c ('k') | gdb/sparcnbsd-tdep.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698