* hppa-tdep.c: Make "maintenance print unwind" command from old
authorJim Kingdon <jkingdon@engr.sgi.com>
Thu, 29 Jul 1993 21:42:31 +0000 (21:42 +0000)
committerJim Kingdon <jkingdon@engr.sgi.com>
Thu, 29 Jul 1993 21:42:31 +0000 (21:42 +0000)
"unwind" command.

gdb/ChangeLog
gdb/hppa-tdep.c

index 3dfe5ff6ebf5c09e6230f716ff5c8e725b5f4bac..a6d2267fed4e0c90246d2ba553a7b601b2260e3e 100644 (file)
@@ -1,5 +1,8 @@
 Thu Jul 29 12:09:46 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
 
+       * hppa-tdep.c: Make "maintenance print unwind" command from old
+       "unwind" command.
+
        * remote-udi.c: Remove udi_timer, call to siginterrupt, and associated
        obsolete junk which apparently had been copied from the
        pre-serial.h remote.c, but which is no longer used.
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 */