]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
Make the gdb.objc tests compile
authorTom Tromey <tom@tromey.com>
Sat, 15 Nov 2025 17:37:37 +0000 (10:37 -0700)
committerTom Tromey <tom@tromey.com>
Tue, 2 Dec 2025 16:22:45 +0000 (09:22 -0700)
commitdf25394884cf5cd4611355cb95ef319431428fdb
tree9ac33da52578888e36cace772d7c51328d3ab64d
parent0221c9eea71291e6bbfdd5187cde0b5dadb5dd02
Make the gdb.objc tests compile

The gdb.objc tests haven't compiled in years.  This patch fixes this,
based on a comment in bug 31671.

I don't know whether this approach works with the clang implementation
of Objective-C.  However, it does work with GCC, provided that
gnustep-base is installed.
gdb/testsuite/gdb.objc/basicclass.m
gdb/testsuite/gdb.objc/nondebug.m
gdb/testsuite/gdb.objc/objcdecode.m
gdb/testsuite/lib/gdb.exp