]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - gdb/testsuite/gdb.trace/entry-values.exp
Fix gdb.trace/entry-values.exp for thumb mode
[thirdparty/binutils-gdb.git] / gdb / testsuite / gdb.trace / entry-values.exp
index d648bd1fcc858540cd05d022632b91c3d8404864..4838004d8693d8bba3912b5642b0ed1afb1ff40d 100644 (file)
@@ -147,8 +147,8 @@ Dwarf::assemble $asm_file {
            foo_label: subprogram {
                {name foo}
                {decl_file 1}
-               {low_pc foo addr}
-               {high_pc "foo + $foo_length" addr}
+               {low_pc foo_start addr}
+               {high_pc "foo_start + $foo_length" addr}
            } {
                formal_parameter {
                    {type :$int_label}
@@ -165,8 +165,8 @@ Dwarf::assemble $asm_file {
            subprogram {
                {name bar}
                {decl_file 1}
-               {low_pc bar addr}
-               {high_pc "bar + $bar_length" addr}
+               {low_pc bar_start addr}
+               {high_pc "bar_start + $bar_length" addr}
                {GNU_all_call_sites 1}
            } {
                formal_parameter {
@@ -175,7 +175,7 @@ Dwarf::assemble $asm_file {
                }
 
                GNU_call_site {
-                   {low_pc "bar + $bar_call_foo" addr}
+                   {low_pc "bar_start + $bar_call_foo" addr}
                    {abstract_origin :$foo_label}
                } {
                    # Faked entry values are reference to variables 'global1'