28c28
< __FBSDID("$FreeBSD: head/sys/gdb/gdb_main.c 133446 2004-08-10 19:32:33Z marcel $");
---
> __FBSDID("$FreeBSD: head/sys/gdb/gdb_main.c 138253 2004-12-01 06:40:35Z marcel $");
123,124c123,127
< if (!gdb_rx_varhex(&addr))
< gdb_cpu_setreg(GDB_REG_PC, addr);
---
> register_t pc;
> if (!gdb_rx_varhex(&addr)) {
> pc = addr;
> gdb_cpu_setreg(GDB_REG_PC, &pc);
> }
129a133
> register_t pc;
131,132c135,138
< !gdb_rx_varhex(&addr))
< gdb_cpu_setreg(GDB_REG_PC, addr);
---
> !gdb_rx_varhex(&addr)) {
> pc = addr;
> gdb_cpu_setreg(GDB_REG_PC, &pc);
> }
194c200,202
< uintmax_t reg, val;
---
> char *val;
> uintmax_t reg;
> val = gdb_rxp;
196c204
< gdb_rx_varhex(&val)) {
---
> !gdb_rx_mem(val, gdb_cpu_regsz(reg))) {
229,230c237,241
< if (!gdb_rx_varhex(&addr))
< gdb_cpu_setreg(GDB_REG_PC, addr);
---
> register_t pc;
> if (!gdb_rx_varhex(&addr)) {
> pc = addr;
> gdb_cpu_setreg(GDB_REG_PC, &pc);
> }
235a247
> register_t pc;
237,238c249,252
< !gdb_rx_varhex(&addr))
< gdb_cpu_setreg(GDB_REG_PC, addr);
---
> !gdb_rx_varhex(&addr)) {
> pc = addr;
> gdb_cpu_setreg(GDB_REG_PC, &pc);
> }
< __FBSDID("$FreeBSD: head/sys/gdb/gdb_main.c 133446 2004-08-10 19:32:33Z marcel $");
---
> __FBSDID("$FreeBSD: head/sys/gdb/gdb_main.c 138253 2004-12-01 06:40:35Z marcel $");
123,124c123,127
< if (!gdb_rx_varhex(&addr))
< gdb_cpu_setreg(GDB_REG_PC, addr);
---
> register_t pc;
> if (!gdb_rx_varhex(&addr)) {
> pc = addr;
> gdb_cpu_setreg(GDB_REG_PC, &pc);
> }
129a133
> register_t pc;
131,132c135,138
< !gdb_rx_varhex(&addr))
< gdb_cpu_setreg(GDB_REG_PC, addr);
---
> !gdb_rx_varhex(&addr)) {
> pc = addr;
> gdb_cpu_setreg(GDB_REG_PC, &pc);
> }
194c200,202
< uintmax_t reg, val;
---
> char *val;
> uintmax_t reg;
> val = gdb_rxp;
196c204
< gdb_rx_varhex(&val)) {
---
> !gdb_rx_mem(val, gdb_cpu_regsz(reg))) {
229,230c237,241
< if (!gdb_rx_varhex(&addr))
< gdb_cpu_setreg(GDB_REG_PC, addr);
---
> register_t pc;
> if (!gdb_rx_varhex(&addr)) {
> pc = addr;
> gdb_cpu_setreg(GDB_REG_PC, &pc);
> }
235a247
> register_t pc;
237,238c249,252
< !gdb_rx_varhex(&addr))
< gdb_cpu_setreg(GDB_REG_PC, addr);
---
> !gdb_rx_varhex(&addr)) {
> pc = addr;
> gdb_cpu_setreg(GDB_REG_PC, &pc);
> }