static void fill_prstatus(struct target_elf_prstatus *prstatus,

                          const TaskState *ts, int signr)

{

    (void) memset(prstatus, 0, sizeof (*prstatus));

    prstatus->pr_info.si_signo = prstatus->pr_cursig = signr;

    prstatus->pr_pid = ts->ts_tid;

    prstatus->pr_ppid = getppid();

    prstatus->pr_pgrp = getpgrp();

    prstatus->pr_sid = getsid(0);



#ifdef BSWAP_NEEDED

    bswap_prstatus(prstatus);

#endif

}

static void fill_prstatus(struct target_elf_prstatus *prstatus,

                          const TaskState *ts, int signr)

{

    (void) memset(prstatus, 0, sizeof (*prstatus));

    prstatus->pr_info.si_signo = prstatus->pr_cursig = signr;

    prstatus->pr_pid = ts->ts_tid;

    prstatus->pr_ppid = getppid();

    prstatus->pr_pgrp = getpgrp();

    prstatus->pr_sid = getsid(0);



#ifdef BSWAP_NEEDED

    bswap_prstatus(prstatus);

#endif

}

static void FUNC_0(struct target_elf_prstatus *VAR_0,

                          const TaskState *VAR_1, int VAR_2)

{

    (void) memset(VAR_0, 0, sizeof (*VAR_0));

    VAR_0->pr_info.si_signo = VAR_0->pr_cursig = VAR_2;

    VAR_0->pr_pid = VAR_1->ts_tid;

    VAR_0->pr_ppid = getppid();

    VAR_0->pr_pgrp = getpgrp();

    VAR_0->pr_sid = getsid(0);



#ifdef BSWAP_NEEDED

    bswap_prstatus(VAR_0);

#endif

}

static void FUNC_0(struct target_elf_prstatus *VAR_0,
const TaskState *VAR_1, int VAR_2)
{ (void) memset(VAR_0, 0, sizeof (*VAR_0)); VAR_0->pr_info.si_signo = VAR_0->pr_cursig = VAR_2; VAR_0->pr_pid = VAR_1->ts_tid; VAR_0->pr_ppid = getppid(); VAR_0->pr_pgrp = getpgrp(); VAR_0->pr_sid = getsid(0); #ifdef BSWAP_NEEDED
bswap_prstatus(VAR_0); #endif
}