[Qt-creator] Remote debugging with GDB-multiarch not sending command line arguments
Eike Ziller
Eike.Ziller at qt.io
Thu Jul 2 08:56:08 CEST 2020
> On Jul 1, 2020, at 22:55, Pablo Rogina <pablojr at gmail.com> wrote:
>
> checking the debugger log output I can see qtcreator is setting this:
> -exec-arguments -platform xcb
>
> but it looks like the proper way is to do this:
> set args -platform xcb
>
> how could I change what qtcreator sends to remote debugger?
> are those variables/commands hard-coded?
> if so, what component source code should I look into?
src/plugins/debugger/gdb/gdbengine.cpp
But the gdb engine used GDB/MI mode (http://sourceware.org/gdb/onlinedocs/gdb/GDB_002fMI.html) where -exec-arguments is correct (see "GDB/MI Program Context” section).
Br, Eike
> Thanks. Pablo
>
> On Mon, Jun 29, 2020 at 6:46 AM Pablo Rogina <pablojr at gmail.com> wrote:
>>
>>>> everything starts Ok but the command line arguments from the run
>>>> configuration aren't used
>>>
>>> How do you know that?
>>
>> Because I can see the application Output pane and the command line
>> arguments don't show up, see my previous post please
> _______________________________________________
> Qt-creator mailing list
> Qt-creator at qt-project.org
> https://lists.qt-project.org/listinfo/qt-creator
--
Eike Ziller
Principal Software Engineer
The Qt Company GmbH
Erich-Thilo-Straße 10
D-12489 Berlin
eike.ziller at qt.io
http://qt.io
Geschäftsführer: Mika Pälsi,
Juha Varelius, Mika Harjuaho
Sitz der Gesellschaft: Berlin, Registergericht: Amtsgericht Charlottenburg, HRB 144331 B
More information about the Qt-creator
mailing list