aboutsummaryrefslogtreecommitdiff
path: root/include/elf
diff options
context:
space:
mode:
authorJoel Brobecker <brobecker@gnat.com>2011-12-06 14:00:37 +0000
committerJoel Brobecker <brobecker@gnat.com>2011-12-06 14:00:37 +0000
commitb18003d16853012faa6097da68d995bc54b8e66b (patch)
treed872ea75953c1db963ab450746af38a2af6fb14c /include/elf
parent751d39ba78d853b96022602d2bf3ef67b315d849 (diff)
downloadgdb-b18003d16853012faa6097da68d995bc54b8e66b.zip
gdb-b18003d16853012faa6097da68d995bc54b8e66b.tar.gz
gdb-b18003d16853012faa6097da68d995bc54b8e66b.tar.bz2
fix incorrect assumption in gdb.ada/watch_arg
The testcase is assuming that the parameter being watched isn't being modified. But the way the test program is written, this is not true at all. So this changes fixes the code to still reference the variable, but in a way that does not modify its value. gdb/testsuite: * gdb.ada/watch_arg/pck.ads, gdb.ada/watch_arg/pck.adb: New files. * gdb.ada/watch_arg/watch.adb: Adjust code to avoid modification of parameter X in procedure Foo.
Diffstat (limited to 'include/elf')
0 files changed, 0 insertions, 0 deletions