Home
last modified time | relevance | path

Searched refs:mem2hex (Results 1 – 10 of 10) sorted by relevance

/openbsd/src/gnu/usr.bin/binutils/gdb/nlm/
Di386.c14 extern char *mem2hex (void *mem, char *buf, int count, int may_fault);
29 mem2hex (&frame->ExceptionEAX, &regs[0 * 4 * 2], 4 * 8, 0); in frame_to_registers()
32 mem2hex (&frame->ExceptionPC, &regs[8 * 4 * 2], 4 * 2, 0); in frame_to_registers()
35 mem2hex (&frame->ExceptionCS, &regs[10 * 4 * 2], 4 * 3, 0); in frame_to_registers()
38 mem2hex (&frame->ExceptionES, &regs[13 * 4 * 2], 4 * 1, 0); in frame_to_registers()
41 mem2hex (&frame->ExceptionFS, &regs[14 * 4 * 2], 4 * 2, 0); in frame_to_registers()
88 ptr = mem2hex (&frame->ExceptionPC, ptr + 3, 4, 0); in do_status()
92 ptr = mem2hex (&frame->ExceptionESP, ptr + 3, 4, 0); in do_status()
96 ptr = mem2hex (&frame->ExceptionEBP, ptr + 3, 4, 0); in do_status()
Dppc.c15 extern char *mem2hex (void *mem, char *buf, int count, int may_fault);
29 mem2hex (&frame->ExceptionState.CsavedRegs, &regs[GP0_REGNUM * 4 * 2], 4 * 32, 0); in frame_to_registers()
31 mem2hex (&frame->ExceptionState.CSavedFPRegs, &regs[FP0_REGNUM * 4 * 2], 4 * 32, 0); in frame_to_registers()
33 mem2hex (&frame->ExceptionPC, &regs[PC_REGNUM * 4 * 2], 4 * 1, 0); in frame_to_registers()
35mem2hex (&frame->ExceptionState.u.SpecialRegistersEnumerated.CsavedSRR1, &regs[CR_REGNUM * 4 * 2],… in frame_to_registers()
36mem2hex (&frame->ExceptionState.u.SpecialRegistersEnumerated.CsavedLR, &regs[LR_REGNUM * 4 * 2], 4… in frame_to_registers()
37mem2hex (&frame->ExceptionState.u.SpecialRegistersEnumerated.CsavedCTR, &regs[CTR_REGNUM * 4 * 2],… in frame_to_registers()
38mem2hex (&frame->ExceptionState.u.SpecialRegistersEnumerated.CsavedXER, &regs[XER_REGNUM * 4 * 2],… in frame_to_registers()
39mem2hex (&frame->ExceptionState.u.SpecialRegistersEnumerated.CsavedMQ, &regs[MQ_REGNUM * 4 * 2], 4… in frame_to_registers()
232 ptr = mem2hex (&frame->ExceptionPC, ptr + 3, 4, 0); in do_status()
[all …]
Dgdbserve.c158 char *mem2hex (void *mem, char *buf, int count, int may_fault);
397 mem2hex (void *mem, char *buf, int count, int may_fault) in mem2hex() function
658 mem2hex((char*) addr, remcomOutBuffer, length, 1); in handle_exception()
/openbsd/src/gnu/usr.bin/binutils/gdb/
Dsparc-stub.c395 mem2hex (unsigned char *mem, unsigned char *buf, int count, int may_fault) in mem2hex() function
605 ptr = mem2hex((char *)&registers[PC], ptr, 4, 0); in handle_exception()
611 ptr = mem2hex(sp + 8 + 6, ptr, 4, 0); /* FP */ in handle_exception()
617 ptr = mem2hex((char *)&sp, ptr, 4, 0); in handle_exception()
623 ptr = mem2hex((char *)&registers[NPC], ptr, 4, 0); in handle_exception()
629 ptr = mem2hex((char *)&registers[O7], ptr, 4, 0); in handle_exception()
656 ptr = mem2hex((char *)registers, ptr, 16 * 4, 0); /* G & O regs */ in handle_exception()
657 ptr = mem2hex(sp + 0, ptr, 16 * 4, 0); /* L & I regs */ in handle_exception()
659 mem2hex((char *)&registers[Y], in handle_exception()
701 if (mem2hex((char *)addr, remcomOutBuffer, length, 1)) in handle_exception()
Dm32r-stub.c188 static unsigned char *mem2hex (unsigned char *, unsigned char *, int, int);
224 mem2hex ((unsigned char *) &exceptionVector, buf, 4, 0); in handle_exception()
226 mem2hex ((unsigned char *) &registers[PC], buf, 4, 0); in handle_exception()
242 ptr = mem2hex ((unsigned char *) &registers[PC], ptr, 4, 0); /* PC */ in handle_exception()
248 ptr = mem2hex ((unsigned char *) &registers[R13], ptr, 4, 0); /* FP */ in handle_exception()
254 ptr = mem2hex ((unsigned char *) &registers[R15], ptr, 4, 0); /* SP */ in handle_exception()
260 mem2hex ((unsigned char *) &registers[PC], buf, 4, 0); in handle_exception()
374 mem2hex ((unsigned char *) addr, remcomOutBuffer, length, in handle_exception()
397 mem2hex ((unsigned char *) registers, remcomOutBuffer, NUMREGBYTES, in handle_exception()
470 ptr = mem2hex ((unsigned char *) &registers[PC], ptr, 4, 0); in handle_exception()
[all …]
Di386-stub.c600 mem2hex (mem, buf, count, may_fault) in mem2hex() function
770 ptr = mem2hex((char *)&registers[ESP], ptr, 4, 0); /* SP */ in handle_exception()
775 ptr = mem2hex((char *)&registers[EBP], ptr, 4, 0); /* FP */ in handle_exception()
780 ptr = mem2hex((char *)&registers[PC], ptr, 4, 0); /* PC */ in handle_exception()
806 mem2hex ((char *) registers, remcomOutBuffer, NUMREGBYTES, 0); in handle_exception()
837 mem2hex ((char *) addr, remcomOutBuffer, length, 1); in handle_exception()
Dm68k-stub.c650 mem2hex (mem, buf, count) in mem2hex() function
855 mem2hex ((char *) registers, remcomOutBuffer, NUMREGBYTES); in handle_exception()
874 mem2hex ((char *) addr, remcomOutBuffer, length); in handle_exception()
Dsh-stub.c199 static char *mem2hex (char *, char *, int);
319 mem2hex (char *mem, char *buf, int count) in mem2hex() function
706 mem2hex ((char *) registers, remcomOutBuffer, NUMREGBYTES); in gdb_handle_exception()
724 mem2hex ((char *) addr, remcomOutBuffer, length); in gdb_handle_exception()
Dtracepoint.c153 static unsigned char *mem2hex (unsigned char *, unsigned char *, int);
1434 end = mem2hex (list->aexpr_list[i]->buf, end, list->aexpr_list[i]->len); in stringify_collection_list()
2605 mem2hex (unsigned char *mem, unsigned char *buf, int count) in mem2hex() function
/openbsd/src/gnu/usr.bin/binutils/gdb/testsuite/gdb.trace/
Dgdb_c_test.c2453 mem2hex(unsigned char *mem, char *buf, long count, long may_fault) in mem2hex() function
2720 mem2hex( (unsigned char*) curframe.traceregs, in handle_request()
2723 mem2hex( (unsigned char*) registers, outbuffer, NUMREGBYTES, 0 ); in handle_request()
2782 …if (mem2hex((unsigned char *) addr, outbuffer, len, 1) == 0) /* XXX: eventually use returned value… in handle_request()
3576 mem2hex ((unsigned char *) stack, in handle_trace_set()
3628 mem2hex (data, spare_buffer, len, 0); in handle_trace_set()