Clean up gdb.trace/entry-values.exp
authorYao Qi <yao@codesourcery.com>
Mon, 29 Dec 2014 03:56:51 +0000 (11:56 +0800)
committerYao Qi <yao@codesourcery.com>
Mon, 29 Dec 2014 07:42:38 +0000 (15:42 +0800)
commit9d85a0ec6bc88b6d2149071af003881b6edf21b4
tree3a3c20c1765f0ba954c04a02909e3680c0a91b9c
parent91529dc5ce73dffdf76f842c4ca2003cbddc665f
Clean up gdb.trace/entry-values.exp

This patch is to clean up gdb.trace/entry-values.exp as a preparation
of the next patch.  It updates the comments to reflect the code.

One DIE generated in dwarf assembler is

  GNU_call_site {
    {low_pc "$bar_start + $bar_call_foo" addr}
      {abstract_origin :$foo_label}

the DW_AT_low_pc attribute is the return address after the call, so I
rename variable bar_call_foo to returned_from_foo.

gdb/testsuite:

2014-12-29  Yao Qi  <yao@codesourcery.com>

* gdb.trace/entry-values.exp: Update comments.  Rename variable
bar_call_foo to returned_from_foo.
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.trace/entry-values.exp