[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <8dbbb971-fc41-fba2-f356-931a7eabe6ef@zytor.com>
Date: Fri, 19 May 2017 13:59:38 -0700
From: "H. Peter Anvin" <hpa@...or.com>
To: Josh Poimboeuf <jpoimboe@...hat.com>, linux-kernel@...r.kernel.org
Cc: Jiri Slaby <jslaby@...e.cz>,
Andrew Morton <akpm@...ux-foundation.org>,
live-patching@...r.kernel.org,
Thomas Gleixner <tglx@...utronix.de>,
Ingo Molnar <mingo@...hat.com>,
the arch/x86 maintainers <x86@...nel.org>,
Andy Lutomirski <luto@...nel.org>,
Jiri Kosina <jikos@...nel.org>,
Linus Torvalds <torvalds@...ux-foundation.org>
Subject: Re: [PATCH 7/7] DWARF: add the config option
On 05/19/17 13:53, Josh Poimboeuf wrote:
>
> Here's the struct in its current state:
>
> #define UNDWARF_REG_UNDEFINED 0
> #define UNDWARF_REG_CFA 1
> #define UNDWARF_REG_SP 2
> #define UNDWARF_REG_FP 3
> #define UNDWARF_REG_SP_INDIRECT 4
> #define UNDWARF_REG_FP_INDIRECT 5
> #define UNDWARF_REG_R10 6
> #define UNDWARF_REG_DI 7
> #define UNDWARF_REG_DX 8
>
Why only those registers? Also, if you have the option I would really
suggest using the actual x86 register numbers (ax, ex, dx, bx, sp, bp,
si, di, r8-r15 in that order.)
-hpa
Powered by blists - more mailing lists