diff options
author | Alan Modra <amodra@gmail.com> | 2001-09-18 11:12:25 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2001-09-18 11:12:25 +0000 |
commit | 55c808902f95f3394179ca67a0e54dea4d1c8cdb (patch) | |
tree | ec77747ce0d5d71c991808e3e5c482e88071065b /gprof/alpha.c | |
parent | db09f25b32e3a437a72c0bcc4ec67bb97d16e81b (diff) | |
download | gdb-55c808902f95f3394179ca67a0e54dea4d1c8cdb.zip gdb-55c808902f95f3394179ca67a0e54dea4d1c8cdb.tar.gz gdb-55c808902f95f3394179ca67a0e54dea4d1c8cdb.tar.bz2 |
* sparc.c (sparc_find_call): Warning fix.
* alpha.c (alpha_find_call): Likewise.
Diffstat (limited to 'gprof/alpha.c')
-rw-r--r-- | gprof/alpha.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gprof/alpha.c b/gprof/alpha.c index edf244b..4fa917e 100644 --- a/gprof/alpha.c +++ b/gprof/alpha.c @@ -127,7 +127,7 @@ alpha_find_call (parent, p_lowpc, p_highpc) { DBG (CALLDEBUG, printf (_("[find_call] 0x%lx: jsr%s <indirect_child>\n"), - (unsigned long) pc - delta, + (unsigned long) pc - (unsigned long) delta, pc->j.func == Jxx_FUNC_JSR ? "" : "_coroutine")); arc_add (parent, &indirect_child, (unsigned long) 0); } @@ -136,7 +136,7 @@ alpha_find_call (parent, p_lowpc, p_highpc) case OP_BSR: DBG (CALLDEBUG, printf (_("[find_call] 0x%lx: bsr"), - (unsigned long) pc - delta)); + (unsigned long) pc - (unsigned long) delta)); /* * Regular PC relative addressing. Check that this is the * address of a function. The linker sometimes redirects |