On Tue, Mar 15, 2016 at 10:00 PM, Martin Lucina <[email protected]> wrote: > Hi all, > > I've managed to find a workaround for the well-known problem of GDB not > being able to debug hw/x86-64 unikernels under QEMU or KVM (see GDB issue > https://sourceware.org/bugzilla/show_bug.cgi?id=13984): >
I was able to get around the issue by start gdb and running the following before anything else (gdb) set architecture i386:x86-64 I am facing another issue though, which is that the line numbers do not match with the source lines when I add breakpoints or list the source within gdb. Is this normal? Additionally, note that the breakpoint does set correctly and control breaks upon expected event, just that I see the wrong source line in gdb. -Neeraj
