* gdbarch.sh (info_proc): New callback.
[deliverable/binutils-gdb.git] / gdb / infcmd.c
index a88201bd8f1967d1749038e77cd77b5d46148300..cd8bf404d90d3b3def12d9d3c28e380e17bd840d 100644 (file)
@@ -2810,7 +2810,12 @@ unset_command (char *args, int from_tty)
 static void
 info_proc_cmd_1 (char *args, enum info_proc_what what, int from_tty)
 {
-  target_info_proc (args, what);
+  struct gdbarch *gdbarch = get_current_arch ();
+
+  if (gdbarch_info_proc_p (gdbarch))
+    gdbarch_info_proc (gdbarch, args, what);
+  else
+    target_info_proc (args, what);
 }
 
 /* Implement `info proc' when given without any futher parameters.  */
This page took 0.024436 seconds and 4 git commands to generate.