[PATCH 1/2] gdbserver-amd64: add HAVE_STRUCT_USER_REGS_STRUCT_(GS|FS)_BASE for gdbserver.

Gary Benson gbenson@redhat.com
Thu Nov 10 12:37:00 GMT 2016


Walfred Tedeschi wrote:
> diff --git a/gdb/gdbserver/configure b/gdb/gdbserver/configure
> index bbce742..376ca9d 100755
> --- a/gdb/gdbserver/configure
> +++ b/gdb/gdbserver/configure
> @@ -7591,6 +7591,32 @@ _ACEOF
>  fi
>  
>  
> +# See if <sys/user.h> supports the %fs_base and %gs_bas amd64 segment registers.
> +# Older amd64 Linux's don't have the fs_base and gs_base members of
> +# `struct user_regs_struct'.

I'd mildly prefer to see these comments wrapped at 72 columns, but
I know the rules are different in autoconf files so please don't
consider this a blocker.

Thanks,
Gary

-- 
http://gbenson.net/



More information about the Gdb-patches mailing list