mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-25 16:57:52 +00:00
2004-07-20 Andrew Cagney <cagney@gnu.org>
* tramp-frame.h (struct tramp_frame): Change "insn" to a struct containing both bytes and mask. Add "frame_type". * tramp-frame.c (tramp_frame_start): Update. (tramp_frame_prepend_unwinder): Update. * mips-linux-tdep.c (mips_linux_o32_sigframe) (mips_linux_o32_rt_sigframe, mips_linux_n32_rt_sigframe) (mips_linux_n64_rt_sigframe): Update. Make "static const". * ppcnbsd-tdep.c (tramp_frame ppcnbsd_sigtramp): Update.
This commit is contained in:
@@ -293,14 +293,15 @@ ppcnbsd_sigtramp_cache_init (const struct tramp_frame *self,
|
||||
instruction, or zero if it isn't a signal trampoline. */
|
||||
|
||||
static const struct tramp_frame ppcnbsd_sigtramp = {
|
||||
SIGTRAMP_FRAME,
|
||||
4, /* insn size */
|
||||
{ /* insn */
|
||||
0x38610018, /* addi r3,r1,24 */
|
||||
0x38000127, /* li r0,295 */
|
||||
0x44000002, /* sc */
|
||||
0x38000001, /* li r0,1 */
|
||||
0x44000002, /* sc */
|
||||
TRAMP_SENTINEL_INSN
|
||||
{ 0x38610018, -1 }, /* addi r3,r1,24 */
|
||||
{ 0x38000127, -1 }, /* li r0,295 */
|
||||
{ 0x44000002, -1 }, /* sc */
|
||||
{ 0x38000001, -1 }, /* li r0,1 */
|
||||
{ 0x44000002, -1 }, /* sc */
|
||||
{ TRAMP_SENTINEL_INSN, -1 }
|
||||
},
|
||||
ppcnbsd_sigtramp_cache_init
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user