* hppa-tdep.c (prologue_inst_adjust_sp): Fix small confusion

in register number for addil instruction.
This commit is contained in:
Joel Brobecker 2005-01-01 12:28:21 +00:00
parent 8bcccff18f
commit e22b26cbff
2 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2005-01-01 Joel Brobecker <brobecker@gnat.com>
* hppa-tdep.c (prologue_inst_adjust_sp): Fix small confusion
in register number for addil instruction.
2004-12-28 Jim Blandy <jimb@redhat.com>
* remote.c (fetch_register_using_p): Recognize a register value

View File

@ -1285,9 +1285,9 @@ prologue_inst_adjust_sp (unsigned long inst)
if ((inst & 0xffe00008) == 0x73c00008)
return (inst & 0x1 ? -1 << 13 : 0) | (((inst >> 4) & 0x3ff) << 3);
/* addil high21,%r1; ldo low11,(%r1),%r30)
/* addil high21,%r30; ldo low11,(%r1),%r30)
save high bits in save_high21 for later use. */
if ((inst & 0xffe00000) == 0x28200000)
if ((inst & 0xffe00000) == 0x2bc00000)
{
save_high21 = hppa_extract_21 (inst);
return 0;