From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5737 invoked by alias); 26 Sep 2012 14:05:24 -0000 Received: (qmail 5724 invoked by uid 22791); 26 Sep 2012 14:05:23 -0000 X-SWARE-Spam-Status: No, hits=-3.9 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,KHOP_RCVD_TRUST,RCVD_IN_DNSWL_LOW,RCVD_IN_HOSTKARMA_YE,TW_GD X-Spam-Check-By: sourceware.org Received: from mail-qa0-f41.google.com (HELO mail-qa0-f41.google.com) (209.85.216.41) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 26 Sep 2012 14:05:10 +0000 Received: by qatp27 with SMTP id p27so3985826qat.0 for ; Wed, 26 Sep 2012 07:05:10 -0700 (PDT) MIME-Version: 1.0 Received: by 10.224.190.2 with SMTP id dg2mr2253921qab.51.1348668310082; Wed, 26 Sep 2012 07:05:10 -0700 (PDT) Received: by 10.49.81.146 with HTTP; Wed, 26 Sep 2012 07:05:09 -0700 (PDT) Date: Wed, 26 Sep 2012 14:05:00 -0000 Message-ID: Subject: a segment selector is a index in gdt or offset in bytes from gdt base address? From: John Smith To: gdb Content-Type: text/plain; charset=ISO-8859-1 X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2012-09/txt/msg00073.txt.bz2 hi, as a instruction here: ljmp *address , the address gives a segment selector which is used to address the segment descriptor, if the selector is x , the descriptor is gdt+x or *(&gdt+x) ? thanks!