Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

undodb-gdb not supported #172

Closed
FelipeLema opened this issue Mar 16, 2017 · 3 comments
Closed

undodb-gdb not supported #172

FelipeLema opened this issue Mar 16, 2017 · 3 comments

Comments

@FelipeLema
Copy link
Contributor

IIRC undodb-gdb has more line commands (undodb-get-n,undodb-goto-n...) and a different prompt ((undodb-gdb)).

If you can point me out on what needs to be changed, I can do it myself. I tried but I didn't understand the hash getting/setting for a certain debugger. Can realgud:gdb be extended for undodb-gdb or does it need its own debugger folder?

Thanks

@rocky
Copy link
Collaborator

rocky commented Mar 16, 2017

It looks like undo-gdb is really a different debugger although based on (if not an extension of) gdb, so we shouldn't try to extend realgud's gdb to cover this but use another thing. We do the same thing for say Python extensions to the stock python debugger pdb, e.g. ipdb.

The code is also proprietary which means not everyone will be able to use it, and since right now it isn't something that is mainstream popular (however it is cool), I think it really should be in a separate repository. By the way this also helps keep down realgud's current bloat.

https://github.com/realgud/realgud/wiki/How-to-add-a-new-debugger has info on adding a new debugger inside the existing realgud. I don't have instructions for what to do in this kind of situation where we want to add a new git repository, but it's not too bad. Take an existing project like realgud-lldb fork that changing it to realgud-undo-gdb and then start modifying the code starting with gdb from the reagud project.

@FelipeLema
Copy link
Contributor Author

I ended up basing off gdb

@rocky
Copy link
Collaborator

rocky commented Apr 5, 2017

That's most of the way there then. I've created a new repository realgud-undo-gdb and you should have an invitation to become a collaborator (e.g. writer to that repository).

As mentioned before, realgud is just too large and undo-gdb isn't freely available. So a separate repository is the best way to handle for now.

@rocky rocky closed this as completed May 21, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants