FAILURE run_gdb:287: checking expression "primary_mode", expected "$", found "N"

Jan Kiszka jan.kiszka at siemens.com
Tue Apr 21 12:00:35 CEST 2020


On 21.04.20 02:27, Vitaly Chikunov via Xenomai wrote:
> 2. There is additional problem with gdb test, though. If I have in my
> `.gdbinit' value of `prompt' redefined - gdb test fails to recognize the
> prompt.  I recommend adding `-nx' option to gdb arguments so that
> `.gdbinit' is not read by default.
> 
> gdb --help:
>    --nh               Do not read ~/.gdbinit.
>    --nx               Do not read any .gdbinit files in any directory.
> 
> I believe these changes will make xeno-test more robust.
> 

Good point! Should be added to the smokey gdb testcase where it starts 
gdb. Would you send a patch?

> 3. Also, note that `-k' switch is not worked.

There are several test cases in smokey, gdb included, that terminate the 
test process on errors. Probably, those need to be changed to return an 
error code from the test main function. Not trivial in all cases.

Jan

-- 
Siemens AG, Corporate Technology, CT RDA IOT SES-DE
Corporate Competence Center Embedded Linux



More information about the Xenomai mailing list