git: gdb - Workaround to enable debugging in vkernels.

Antonio Huete Jimenez tuxillo at crater.dragonflybsd.org
Mon Nov 2 10:22:28 PST 2015


commit d84c7e63d039362829fa042bbcff8e6d5dfe15f2
Author: Antonio Huete Jimenez <tuxillo at quantumachine.net>
Date:   Mon Nov 2 17:35:26 2015 +0100

    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.

Summary of changes:
 contrib/gdb-7/gdb/amd64dfly-nat.c | 43 +++++++++++++++++++++++++++++++--------
 1 file changed, 35 insertions(+), 8 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/d84c7e63d039362829fa042bbcff8e6d5dfe15f2


-- 
DragonFly BSD source repository



More information about the Commits mailing list