This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: PING: PATCH: Enable x86 XML target descriptions


On Sun, Feb 28, 2010 at 10:51 AM, Daniel Jacobowitz
<dan@codesourcery.com> wrote:
> On Sun, Feb 28, 2010 at 07:40:43AM -0800, H.J. Lu wrote:
>> Are there any comments/suggestions for my latest patch:
>>
>> http://sourceware.org/ml/gdb-patches/2010-02/msg00556.html
>>
>> to enable XML for x86?
>
> I was waiting for you to respond to my question about flag registers.

See:

http://sourceware.org/ml/gdb-patches/2010-02/msg00560.html
http://sourceware.org/ml/gdb-patches/2010-02/msg00564.html

> The discussion trailed off in the discussion about the CS value.
> Is that patch still applicable?
>

Linux x86 kernel maintainer, Peter, has confirmed that checking
CS segment register value is the proper way to use ptrace to
check 32bit process under the current 64bit kernel.  There will be
a new ptrace option in 2.6.35 kernel to return the CS.L bit directly.
I will submit a gdb patch to try the new ptrace option first before
failing back checking the CS  segment register value.


-- 
H.J.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]