2002-02-01 Michael Snyder <msnyder@redhat.com>
authorMichael Snyder <msnyder@vmware.com>
Fri, 1 Feb 2002 22:45:32 +0000 (22:45 +0000)
committerMichael Snyder <msnyder@vmware.com>
Fri, 1 Feb 2002 22:45:32 +0000 (22:45 +0000)
* hppa-tdep.c: Deprecate xbreak, txbreak and bx commands.

gdb/ChangeLog
gdb/hppa-tdep.c

index 76cd3dfc74a7931c2857d3a467faaa577a6addc6..991346904b01a118d48ac2af890bd2bdaf72d1ac 100644 (file)
@@ -1,3 +1,7 @@
+2002-02-01  Michael Snyder  <msnyder@redhat.com>
+
+       * hppa-tdep.c: Deprecate xbreak, txbreak and bx commands.
+
 2002-02-01  Daniel Jacobowitz  <drow@mvista.com>
 
        * regformats/reg-arm.dat: New file.
 2002-02-01  Daniel Jacobowitz  <drow@mvista.com>
 
        * regformats/reg-arm.dat: New file.
index 0fcf6bfae86641f64b95c8a2595373e1401f117c..723c978a5678fc6e85bdd9f9d16a3c0f1c2bcb5e 100644 (file)
@@ -4686,8 +4686,9 @@ _initialize_hppa_tdep (void)
           "Print unwind table entry at given address.",
           &maintenanceprintlist);
 
           "Print unwind table entry at given address.",
           &maintenanceprintlist);
 
-  add_com ("xbreak", class_breakpoint, break_at_finish_command,
-          concat ("Set breakpoint at procedure exit. \n\
+  deprecate_cmd (add_com ("xbreak", class_breakpoint, 
+                         break_at_finish_command,
+                         concat ("Set breakpoint at procedure exit. \n\
 Argument may be function name, or \"*\" and an address.\n\
 If function is specified, break at end of code for that function.\n\
 If an address is specified, break at the end of the function that contains \n\
 Argument may be function name, or \"*\" and an address.\n\
 If function is specified, break at end of code for that function.\n\
 If an address is specified, break at the end of the function that contains \n\
@@ -4697,21 +4698,23 @@ This is useful for breaking on return to a stack frame.\n\
 \n\
 Multiple breakpoints at one place are permitted, and useful if conditional.\n\
 \n\
 \n\
 Multiple breakpoints at one place are permitted, and useful if conditional.\n\
 \n\
-Do \"help breakpoints\" for info on other commands dealing with breakpoints.", NULL));
-  add_com_alias ("xb", "xbreak", class_breakpoint, 1);
-  add_com_alias ("xbr", "xbreak", class_breakpoint, 1);
-  add_com_alias ("xbre", "xbreak", class_breakpoint, 1);
-  add_com_alias ("xbrea", "xbreak", class_breakpoint, 1);
-
-  c = add_com ("txbreak", class_breakpoint, tbreak_at_finish_command,
-              "Set temporary breakpoint at procedure exit.  Either there should\n\
-be no argument or the argument must be a depth.\n");
+Do \"help breakpoints\" for info on other commands dealing with breakpoints.", NULL)), NULL);
+  deprecate_cmd (add_com_alias ("xb", "xbreak", class_breakpoint, 1), NULL);
+  deprecate_cmd (add_com_alias ("xbr", "xbreak", class_breakpoint, 1), NULL);
+  deprecate_cmd (add_com_alias ("xbre", "xbreak", class_breakpoint, 1), NULL);
+  deprecate_cmd (add_com_alias ("xbrea", "xbreak", class_breakpoint, 1), NULL);
+
+  deprecate_cmd (c = add_com ("txbreak", class_breakpoint, 
+                             tbreak_at_finish_command,
+"Set temporary breakpoint at procedure exit.  Either there should\n\
+be no argument or the argument must be a depth.\n"), NULL);
   c->completer = location_completer;
   c->completer = location_completer;
-
+  
   if (xdb_commands)
   if (xdb_commands)
-    add_com ("bx", class_breakpoint, break_at_finish_at_depth_command,
-            "Set breakpoint at procedure exit.  Either there should\n\
-be no argument or the argument must be a depth.\n");
+    deprecate_cmd (add_com ("bx", class_breakpoint, 
+                           break_at_finish_at_depth_command,
+"Set breakpoint at procedure exit.  Either there should\n\
+be no argument or the argument must be a depth.\n"), NULL);
 }
 
 /* Copy the function value from VALBUF into the proper location
 }
 
 /* Copy the function value from VALBUF into the proper location
This page took 0.032263 seconds and 4 git commands to generate.