diff options
author | Rob Savoye <rob@cygnus> | 1994-10-12 03:34:08 +0000 |
---|---|---|
committer | Rob Savoye <rob@cygnus> | 1994-10-12 03:34:08 +0000 |
commit | 7804e5bc7cf0397875340152d1fc6a09086f0b4a (patch) | |
tree | 825ff6defd4a222cbfa460a266836b1f782e38c8 /gdb/op50-rom.c | |
parent | 87fa4c38c2c6be9c587a7c01a731002a2e9ac3f2 (diff) | |
download | gdb-7804e5bc7cf0397875340152d1fc6a09086f0b4a.zip gdb-7804e5bc7cf0397875340152d1fc6a09086f0b4a.tar.gz gdb-7804e5bc7cf0397875340152d1fc6a09086f0b4a.tar.bz2 |
Breakpoints work, run works. Fixed "monitor" command.
Diffstat (limited to 'gdb/op50-rom.c')
-rw-r--r-- | gdb/op50-rom.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/gdb/op50-rom.c b/gdb/op50-rom.c index abf8597..10341ea 100644 --- a/gdb/op50-rom.c +++ b/gdb/op50-rom.c @@ -20,7 +20,7 @@ static char *op50n_regnames[] = { "r7_s11 ", "r8_s10 ", "r9_s9 ", "r10_s8 ", "r11_s7 ", "r12_s6 ", "r13_s5 ", "r14_s4 ", "r15_s3 ", "r16_s2 ", "r17_s1 ", "r18_s0 ", "r19_t4 ", "r20_t3 ", "r21_t2 ", "r22_t1 ", "r23_a3 ", "r24_a2 ", "r25_a1 ", "r26_a0 ", "r27_dp ", - "r28_v0 ", "r29_v1 ", "r30_sp ", "r31_t5 ", "", "", "", + "r28_v0 ", "r29_v1 ", "r30_sp ", "r31_t5 ", "", "p", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", @@ -88,11 +88,12 @@ Specify the serial device it is connected to (e.g. /dev/ttya).", struct monitor_ops op50n_cmds = { 1, /* 1 for ASCII, 0 for binary */ ".\n", /* monitor init string */ - "", /* execute or usually GO command */ + "g %x", /* execute or usually GO command */ "", /* continue command */ "", /* single step */ - "", /* set a breakpoint */ + "b %x\n", /* set a breakpoint */ "", /* clear a breakpoint */ + 1, /* 0 for number, 1 for address */ { "sx %x %x;.\n", /* set memory */ "", /* delimiter */ |