Browse Source

tools/gdbinit: how to set breakpoints when using -ex run

Nathalie Furmento 12 years ago
parent
commit
d4c1324b97
1 changed files with 6 additions and 1 deletions
  1. 6 1
      tools/gdbinit

+ 6 - 1
tools/gdbinit

@@ -2,7 +2,7 @@
 # StarPU --- Runtime system for heterogeneous multicore architectures.
 #
 # Copyright (C) 2010-2013  Université de Bordeaux 1
-# Copyright (C) 2010, 2011, 2012  Centre National de la Recherche Scientifique
+# Copyright (C) 2010, 2011, 2012, 2013  Centre National de la Recherche Scientifique
 #
 # StarPU is free software; you can redistribute it and/or modify
 # it under the terms of the GNU Lesser General Public License as published by
@@ -15,6 +15,11 @@
 #
 # See the GNU Lesser General Public License in COPYING.LGPL for more details.
 
+# To set a breakpoint when starting gdb with option "-ex run",
+# here what you need to do:
+#set breakpoint pending on
+#break starpu_mpi.c:419
+
 define starpu-print-job
   set language c
   set $job = (struct _starpu_job *)$arg0