* readelf.c (main): Reset dump request after each file.
[deliverable/binutils-gdb.git] / gdb / remote-rdi.c
index 695a30266135e597943138ac74cb90bca32ec889..a85fbb118b72a1da1597f94c096e56820f598aa9 100644 (file)
@@ -598,7 +598,7 @@ arm_rdi_store_registers (int regno)
     }
   else
     {
-      read_register_gen (regno, (char *) rawreg);
+      deprecated_read_register_gen (regno, (char *) rawreg);
       /* RDI manipulates data in host byte order, so convert now. */
       store_unsigned_integer (rawerreg, 4, rawreg[0]);
 
@@ -1023,40 +1023,42 @@ _initialize_remote_rdi (void)
 
   c = add_cmd ("rdilogfile", class_maintenance,
               rdilogfile_command,
-              "Set filename for ADP packet log.\n\
-This file is used to log Angel Debugger Protocol packets.\n\
-With a single argument, sets the logfile name to that value.\n\
-Without an argument, shows the current logfile name.\n\
-See also: rdilogenable\n",
-          &maintenancelist);
+              "Set filename for ADP packet log.\n"
+              "This file is used to log Angel Debugger Protocol packets.\n"
+              "With a single argument, sets the logfile name to that value.\n"
+              "Without an argument, shows the current logfile name.\n"
+              "See also: rdilogenable\n",
+              &maintenancelist);
   set_cmd_completer (c, filename_completer);
 
   add_cmd ("rdilogenable", class_maintenance,
           rdilogenable_command,
-          "Set enable logging of ADP packets.\n\
-This will log ADP packets exchanged between gdb and the\n\
-rdi target device.\n\
-An argument of 1,t,true,y,yes will enable.\n\
-An argument of 0,f,false,n,no will disabled.\n\
-Withough an argument, it will display current state.\n",
+          "Set enable logging of ADP packets.\n"
+          "This will log ADP packets exchanged between gdb and the\n"
+          "rdi target device.\n"
+          "An argument of 1, t, true, y or yes will enable.\n"
+          "An argument of 0, f, false, n or no will disabled.\n"
+          "Withough an argument, it will display current state.\n",
           &maintenancelist);
 
-  add_show_from_set
-    (add_set_boolean_cmd ("rdiromatzero", no_class, &rom_at_zero,
-                         "Set target has ROM at addr 0.\n\
-A true value disables vector catching, false enables vector catching.\n\
-This is evaluated at the time the 'target rdi' command is executed\n",
-                         &setlist),
-     &showlist);
-
-  add_show_from_set
-    (add_set_boolean_cmd ("rdiheartbeat", no_class, &rdi_heartbeat,
-                         "Set enable for ADP heartbeat packets.\n\
-I don't know why you would want this. If you enable them,\n\
-it will confuse ARM and EPI JTAG interface boxes as well\n\
-as the Angel Monitor.\n",
-                         &setlist),
-     &showlist);
+  add_setshow_boolean_cmd
+    ("rdiromatzero", no_class, &rom_at_zero,
+     "Set target has ROM at addr 0.\n"
+     "A true value disables vector catching, false enables vector catching.\n"
+     "This is evaluated at the time the 'target rdi' command is executed\n",
+     "Show if target has ROM at addr 0.\n",
+     NULL, NULL,
+     &setlist, &showlist);
+
+  add_setshow_boolean_cmd
+    ("rdiheartbeat", no_class, &rdi_heartbeat,
+     "Set enable for ADP heartbeat packets.\n"
+     "I don't know why you would want this. If you enable them,\n"
+     "it will confuse ARM and EPI JTAG interface boxes as well\n"
+     "as the Angel Monitor.\n",
+     "Show enable for ADP heartbeat packets.\n",
+     NULL, NULL,
+     &setlist, &showlist);
 }
 
 /* A little dummy to make linking with the library succeed. */
This page took 0.023676 seconds and 4 git commands to generate.