gdb - Workaround to enable debugging in vkernels.
authorAntonio Huete Jimenez <tuxillo@quantumachine.net>
Mon, 2 Nov 2015 16:35:26 +0000 (17:35 +0100)
committerAntonio Huete Jimenez <tuxillo@quantumachine.net>
Mon, 2 Nov 2015 18:17:32 +0000 (19:17 +0100)
commitd84c7e63d039362829fa042bbcff8e6d5dfe15f2
tree883865e6c5f67b298c54398d8244fb37db4f661b
parent7cc1e87b157bd0b53ef6214034ac99cfecc444a2
gdb - Workaround to enable debugging in vkernels.

- Currently vkernel(7) does not have support for PT_GETDBREGS/PT_SETDBREGS
  via ptrace(2) so conditionalize gdb initialization code to make a special
  case for vkernels.
contrib/gdb-7/gdb/amd64dfly-nat.c