* hppa-tdep.c: Make "maintenance print unwind" command from old
[deliverable/binutils-gdb.git] / gdb / hppa-tdep.c
index 4def91a20ee30924cbac5779c48fdf4e94b29121..e8b3893c191938f3be8239cc2431718ff83810e1 100644 (file)
@@ -1004,6 +1004,8 @@ skip_prologue(pc)
   return pc;
 }
 
+#ifdef MAINTENANCE_CMDS
+
 static void
 unwind_command (exp, from_tty)
      char *exp;
@@ -1034,3 +1036,13 @@ unwind_command (exp, from_tty)
   printf ("%08x\n%08X\n%08X\n%08X\n", xxx.foo[0], xxx.foo[1], xxx.foo[2],
          xxx.foo[3]);
 }
+
+void
+_initialize_hppa_tdep ()
+{
+  add_cmd ("unwind", class_maintenance, unwind_command,
+          "Print unwind table entry at given address.",
+          &maintenanceprintlist);
+}
+
+#endif /* MAINTENANCE_CMDS */
This page took 0.023192 seconds and 4 git commands to generate.