Module: wine
Branch: master
Commit: cc65d21f8263bb597baa8ad6f85e0f3c2eaa33ef
URL: http://source.winehq.org/git/wine.git/?a=commit;h=cc65d21f8263bb597baa8ad6f…
Author: Eric Pouech <eric.pouech(a)wanadoo.fr>
Date: Wed Nov 29 21:40:30 2006 +0100
dbghelp: Moved mscvpdb.h file to include/wine to allow sharing of the definitions with winedump.
---
dlls/dbghelp/coff.c | 2 +-
dlls/dbghelp/msc.c | 2 +-
{dlls/dbghelp => include/wine}/mscvpdb.h | 14 +++++++-------
3 files changed, 9 insertions(+), 9 deletions(-)
diff --git a/dlls/dbghelp/coff.c b/dlls/dbghelp/coff.c
index 9bdf0bf..340e8a6 100644
--- a/dlls/dbghelp/coff.c
+++ b/dlls/dbghelp/coff.c
@@ -55,7 +55,7 @@
#include "wine/debug.h"
#include "excpt.h"
#include "dbghelp_private.h"
-#include "mscvpdb.h"
+#include "wine/mscvpdb.h"
WINE_DEFAULT_DEBUG_CHANNEL(dbghelp_coff);
diff --git a/dlls/dbghelp/msc.c b/dlls/dbghelp/msc.c
index f336609..7599917 100644
--- a/dlls/dbghelp/msc.c
+++ b/dlls/dbghelp/msc.c
@@ -56,7 +56,7 @@
#include "wine/debug.h"
#include "excpt.h"
#include "dbghelp_private.h"
-#include "mscvpdb.h"
+#include "wine/mscvpdb.h"
WINE_DEFAULT_DEBUG_CHANNEL(dbghelp_msc);
diff --git a/dlls/dbghelp/mscvpdb.h b/include/wine/mscvpdb.h
similarity index 100%
rename from dlls/dbghelp/mscvpdb.h
rename to include/wine/mscvpdb.h
index 1bc2b7b..e59d79e 100644
--- a/dlls/dbghelp/mscvpdb.h
+++ b/include/wine/mscvpdb.h
@@ -29,7 +29,7 @@
* MSVC 2.0 Inclusion in link of debug info (PDB v2)
* MSVC 5.0 Types are 24 bits (instead of 16 for <= 4.x)
* MSVC x.0 PDB (change in internal streams layout)
- *
+ *
* .DBG Contains COFF, FPO and Codeview info
* .PDB New format for debug info (information is
* derived from Codeview information)
@@ -39,14 +39,14 @@
* Debug information can either be found in the debug section of a PE
* module (in something close to a .DBG file), or the debug section
* can actually refer to an external file, which can be in turn,
- * either a .DBG or .PDB file.
+ * either a .DBG or .PDB file.
*
* Regarding PDB files:
* -------------------
* They are implemented as a set of internal files (as a small file
* system). The file is split into blocks, an internal file is made
* of a set of blocks. Internal files are accessed through
- * numbers. For example,
+ * numbers. For example,
* 1/ is the ROOT (basic information on the file)
* 2/ is the Symbol information (global symbols, local variables...)
* 3/ is the Type internal file (each the symbols can have type
@@ -68,7 +68,7 @@
* evolutions:
* - the first flavor (suffixed by V1 in this file), where the types
* and subtypes are 16 bit entities; and where strings are in Pascal
- * format (first char is their length and are not 0 terminated)
+ * format (first char is their length and are not 0 terminated)
* - the second flavor (suffixed by V2) differs from first flavor with
* types and subtypes as 32 bit entities. This forced some
* reordering of fields in some types
@@ -77,7 +77,7 @@
* length prefixed)
* The different flavors can coexist in the same file (is this really
* true ??)
- *
+ *
* For the evolution of types, the need of the second flavor was the
* number of types to be defined (limited to 0xFFFF, including the C
* basic types); the need of the third flavor is the increase of
@@ -88,7 +88,7 @@
* disk because:
* - some integral values are stored as numeric leaf, which size is
* variable depending on its value
- *
+ *
* Symbols internal stream
* -----------------------
* Here also we find three flavors (that we've suffixed with _V1, _V2
@@ -377,7 +377,7 @@ union codeview_reftype
unsigned char bitoff;
unsigned short type;
} bitfield_v1;
-
+
struct
{
unsigned short int len;
Module: wine
Branch: master
Commit: 80b09ccf4cf868d5690760020eadc16e673aaf9c
URL: http://source.winehq.org/git/wine.git/?a=commit;h=80b09ccf4cf868d5690760020…
Author: Eric Pouech <eric.pouech(a)wanadoo.fr>
Date: Wed Nov 29 21:40:08 2006 +0100
winedump: Header file pe.h is useless, get rid of it.
---
tools/winedump/debug.c | 1 -
tools/winedump/dump.c | 1 -
tools/winedump/pe.c | 1 -
tools/winedump/pe.h | 24 ------------------------
tools/winedump/winedump.h | 5 ++++-
5 files changed, 4 insertions(+), 28 deletions(-)
diff --git a/tools/winedump/debug.c b/tools/winedump/debug.c
index 3ada5eb..4ce09c8 100644
--- a/tools/winedump/debug.c
+++ b/tools/winedump/debug.c
@@ -44,7 +44,6 @@
#include "windef.h"
#include "winbase.h"
#include "winedump.h"
-#include "pe.h"
#include "cvinclude.h"
/*
diff --git a/tools/winedump/dump.c b/tools/winedump/dump.c
index aa4d58d..21ff22a 100644
--- a/tools/winedump/dump.c
+++ b/tools/winedump/dump.c
@@ -44,7 +44,6 @@
#include "windef.h"
#include "winbase.h"
#include "winedump.h"
-#include "pe.h"
static void* dump_base;
static unsigned long dump_total_len;
diff --git a/tools/winedump/pe.c b/tools/winedump/pe.c
index 210b100..080fb42 100644
--- a/tools/winedump/pe.c
+++ b/tools/winedump/pe.c
@@ -44,7 +44,6 @@
#include "windef.h"
#include "winbase.h"
#include "winedump.h"
-#include "pe.h"
static const IMAGE_NT_HEADERS32* PE_nt_headers;
diff --git a/tools/winedump/pe.h b/tools/winedump/pe.h
deleted file mode 100644
index c564174..0000000
--- a/tools/winedump/pe.h
+++ /dev/null
@@ -1,24 +0,0 @@
-/*
- * PE dumping utility
- *
- * Copyright 2001 Eric Pouech
- *
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Lesser General Public
- * License as published by the Free Software Foundation; either
- * version 2.1 of the License, or (at your option) any later version.
- *
- * This library is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this library; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
- */
-
-extern void dump_codeview(unsigned long ptr, unsigned long len);
-extern void dump_coff(unsigned long coffbase, unsigned long len, const void* sect_map);
-extern void dump_frame_pointer_omission(unsigned long base, unsigned long len);
-
diff --git a/tools/winedump/winedump.h b/tools/winedump/winedump.h
index aa257f3..d4aea07 100644
--- a/tools/winedump/winedump.h
+++ b/tools/winedump/winedump.h
@@ -244,7 +244,10 @@ void lib_dump( const char *li
void dbg_dump( void );
void pe_dump( void );
-void dump_stabs(const void* pv_stabs, unsigned szstabs, const char* stabstr, unsigned szstr);
+void dump_stabs(const void* pv_stabs, unsigned szstabs, const char* stabstr, unsigned szstr);
+void dump_codeview(unsigned long ptr, unsigned long len);
+void dump_coff(unsigned long coffbase, unsigned long len, const void* sect_map);
+void dump_frame_pointer_omission(unsigned long base, unsigned long len);
FILE *open_file (const char *name, const char *ext, const char *mode);
Module: wine
Branch: master
Commit: afe309b7d96504f011cf203ceb3d7b06d6909adb
URL: http://source.winehq.org/git/wine.git/?a=commit;h=afe309b7d96504f011cf203ce…
Author: Eric Pouech <eric.pouech(a)wanadoo.fr>
Date: Wed Nov 29 21:40:00 2006 +0100
winedump: Changed PE, NE, LE dumping so that they are consistent in terms of dump function signatures.
Avoid passing around the base of the module, but use instead the PRD function.
---
tools/winedump/dump.c | 12 +++++-----
tools/winedump/le.c | 38 +++++++++++++++++++-----------------
tools/winedump/ne.c | 46 ++++++++++++++++++++++++--------------------
tools/winedump/pe.c | 28 +++++++++++++++-----------
tools/winedump/pe.h | 3 +-
tools/winedump/winedump.h | 8 ++++--
6 files changed, 73 insertions(+), 62 deletions(-)
Diff: http://source.winehq.org/git/wine.git/?a=commitdiff;h=afe309b7d96504f011cf2…