X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=gdb%2Fgdb_proc_service.h;h=67011dfc8ea4b9d74be8c0f744dd1e3a9ed976df;hb=dfb88a23362dcc3945486656dc6f9870bdce7519;hp=e77cdf6cd806b22f3e51eaccd369318a52501648;hpb=110be7c974fa48040bd00ed8a7b154cca1ba8cb3;p=deliverable%2Fbinutils-gdb.git diff --git a/gdb/gdb_proc_service.h b/gdb/gdb_proc_service.h index e77cdf6cd8..67011dfc8e 100644 --- a/gdb/gdb_proc_service.h +++ b/gdb/gdb_proc_service.h @@ -1,11 +1,11 @@ /* replacement for systems that don't have it. - Copyright 2000 Free Software Foundation, Inc. + Copyright (C) 2000, 2007, 2008, 2009, 2010 Free Software Foundation, Inc. This file is part of GDB. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or + the Free Software Foundation; either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, @@ -14,9 +14,7 @@ GNU General Public License for more details. You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, - Boston, MA 02111-1307, USA. */ + along with this program. If not, see . */ #ifndef GDB_PROC_SERVICE_H #define GDB_PROC_SERVICE_H @@ -48,10 +46,8 @@ typedef enum typedef unsigned int lwpid_t; #endif -typedef unsigned long paddr_t; - #ifndef HAVE_PSADDR_T -typedef unsigned long psaddr_t; +typedef void *psaddr_t; #endif #ifndef HAVE_PRGREGSET_T @@ -79,8 +75,8 @@ typedef prfpregset_t gdb_prfpregset_t; /* Structure that identifies the target process. */ struct ps_prochandle { - /* The process id is all we need. */ - pid_t pid; + /* The LWP we use for memory reads. */ + ptid_t ptid; }; #endif /* gdb_proc_service.h */