Home | History | Annotate | Download | only in m_gdbserver

Lines Matching refs:pc

56   { "pc", 480, 32 },
101 static const char *expedite_regs[] = { "r11", "sp", "pc", 0 };
107 unsigned long pc;
109 collect_register_by_name ("pc", &pc);
111 dlog(1, "stop pc is %p\n", (void *) pc);
112 return pc;
119 supply_register_by_name ("pc", &newpc, &mod);
121 dlog(1, "set pc to %p\n", C2v (newpc));
123 dlog(1, "set pc not changed %p\n", C2v (newpc));
126 Addr thumb_pc (Addr pc)
129 if (pc & 1) {
130 dlog (1, "%p = thumb (bit0 is set)\n", C2v (pc));
131 return pc;
135 // For a pc aligned on 4 bytes, we have to use the debug
140 if (pc & 2) {
141 dlog (1, "bit0 not set, bit1 set => %p = thumb\n", C2v (pc));
142 return pc | 1;
145 // pc aligned on 4 bytes. We need to use debug info.
154 if (VG_(get_fnname_raw) (pc | 1, fnname, 200)) {
157 fnname, C2v(entrypoint), C2v(pc),
160 return pc | 1;
162 return pc;
166 C2v (pc), fnname);
167 return pc;
171 dlog (1, "%p unknown fnname?. Assume arm\n", C2v (pc));
172 return pc;
211 // If gdb is changing the PC, we have to set the thumb bit