From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8389 invoked by alias); 10 Mar 2010 18:48:17 -0000 Received: (qmail 8310 invoked by uid 22791); 10 Mar 2010 18:48:14 -0000 X-SWARE-Spam-Status: No, hits=-2.5 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from sibelius.xs4all.nl (HELO glazunov.sibelius.xs4all.nl) (83.163.83.176) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 10 Mar 2010 18:48:10 +0000 Received: from glazunov.sibelius.xs4all.nl (kettenis@localhost [127.0.0.1]) by glazunov.sibelius.xs4all.nl (8.14.3/8.14.3) with ESMTP id o2AIm5b6020920; Wed, 10 Mar 2010 19:48:05 +0100 (CET) Received: (from kettenis@localhost) by glazunov.sibelius.xs4all.nl (8.14.3/8.14.3/Submit) id o2AIm4GW030799; Wed, 10 Mar 2010 19:48:04 +0100 (CET) Date: Wed, 10 Mar 2010 18:48:00 -0000 Message-Id: <201003101848.o2AIm4GW030799@glazunov.sibelius.xs4all.nl> From: Mark Kettenis To: pierre.muller@ics-cnrs.unistra.fr CC: gdb-patches@sourceware.org In-reply-to: <002901cac075$1f8f44b0$5eadce10$@muller@ics-cnrs.unistra.fr> (pierre.muller@ics-cnrs.unistra.fr) Subject: Re: [PING] [RFC-v3] Add windows Thread Information Block References: <000901c9f5ef$4ee06f10$eca14d30$@u-strasbg.fr> <20090626155254.GA15627@caradoc.them.org> <001f01c9fa5a$0e1297f0$2a37c7d0$@u-strasbg.fr> <831vp047u8.fsf@gnu.org> <20090701180419.GA8152@ednor.casa.cgf.cx> <003a01c9fbf8$f3e91610$dbbb4230$@u-strasbg.fr> <20090703194220.GA30668@ednor.casa.cgf.cx> <002901cac075$1f8f44b0$5eadce10$@muller@ics-cnrs.unistra.fr> Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2010-03/txt/msg00393.txt.bz2 > From: "Pierre Muller" > Date: Wed, 10 Mar 2010 18:14:19 +0100 > > Despite all my efforts, > I never managed to get advices on the non-windows part of > this patch :( Which non-windows part of this patch? > 2009-07-03 Pierre Muller > > * windows-nat.c (thread_info): Add THREAD_LOCAL_BASE field. > (windows_add_thread): Add TLB argument of type 'void *'. > (fake_create_process): Adapt windows_add_thread call. > (get_windows_debug_event): Idem. > (windows_xfer_partial): Handle TARGET_OBJECT_OSDATA type. > (_initialize_windows_nat): Replace info_w32_cmdlist > initialization by a call to init_w32_command_list. > (info_w32_command, info_w32_cmdlist): Removed from here... > to windows-tdep.c file. > * windows-tdep.h (info_w32_cmdlist): Declare. > (init_w32_command_list): New external function > declaration. > * windows-tdep.c: Add several headers. > (info_w32_cmdlist): to here, made global. > (thread_information_32): New struct. > (thread_information_64): New struct. > (TIB_NAME): New char array. > (MAX_TIB32, MAX_TIB64, FULL_TIB_SIZE): New constants. > (maint_display_all_tib): New static variable. > (windows_get_tlb_type): New function. > (tlb_value_read, tlb_value_write): New functions. > (tlb_value_funcs): New static struct. > (tlb_make_value): New function. > (display_one_tib): New function. > (display_tib): New function. > (info_w32_command): Moved from windows-nat.c. > (init_w32_command_list): New function. > (_initialize_windows_tdep): New function. > New "maint set/show show-all-tib" command > New "$_tlb" internal variable. > > gdbserver/ChangeLog entry: > > 2009-07-01 Pierre Muller > > * gdbserver/win32-low.h (win32_thread_info): Add THREAD_LOCAL_BASE > field. > * gdbserver/win32-low.c (child_add_thread): Add TLB argument. > (get_child_debug_event): Adapt to child_add_thread change. > (win32_qxfer_osdata): New function. > (win32_target_op): Set qxfer_osdata field to win32_qxfer_osdata.