[PATCH v8 5/5] gdb/testsuite: Test for a backtrace through object without debuginfo

Tom de Vries tdevries@suse.de
Sat Jan 18 08:07:15 GMT 2025


On 1/16/25 15:37, Andrew Burgess wrote:
> +	if {[gdb_compile "${srcdir}/${subdir}/${srcfile}" \
> +	     "${srcdir}/${subdir}/${objcallerfile}" \


I build gdb and ran the testsuite, and got:
...
$ git sti
On branch master
Your branch is up to date with 'origin/master'.

Ignored files:
   (use "git add -f <file>..." to include in what will be committed)
	gdb/testsuite/gdb.base/backtrace-through-cu-nodebug-caller.o
	gdb/testsuite/gdb.base/backtrace-through-cu-nodebug-main.o

nothing to commit, working tree clean
$
...

The object files should not be generated alongside the sources.

Thanks,
- Tom


More information about the Gdb-patches mailing list