Fix FAIL: gdb.ada/small_reg_param.exp: continue to call_me
authorJoel Brobecker <brobecker@gnat.com>
Wed, 10 Jul 2013 00:10:37 +0000 (00:10 +0000)
committerJoel Brobecker <brobecker@gnat.com>
Wed, 10 Jul 2013 00:10:37 +0000 (00:10 +0000)
commit7d7c64775689625d0997b880fc2783d17c6143e8
tree12dbc82346c3ea603cff45372a1b55e4b4040dad
parent52cd8b7d705eee7248aee9f582363997362aea4b
Fix FAIL: gdb.ada/small_reg_param.exp: continue to call_me

If enough information is provided by the compiler, the debugger
now prints the entry value of various parameters:

    (gdb) continue
    Continuing.

    Breakpoint 2, pck.call_me (w=w@entry=50) at [...]
    20            Last_Word := W;

This patch adjusts the expected output to allow an optional
"w@entry=" in the parameter value.

gdb/testsuite/ChangeLog:

        * gdb.ada/small_reg_param.exp: Accept optional entry value
        for parameter "w".
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.ada/small_reg_param.exp