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

Core GDB #49

Open
BaranovMykola opened this issue Apr 14, 2017 · 0 comments
Open

Core GDB #49

BaranovMykola opened this issue Apr 14, 2017 · 0 comments

Comments

@BaranovMykola
Copy link
Contributor

BaranovMykola commented Apr 14, 2017

Create class to work with GDB. This class have to provide basics functionality to work with most of GDB functionality.

Class must have following:

  • Open some project (set target exec, file, etc.)
  • Write commands to GDB and receive respond
  • Catch errors from GDB
  • Start target program, step in\out\over
  • Parse all local variables
  • Set breakpoints
  • Give type/content of given variable
  • Set/Delete breakpoint
  • Give list of all breakpoints
  • Terminate executing target program
  • Terminate executing GDB and target program

It's very convenient to use some extra classes: Breakpoint and Variable.
Breakpoint must contains type, line, function and enabled properties.

Variable must contains name, type and content. Also, Variable class must provides some functionality to parse nested structs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant