<html style="direction: ltr;">
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<style id="bidiui-paragraph-margins" type="text/css">body p { margin-bottom: 0cm; margin-top: 0pt; }</style>
</head>
<body bidimailui-charset-is-forced="true" style="direction: ltr;">
<font size="4"><font face="Consolas">Hello, all.<br>
<br>
I am trying to start the debugger in the new 5.11.230401
(23.04.1) version of kdevelop.<br>
<br>
The target configuration is as following:<br>
Executable: /opt/5728.Kernel/vmlinux<br>
Arguments:<br>
Working directory: /opt/5728.Kernel<br>
Environment: default<br>
<br>
and debug configuration:<br>
Debugger executable:<br>
Shell script: /opt/5728.Kernel/rungdb<br>
and all the rest fields are empty.<br>
<br>
And my rungdb script looks as:<br>
</font></font><font size="4"><font face="Consolas"><span
style="font-family:monospace"><span
style="color:#000000;background-color:#ffffff;">#!/bin/bash
</span><br>
cp rungdb rungdbbbbbbbbbb <br>
export
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/opt/ti-processor-sdk-linux-rt-am57xx-evm-08_02_00_04/linux-devkit/sysroots/x86_64-arago-linux/lib/<br>
./gdb --command=gdbinitfile<br>
<br>
</span>The line with cp is to have some indication that this
script was called. <br>
And it is not called - running kdevelop from the command line I
see:<br>
</font></font><br>
<font size="4"><font face="Consolas"><span
style="font-family:monospace"><span
style="color:#000000;background-color:#ffffff;">kdevelop.plugins.debuggercommon:
Debugger ERRORED QProcess::WriteError "Error writing to
process" </span><br>
kdevplatform.shell: process finished with error:
QProcess::WriteError "Error writing to process", the command
line: "/opt/5728.Kernel/rungdb gdb --interpreter=mi2 -quiet"<br>
<br>
Simply running rungdb script from the command line works fine.<br>
<br>
Please, where is my problem?<br>
<br>
Thanks a lot ahead<br>
</span></font></font>--<br>
Leon<br>
</body>
</html>