diff options
author | Marc Khouzam <marc.khouzam@ericsson.com> | 2012-07-25 18:34:17 +0000 |
---|---|---|
committer | Marc Khouzam <marc.khouzam@ericsson.com> | 2012-07-25 18:34:17 +0000 |
commit | ea5ca7b5cf81373e26cb2da61ca1517be5a4adf2 (patch) | |
tree | fd6a99431807608d42e639e91f8928e6ad497def /gdb/testsuite/gdb.mi/mi-pendshr.c | |
parent | 33d7655bb2b3cc12ac5401ae107a0aca33085d6e (diff) | |
download | gdb-ea5ca7b5cf81373e26cb2da61ca1517be5a4adf2.zip gdb-ea5ca7b5cf81373e26cb2da61ca1517be5a4adf2.tar.gz gdb-ea5ca7b5cf81373e26cb2da61ca1517be5a4adf2.tar.bz2 |
2012-07-25 Marc Khouzam <marc.khouzam@ericsson.com>
* gdb.mi/mi-pending.c: New method to set a second pending
breakpoint.
* gdb.mi/mi-pending.exp: Set a pending breakpoint with a
condition.
Diffstat (limited to 'gdb/testsuite/gdb.mi/mi-pendshr.c')
-rw-r--r-- | gdb/testsuite/gdb.mi/mi-pendshr.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gdb/testsuite/gdb.mi/mi-pendshr.c b/gdb/testsuite/gdb.mi/mi-pendshr.c index 8f0837d..8271b08 100644 --- a/gdb/testsuite/gdb.mi/mi-pendshr.c +++ b/gdb/testsuite/gdb.mi/mi-pendshr.c @@ -23,7 +23,13 @@ void pendfunc1 (int x) printf ("in pendfunc1, x is %d\n", x); } +void pendfunc2 (int x) +{ + printf ("in pendfunc2, x is %d\n", x); +} + void pendfunc (int x) { pendfunc1 (x); + pendfunc2 (x); } |