Replies: 2 comments
-
This could very well be related to baseline GDB RSP semantics, as opposed to anything If your Alternatively, you can see if there are some client-side changes you can make to get it to send you the info you're interested in. Aside from those generic pointers, I'm afraid I don't have any concrete hints to give here 😅 |
Beta Was this translation helpful? Give feedback.
-
No, it's not sending it over. I reviewed logs & gdb logs, and data is not around. If I find the way I'll add a comment here :-) Regards |
Beta Was this translation helpful? Give feedback.
-
Is there any way to get the default program path using gdbstub?
In the ExtendedMode, there is
run
method, but filename is only present if it's not the default program.https://docs.rs/gdbstub/latest/gdbstub/target/ext/extended_mode/trait.ExtendedMode.html#tymethod.run
I would like to implement "load" command, I have a POC with
monitor load elf.path
, but I would like to avoid the filename in the gdb config if it's possible, but getting the default program path sems impossible, or I do not find the way.To clarify:
I would like to get the
./target/program.elf
inside the monitorCmd trait.Any hint?
Beta Was this translation helpful? Give feedback.
All reactions