Removing libedit dependency for LLGS

Hi all,

I’m in the middle of trying to build LLGS with static linking and ported over to Android. One big issue I’m currently facing is that IOHandler and CommandInterpreter rely on libedit. While LLGS does not need them, they are heavily used by the Debugger which is needed by LLGS.

Since Android NDK does not provide libedit, I’m interested to decouple IOHandler and CommandInterpreter from the Debugger. What would be the preferred way or suggestion to do so?

  • Convert to an interface and allow it to be null?
  • Convert to an interface, implement it as a dummy no-op for the use case of LLGS?
  • Something else?
    Thanks.

Can we proceed in the opposite direction and ask what stuff you actually NEED from the Debugger for llgs? Instead of hacking parts of the Debugger out, it might be easier to figure out what you need and have that be it's own class that the Debugger uses, and then that you can make without having to bring up the full Debugger.

Jim

Instead of hacking parts of the Debugger out, it might be easier to figure out what you need and have that be it’s own class that the Debugger uses, and then that you can make without having to bring up the full Debugger.

I’ll dig into that with Andy and we’ll get back.

Thanks!

-Todd