diff options
author | Olaf Hering <olh@suse.de> | 2006-09-15 01:57:49 +0200 |
---|---|---|
committer | Ian Wienand <ianw@debian.org> | 2006-09-15 01:57:49 +0200 |
commit | a841f6592e75d78620ee9e645af22a58c9e3bbf9 (patch) | |
tree | 90e17bf95b624169e5eba133506729db7e0cb6ae /sysdeps/linux-gnu/ia64 | |
parent | 761ef382780586bc052a1c0993f113f5a2b141f5 (diff) | |
download | ltrace-a841f6592e75d78620ee9e645af22a58c9e3bbf9.tar.gz |
Some fixes...
* Makefile.in : allow installation as non-root user, print out
some debugging information before running test suite.
* summary.c : allow compilation without USE_DEMANGLE
* sysdeps/linux-gnu/ppc/plt.c : fix warning in sym2addr
* sysdeps/linux-gnu/ia64/regs.c : fix warning when finding
instruction slot
* elf.c : fix up error created in 2006-07-26 refactor
Diffstat (limited to 'sysdeps/linux-gnu/ia64')
-rw-r--r-- | sysdeps/linux-gnu/ia64/regs.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sysdeps/linux-gnu/ia64/regs.c b/sysdeps/linux-gnu/ia64/regs.c index ef049ff..b864031 100644 --- a/sysdeps/linux-gnu/ia64/regs.c +++ b/sysdeps/linux-gnu/ia64/regs.c @@ -25,11 +25,11 @@ void set_instruction_pointer(struct process *proc, void *addr) { unsigned long newip = (unsigned long)addr; - int slot = (int)addr & 0xf; + unsigned long slot = (unsigned long)addr & 0xf; unsigned long psr = ptrace(PTRACE_PEEKUSER, proc->pid, PT_CR_IPSR, 0); psr &= ~(3UL << 41); - psr |= (unsigned long)(slot & 0x3) << 41; + psr |= (slot & 0x3) << 41; newip &= ~0xfUL; |