* corelow.c, exec.c, inftarg.c, m3-nat.c, op50-rom.c, procfs.c,
[deliverable/binutils-gdb.git] / gdb / op50-rom.c
index 10341eab50127dfb3bb1abd98c0773c56a4de2cc..b7e2df1672013816a00a8999a23c7fbb93d75da0 100644 (file)
@@ -16,23 +16,23 @@ void monitor_open();
  * registers either. So, typing "info reg sp" becomes a "r30".
  */
 static char *op50n_regnames[] = {
-  "r0_zero", "r1_tO ",  "r2_rp ",  "r3_s15 ", "r4_s14 ", "r5_s13 ", "r6_s12 ",
-  "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 ", "",        "p",       "",
-  "",        "",       "",       "",       "",       "",       "",
-  "",        "",       "",       "",       "",       "",       "",
-  "",        "",       "",       "",       "",       "",       "",    "",
-  "",        "",       "",       "",       "",       "",       "",
-  "",        "",       "",       "",       "",       "",       "",    "",
-  "",        "",       "",       "",       "",       "",       "",    "",
-  "",        "",       "",       "",       "",       "",       "",    "",
-  "",        "",       "",       "",       "",       "",       "",    "",
-  "",        "",       "",       "",       "",       "",       "",    "",
-  "",        "",       "",       "",       "",       "",       "",    "",
-  "",        "",       "",       "",       "",       "",       "",    "",
-  "",        "",       "",       "",       "",       "",       "",    ""
+  "r0",  "r1",  "r2",  "r3",  "r4",  "r5",  "r6",
+  "r7",  "r8",  "r9",  "r10", "r11", "r12", "r13",
+  "r14", "r15", "r16", "r17", "r18", "r19", "r20",
+  "r21", "r22", "r23", "r24", "r25", "r26", "r27",
+  "r28", "r29", "r30", "r31", "",        "p",       "",
+  "",    "",    "",    "",    "",       "",       "",
+  "",    "",    "",    "",    "",       "",       "",
+  "",    "",    "",    "",    "",       "",       "",    "",
+  "",    "",    "",    "",    "",       "",       "",
+  "",    "",    "",    "",    "",       "",       "",    "",
+  "",    "",    "",    "",    "",       "",       "",    "",
+  "",    "",    "",    "",    "",       "",       "",    "",
+  "",    "",    "",    "",    "",       "",       "",    "",
+  "",    "",    "",    "",    "",       "",       "",    "",
+  "",    "",    "",    "",    "",       "",       "",    "",
+  "",    "",    "",    "",    "",       "",       "",    "",
+  "",    "",    "",    "",    "",       "",       "",    ""
 };
 
 /*
@@ -73,6 +73,7 @@ Specify the serial device it is connected to (e.g. /dev/ttya).",
   monitor_mourn_inferior,
   0,                           /* can_run */
   0,                           /* notice_signals */
+  0,                           /* to_stop */
   process_stratum,
   0,                           /* next */
   1,
@@ -87,16 +88,16 @@ 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 */
-  "g %x",                      /* execute or usually GO command */
-  "",                          /* continue command */
-  "",                          /* single step */
+  "\003.\n",                           /* monitor init string */
+  "g %x\n",                            /* execute or usually GO command */
+  "g\n",                               /* continue command */
+  "t\n",                               /* single step */
   "b %x\n",                            /* set a breakpoint */
-  "",                          /* clear a breakpoint */
-  1,                                   /* 0 for number, 1 for address */
+  "bx %x\n",                           /* clear a breakpoint */
+  0,                                   /* 0 for number, 1 for address */
   {
     "sx %x %x;.\n",                    /* set memory */
-    "",                                /* delimiter  */
+    "",                                        /* delimiter  */
     "",                                        /* the result */
   },
   {
@@ -106,7 +107,7 @@ struct monitor_ops op50n_cmds = {
   },
   {
     "x %s %x\n",                       /* set a register */
-    "=",                               /* delimiter between registers */
+    "",                                        /* delimiter between registers */
     "",                                        /* the result */
   },
   {
@@ -119,7 +120,7 @@ struct monitor_ops op50n_cmds = {
   " ",                                 /* end-of-command delimitor */
   ".\n",                               /* optional command terminator */
   &op50n_ops,                          /* target operations */
-  "srec,binary",                       /* load types */
+  "srec,ascii-srec,default",           /* load types */
   op50n_regnames
 };
 
This page took 0.025339 seconds and 4 git commands to generate.