Re: executing code in mmapped memory
From: Dennis Handly (dhandly_at_cup.hp.com)
Date: 08/30/03
- Previous message: Stan Sieler: "What does "diagnostic boot mode" do on an HP 9000/7xx workstation?"
- In reply to: Anton Ertl: "Re: executing code in mmapped memory"
- Next in thread: Anton Ertl: "Re: executing code in mmapped memory"
- Reply: Anton Ertl: "Re: executing code in mmapped memory"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Sat, 30 Aug 2003 02:36:28 GMT
Anton Ertl (anton@mips.complang.tuwien.ac.at) wrote:
: I just jump into it with a: bv %r0(%r3)
That's the problem. You can't use BV. You must use BVE or BLE or BE.
Possibly linking with -N may allow BV to work.
: >From a register dump, what is sr4, sr5, pcsqh and pcoqh?
: sr4: 0x4c39c00 (only displays with "p/x $sr4", not with "info reg")
(I see sr4 before sr0.)
: sr5: 0x95e3400
: pcsqh: 4c39c00 pcoqh: 6f616b10
That's your problem. pcsqh should be the value of sr5.
: gdb shows $pc as having the same value.
: - anton
gdb is broken. $pc should really be the value of $pcsqh
concatenated with $pcoqh. gdb should have said, signal 11, your PC is bad.
- Previous message: Stan Sieler: "What does "diagnostic boot mode" do on an HP 9000/7xx workstation?"
- In reply to: Anton Ertl: "Re: executing code in mmapped memory"
- Next in thread: Anton Ertl: "Re: executing code in mmapped memory"
- Reply: Anton Ertl: "Re: executing code in mmapped memory"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]