[PATCH 0/2] Improved variable object invalidation in GDB

Taimoor Mirza
2015-04-16T03:33:02Z

Hi,
This patch series improves variable object invalidation in GDB.
This patch has been regression tested on ppc-gnu-linux
and i686 targets using both simulator and real boards.

Taimoor Mirza (2):
Fix varobj updation after symbol removal
Testsuite for varobj updation after symbol removal

gdb/objfiles.c | 19 ++
gdb/testsuite/gdb.mi/mi-var-invalidate.exp | 67 ++++++
gdb/testsuite/gdb.mi/sym-file-lib.c | 26 ++
gdb/testsuite/gdb.mi/sym-file-loader.c | 353 ++++++++++++++++++++++++++++
gdb/testsuite/gdb.mi/sym-file-loader.h | 99 ++++++++
gdb/testsuite/gdb.mi/sym-file-main.c | 84 +++++++
gdb/varobj.c | 37 +++
gdb/varobj.h | 3 +
8 files changed, 688 insertions(+)
create mode 100644 gdb/testsuite/gdb.mi/sym-file-lib.c
create mode 100644 gdb/testsuite/gdb.mi/sym-file-loader.c
create mode 100644 gdb/testsuite/gdb.mi/sym-file-loader.h
create mode 100644 gdb/testsuite/gdb.mi/sym-file-main.c

--
1.7.9.5