]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit - gdb/testsuite/ChangeLog
btrace, vdso: add vdso target sections
authorMarkus Metzger <markus.t.metzger@intel.com>
Wed, 2 Apr 2014 07:54:11 +0000 (09:54 +0200)
committerMarkus Metzger <markus.t.metzger@intel.com>
Fri, 23 May 2014 07:12:24 +0000 (09:12 +0200)
commit589fdceb99db9868e34bc976b7e234dbfaf327e2
treec19c9ca529e3a2bf3ed0df2a2e948dd77009926c
parente9089e05b6a1a89ba6b8f3123f9d76bf066e3db7
btrace, vdso: add vdso target sections

When loading symbols for the vdso, also add its sections to target_sections.

This fixes an issue with record btrace where vdso instructions could not be
disassembled during replay.

* symfile-mem.c (symbol_file_add_from_memory): Add BFD sections.

testsuite/
* gdb.btrace/vdso.c: New.
* gdb.btrace/vdso.exp: New.
gdb/ChangeLog
gdb/symfile-mem.c
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.btrace/vdso.c [new file with mode: 0644]
gdb/testsuite/gdb.btrace/vdso.exp [new file with mode: 0644]