This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

ds5: load a programm file and script is not possible from dos command line?

Hi,

I am not able to connect to a debugger and load a ds script and a elf image in the same command.

I understand  this is possible to use the loadfile command from the script, but  I would like to have a generic script that's works with hundredsof elf files (regressions scripts).

So

debugger --cdb-root xxx  --cdb-entry "yyyy " --cdb-entry-param "Connection=TCP:zzzzz--script=my_script.ds

with a load file from the script is ok

but if I want to do

debugger --cdb-root xxx  --cdb-entry "yyyy " --cdb-entry-param "Connection=TCP:zzzzz--script=my_script.ds --image=myelf.elf

The image sounds not to be loaded, since if I issue a command such as info functions I have nothing displayed.

With the newest DS-% v5.27 version, issue is still here.
I have tried the new feature to connect using the launch configuration cli file, but the result is unfortunatly the same.

Any clue?

thanks

claude

Parents
  • Hi Stuart,

    So the example fireworks works for me also.
    Looking more carefully at how the parameters are called, I saw I tried to load the script before the elf image. By interverting the order, it happens to work.
    So it sounds mandatory to load the image and then the script.
    thanks for your help
    claude
Reply
  • Hi Stuart,

    So the example fireworks works for me also.
    Looking more carefully at how the parameters are called, I saw I tried to load the script before the elf image. By interverting the order, it happens to work.
    So it sounds mandatory to load the image and then the script.
    thanks for your help
    claude
Children