| /openbsd/src/gnu/usr.bin/binutils/gdb/nlm/ |
| D | i386.c | 14 extern char *mem2hex (void *mem, char *buf, int count, int may_fault); 29 mem2hex (&frame->ExceptionEAX, ®s[0 * 4 * 2], 4 * 8, 0); in frame_to_registers() 32 mem2hex (&frame->ExceptionPC, ®s[8 * 4 * 2], 4 * 2, 0); in frame_to_registers() 35 mem2hex (&frame->ExceptionCS, ®s[10 * 4 * 2], 4 * 3, 0); in frame_to_registers() 38 mem2hex (&frame->ExceptionES, ®s[13 * 4 * 2], 4 * 1, 0); in frame_to_registers() 41 mem2hex (&frame->ExceptionFS, ®s[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()
|
| D | ppc.c | 15 extern char *mem2hex (void *mem, char *buf, int count, int may_fault); 29 mem2hex (&frame->ExceptionState.CsavedRegs, ®s[GP0_REGNUM * 4 * 2], 4 * 32, 0); in frame_to_registers() 31 mem2hex (&frame->ExceptionState.CSavedFPRegs, ®s[FP0_REGNUM * 4 * 2], 4 * 32, 0); in frame_to_registers() 33 mem2hex (&frame->ExceptionPC, ®s[PC_REGNUM * 4 * 2], 4 * 1, 0); in frame_to_registers() 35 …mem2hex (&frame->ExceptionState.u.SpecialRegistersEnumerated.CsavedSRR1, ®s[CR_REGNUM * 4 * 2],… in frame_to_registers() 36 …mem2hex (&frame->ExceptionState.u.SpecialRegistersEnumerated.CsavedLR, ®s[LR_REGNUM * 4 * 2], 4… in frame_to_registers() 37 …mem2hex (&frame->ExceptionState.u.SpecialRegistersEnumerated.CsavedCTR, ®s[CTR_REGNUM * 4 * 2],… in frame_to_registers() 38 …mem2hex (&frame->ExceptionState.u.SpecialRegistersEnumerated.CsavedXER, ®s[XER_REGNUM * 4 * 2],… in frame_to_registers() 39 …mem2hex (&frame->ExceptionState.u.SpecialRegistersEnumerated.CsavedMQ, ®s[MQ_REGNUM * 4 * 2], 4… in frame_to_registers() 232 ptr = mem2hex (&frame->ExceptionPC, ptr + 3, 4, 0); in do_status() [all …]
|
| D | gdbserve.c | 158 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/ |
| D | sparc-stub.c | 395 mem2hex (unsigned char *mem, unsigned char *buf, int count, int may_fault) in mem2hex() function 605 ptr = mem2hex((char *)®isters[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 *)®isters[NPC], ptr, 4, 0); in handle_exception() 629 ptr = mem2hex((char *)®isters[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 *)®isters[Y], in handle_exception() 701 if (mem2hex((char *)addr, remcomOutBuffer, length, 1)) in handle_exception()
|
| D | m32r-stub.c | 188 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 *) ®isters[PC], buf, 4, 0); in handle_exception() 242 ptr = mem2hex ((unsigned char *) ®isters[PC], ptr, 4, 0); /* PC */ in handle_exception() 248 ptr = mem2hex ((unsigned char *) ®isters[R13], ptr, 4, 0); /* FP */ in handle_exception() 254 ptr = mem2hex ((unsigned char *) ®isters[R15], ptr, 4, 0); /* SP */ in handle_exception() 260 mem2hex ((unsigned char *) ®isters[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 *) ®isters[PC], ptr, 4, 0); in handle_exception() [all …]
|
| D | i386-stub.c | 600 mem2hex (mem, buf, count, may_fault) in mem2hex() function 770 ptr = mem2hex((char *)®isters[ESP], ptr, 4, 0); /* SP */ in handle_exception() 775 ptr = mem2hex((char *)®isters[EBP], ptr, 4, 0); /* FP */ in handle_exception() 780 ptr = mem2hex((char *)®isters[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()
|
| D | m68k-stub.c | 650 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()
|
| D | sh-stub.c | 199 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()
|
| D | tracepoint.c | 153 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/ |
| D | gdb_c_test.c | 2453 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()
|