Hi Guys, Thanks for the interest in the xen hypervisor debugger, prev known as kdb. Btw. I''m gonna rename it to xdb for xen-debugger or hdb for hypervisor debugger. KDB is confusing people with linux kdb debugger and I often get emails where people think they need to apply linux kdb patch also... Anyways, attaching patch that is cleaned up of my debug code that I accidentally left in prev posting. Should apply cleanly to c/s 25467. JFYI... http://xenbits.xen.org/ext/debuggers.hg/ has gotten outdated, I wasn''t sure if anyone was even looking at it. But, it looks like there is much interest, so I will just submit patch to Keir for his feedback on merging it in xen. Please voice your opinion here. Good seeing all at the summit :). Thanks, Mukesh
On Wed, 29 Aug 2012 14:35:12 -0700 Mukesh Rathor <mukesh.rathor@oracle.com> wrote:> > Anyways, attaching patch that is cleaned up of my debug code that I > accidentally left in prev posting. Should apply cleanly to c/s 25467.really attaching this time :). _______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel
On 29/08/2012 22:35, "Mukesh Rathor" <mukesh.rathor@oracle.com> wrote:> Hi Guys, > > Thanks for the interest in the xen hypervisor debugger, prev known as > kdb. Btw. I''m gonna rename it to xdb for xen-debugger or hdb for > hypervisor debugger. KDB is confusing people with linux kdb debugger > and I often get emails where people think they need to apply linux kdb > patch also... > > Anyways, attaching patch that is cleaned up of my debug code that I > accidentally left in prev posting. Should apply cleanly to c/s 25467. > > JFYI... http://xenbits.xen.org/ext/debuggers.hg/ has gotten outdated, > I wasn''t sure if anyone was even looking at it. But, it looks like > there is much interest, so I will just submit patch to Keir for > his feedback on merging it in xen. > > Please voice your opinion here. Good seeing all at the summit :).Split off the support bits you need scattered into Xen from the main bulk of the debugger. Then we can review and apply those trickiest bits first. -- Keir> Thanks, > Mukesh > > > > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xen.org > http://lists.xen.org/xen-devel
FYI - I applied this against the tip, and turned it on (and debug off) - but I get link errors: ld -melf_x86_64 -T xen.lds -N prelink.o \ /data/home/bguthro/dev/orc-newdev.git/orc-xen/xen-4.2/xen/common/symbols-dummy.o -o /data/home/bguthro/dev/orc-newdev.git/orc-xen/xen-4.2/xen/.xen-syms.0 prelink.o: In function `kdb_cmdf_f'': /data/home/bguthro/dev/orc-newdev.git/orc-xen/xen-4.2/xen/kdb/kdb_cmds.c:510: undefined reference to `show_trace'' /data/home/bguthro/dev/orc-newdev.git/orc-xen/xen-4.2/xen/kdb/kdb_cmds.c:510:(.text+0x11f6b9): relocation truncated to fit: R_X86_64_PC32 against undefined symbol `show_trace'' ld: /data/home/bguthro/dev/orc-newdev.git/orc-xen/xen-4.2/xen/.xen-syms.0: hidden symbol `show_trace'' isn''t defined ld: final link failed: Bad value make[5]: *** [/data/home/bguthro/dev/orc-newdev.git/orc-xen/xen-4.2/xen/xen-syms] Error 1 make[5]: Leaving directory `/data/home/bguthro/dev/orc-newdev.git/orc-xen/xen-4.2/xen/arch/x86'' make[4]: *** [/data/home/bguthro/dev/orc-newdev.git/orc-xen/xen-4.2/xen/xen] Error 2 On Wed, Aug 29, 2012 at 5:41 PM, Mukesh Rathor <mukesh.rathor@oracle.com> wrote:> On Wed, 29 Aug 2012 14:35:12 -0700 > Mukesh Rathor <mukesh.rathor@oracle.com> wrote: > > >> >> Anyways, attaching patch that is cleaned up of my debug code that I >> accidentally left in prev posting. Should apply cleanly to c/s 25467. > > really attaching this time :). >
On Wed, 5 Sep 2012 12:02:13 -0400 Ben Guthro <ben@guthro.net> wrote:> FYI - I applied this against the tip, and turned it on (and debug off) > - but I get link errors: > > ld -melf_x86_64 -T xen.lds -N prelink.o \ > /data/home/bguthro/dev/orc-newdev.git/orc-xen/xen-4.2/xen/common/symbols-dummy.o > -o /data/home/bguthro/dev/orc-newdev.git/orc-xen/xen-4.2/xen/.xen-syms.0 > prelink.o: In function `kdb_cmdf_f'': > /data/home/bguthro/dev/orc-newdev.git/orc-xen/xen-4.2/xen/kdb/kdb_cmds.c:510: > undefined reference to `show_trace'' > /data/home/bguthro/dev/orc-newdev.git/orc-xen/xen-4.2/xen/kdb/kdb_cmds.c:510:(.text+0x11f6b9): > relocation truncated to fit: R_X86_64_PC32 against undefined symbol > `show_trace'' > ld: /data/home/bguthro/dev/orc-newdev.git/orc-xen/xen-4.2/xen/.xen-syms.0: > hidden symbol `show_trace'' isn''t defined > ld: final link failed: Bad valueIt''s prob static. Just un-static it :). Missed in patch because we might have it that way here already in our tree. LMK. thanks. Mukesh