Re: [KDbg-l] Command line option to specify debugger/arguments
Brought to you by:
j6t
From: Johannes S. <j6...@kd...> - 2017-08-03 09:55:07
|
Am 27.07.2017 um 07:01 schrieb Stuart Longland: > Hi all, > > Silly question, is there a way to specify the debugger on the command > line? Reasoning, at present I use `ddd`, sometimes I'll be using it > with the host's `gdb`, sometimes it'll be `gdb` for an embedded target. > > `ddd` supports this, I can simplify things by sourcing a script like this: >> ddd () { >> /usr/bin/ddd --gdb --debugger /usr/bin/arm-none-eabi-gdb --eval-command="target remote localhost:3333" --eval-command="monitor reset init" "$@" >> } > > Looking at kdbg, it doesn't seem to support it. No, you can't specify the debugger on the command line, sorry. Patches welcome. -- Hannes |