diff options
Diffstat (limited to 'gdb/testsuite/gdb.base/macscp.exp')
-rw-r--r-- | gdb/testsuite/gdb.base/macscp.exp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gdb/testsuite/gdb.base/macscp.exp b/gdb/testsuite/gdb.base/macscp.exp index 9cb9ef5..f7553a5 100644 --- a/gdb/testsuite/gdb.base/macscp.exp +++ b/gdb/testsuite/gdb.base/macscp.exp @@ -415,6 +415,10 @@ gdb_test "break [gdb_get_line_number "set breakpoint here"]" \ gdb_test "continue" "foo = 0;.*" "continue to macsp_expr" +gdb_test "print address.addr" \ + " = 0" \ + "print address.addr" + gdb_test "print MACRO_TO_EXPAND" \ "No symbol \"MACRO_TO_EXPAND\" in current context\." \ "print expression with macro before define." |