-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Gdb server #2168 #2333
Gdb server #2168 #2333
Commits on Feb 18, 2021
-
GDB server: Add gdb server skeleton
Signed-off-by: Marius-Cristian Baciu <baciumar@amazon.com>
Configuration menu - View commit details
-
Copy full SHA for 6e30e47 - Browse repository at this point
Copy the full SHA 6e30e47View commit details -
GDB server: Add PoC for the address translation
Signed-off-by: Marius-Cristian Baciu <baciumar@amazon.com>
Configuration menu - View commit details
-
Copy full SHA for ebb4e09 - Browse repository at this point
Copy the full SHA ebb4e09View commit details -
GDB server: Add initial implementation
This provides support for breakpoints Signed-off-by: Marius-Cristian Baciu <baciumar@amazon.com>
Configuration menu - View commit details
-
Copy full SHA for a9904d7 - Browse repository at this point
Copy the full SHA a9904d7View commit details -
The KVM_SET_GUEST_DEBUG ioctl enables the handling of a trap signal, generated when execution reaches a breakpoint or single-stepping is enabled. An alternative to this seccomp rule would be requiring the execution of the guest under GDB to be performed with seccomp disabled Signed-off-by: Marius-Cristian Baciu <baciumar@amazon.com>
Configuration menu - View commit details
-
Copy full SHA for 97a620d - Browse repository at this point
Copy the full SHA 97a620dView commit details -
GDB server: Refactor initial implementation
Improve readability, define proper error types and add support for early-boot virtual address access Signed-off-by: Marius-Cristian Baciu <baciumar@amazon.com>
Configuration menu - View commit details
-
Copy full SHA for 978d581 - Browse repository at this point
Copy the full SHA 978d581View commit details -
GDB server: Solve address translation bug
Cases in which PDPTE's PS flag would be 1 or PDE's PS flag would be 0 were not properly treated. This problem only manifested itself later in the boot process (e.g., register_virtio_device for a stack address) Signed-off-by: Marius-Cristian Baciu <baciumar@amazon.com>
Configuration menu - View commit details
-
Copy full SHA for c9a274f - Browse repository at this point
Copy the full SHA c9a274fView commit details -
GDB server: Alter address-translation approach
Removed the option of setting breakpoints at linear addresses in early boot. The support for it contained a work-around and not all inconsistencies at the client could have been solved on the server side (e.g.: "info breakpoints" would not display such a breakpoint as "hit" when it was the case). Signed-off-by: Marius-Cristian Baciu <baciumar@amazon.com>
Configuration menu - View commit details
-
Copy full SHA for f7d6325 - Browse repository at this point
Copy the full SHA f7d6325View commit details -
GDB server: Add command-line option for GDB
Specifying the --debugger argument will enable GDB guest debugging for the current session; not specifying it leads to normal execution Signed-off-by: Marius-Cristian Baciu <baciumar@amazon.com>
Configuration menu - View commit details
-
Copy full SHA for aec2890 - Browse repository at this point
Copy the full SHA aec2890View commit details -
Signed-off-by: Marius-Cristian Baciu <baciumar@amazon.com>
Configuration menu - View commit details
-
Copy full SHA for ce170b3 - Browse repository at this point
Copy the full SHA ce170b3View commit details -
GDB server: Update tests impacted by changes
Adding a "debugger_enabled" argument to some public functions impacted some unit and integration tests Signed-off-by: Marius-Cristian Baciu <baciumar@amazon.com>
Configuration menu - View commit details
-
Copy full SHA for a760af8 - Browse repository at this point
Copy the full SHA a760af8View commit details -
Change virt_to_phys() function signature so that it only receives the data it actually needs Signed-off-by: Marius-Cristian Baciu <baciumar@amazon.com>
Configuration menu - View commit details
-
Copy full SHA for 8598e4c - Browse repository at this point
Copy the full SHA 8598e4cView commit details -
GDB server: Add unittest for virt_to_phys()
This unittest verifies the virtual-to-physical address translation is properly performed in the early boot process of a kernel Signed-off-by: Marius-Cristian Baciu <baciumar@amazon.com>
Configuration menu - View commit details
-
Copy full SHA for b84ca0b - Browse repository at this point
Copy the full SHA b84ca0bView commit details -
Update start of debugging session mechanism
Before, a target remote command would start the guest VM and would let it wait at the entry point. This commit offers the user the responsibility of issuing a continue command in the beginning so that the VM starts and executes until reaching the entry point. This is also aligned with the practice used in IDEs of starting the debugging process with a default continue. Signed-off-by: Marius-Cristian Baciu <baciumar@amazon.com>
Configuration menu - View commit details
-
Copy full SHA for 024d29e - Browse repository at this point
Copy the full SHA 024d29eView commit details -
Add comments, remove magic numbers, etc. Also, add support for setting multiple registers Signed-off-by: Marius-Cristian Baciu <baciumar@amazon.com>
Configuration menu - View commit details
-
Copy full SHA for 3d02fee - Browse repository at this point
Copy the full SHA 3d02feeView commit details -
This update allows for connection on any host interface and on a port that is easily accessible for a EC2 host Signed-off-by: Marius-Cristian Baciu <baciumar@amazon.com>
Configuration menu - View commit details
-
Copy full SHA for dcffe1d - Browse repository at this point
Copy the full SHA dcffe1dView commit details -
Update code according to style tests checks
Signed-off-by: Marius-Cristian Baciu <baciumar@amazon.com>
Configuration menu - View commit details
-
Copy full SHA for 327b9ac - Browse repository at this point
Copy the full SHA 327b9acView commit details -
Address small review comments and run cargo fmt
Add a few code comments and fix some minor code style issues Signed-off-by: Marius-Cristian Baciu <baciumar@amazon.com>
Configuration menu - View commit details
-
Copy full SHA for b62deb4 - Browse repository at this point
Copy the full SHA b62deb4View commit details -
Signed-off-by: Marius-Cristian Baciu <baciumar@amazon.com>
Configuration menu - View commit details
-
Copy full SHA for 314ea4b - Browse repository at this point
Copy the full SHA 314ea4bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 82189a3 - Browse repository at this point
Copy the full SHA 82189a3View commit details
Commits on Feb 23, 2021
-
Rebase and resolve merge conflicts
Signed-off-by: kumargu <kumargu@amazon.com>
Configuration menu - View commit details
-
Copy full SHA for ccfb398 - Browse repository at this point
Copy the full SHA ccfb398View commit details -
Signed-off-by: kumargu <kumargu@amazon.com>
Configuration menu - View commit details
-
Copy full SHA for 84e2296 - Browse repository at this point
Copy the full SHA 84e2296View commit details -
Replace struct_util with ByteValued
Signed-off-by: kumargu <kumargu@amazon.com>
Configuration menu - View commit details
-
Copy full SHA for abaeb9e - Browse repository at this point
Copy the full SHA abaeb9eView commit details -
Configuration menu - View commit details
-
Copy full SHA for cbff1f1 - Browse repository at this point
Copy the full SHA cbff1f1View commit details -
Signed-off-by: kumargu <kumargu@amazon.com>
Configuration menu - View commit details
-
Copy full SHA for 192bc85 - Browse repository at this point
Copy the full SHA 192bc85View commit details
Commits on Aug 3, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 5e973ea - Browse repository at this point
Copy the full SHA 5e973eaView commit details
Commits on Aug 17, 2021
-
Configuration menu - View commit details
-
Copy full SHA for e946840 - Browse repository at this point
Copy the full SHA e946840View commit details