Commit Graph

364 Commits

Author SHA1 Message Date
Peter Hunnisett 22ad2d22b6 Avoid assert for very large C++ .so files. 2002-02-21 20:10:01 +00:00
Alexandre Julliard f5818d2f7a Upgraded configure script to use autoconf 2.50 features, and renamed
to configure.ac.
Changed a few things to better follow the autoconf guidelines.
2002-02-14 19:47:29 +00:00
Eric Pouech d727a9bcf4 Fixed some bad behavior when many symbols with same names where found.
Removed external readline support.
2002-02-04 18:40:40 +00:00
Dimitrie O. Paun 693cca5d4d Make FIXMEs more grep-able. 2002-01-29 03:12:19 +00:00
Eric Pouech 911d42427f Fixes char array in structure dumping. 2002-01-18 18:08:21 +00:00
Eric Pouech d0f260eb11 Enhance display for symbol picking. 2002-01-12 21:14:40 +00:00
Bill Medland 7a364bb8aa Fixed vsnprintf return value check. 2001-12-24 20:23:57 +00:00
Eric Pouech 02ecb68453 Fixed stabs parsing for GCC 3.0 (default types).
Added boolean type support.
Simplified internal types handling.
2001-12-21 20:29:58 +00:00
Dave Hawkes faf2880fe6 Fix for some types of C++ debug info that can cause winedbg to crash. 2001-12-06 22:22:25 +00:00
Eric Pouech df90b00e12 Fixed IO when not run with wineconsole. 2001-11-25 00:48:44 +00:00
Eric Pouech d0a04935ce Revisited console support (got rid of old hacks and private editline
since we now have a brand new console), removed private debug heap.
2001-11-23 23:10:08 +00:00
Alexandre Julliard f5a8b965f0 Added "--auto" option. 2001-10-22 19:00:34 +00:00
Andreas Mohr e15badb478 Cosmetics. 2001-10-21 15:18:15 +00:00
Marcus Meissner 27215d9f5a WINELIB applications (like reaktivate) might have very long (C++)
symbols. Use a larger buffer.
2001-10-08 22:16:06 +00:00
Alexandre Julliard 53050d79c1 Provide help even when in the NOPROCESS state. 2001-10-08 20:28:58 +00:00
Alexandre Julliard 840434acd0 Don't ignore first chance debug exceptions since it may be a
breakpoint that we set ourselves.
2001-10-04 16:17:16 +00:00
Francois Gouget 588ff3743a Documentation updates (mainly thru vs. through). 2001-08-21 17:07:17 +00:00
Eric Pouech 38f2be49f0 Fixed the parsing of id1.id2 which could be either access to field id2
of struct id1, or the identifier id2 in dll id1.
Enhanced some error reporting as well as 'info local' display layout.
Minor cosmetic changes.
2001-08-15 17:40:31 +00:00
Eric Pouech 624cbd7c47 Fixes for Solaris X86. 2001-08-10 22:29:21 +00:00
Eric Pouech c2b5cb35d2 Now tries to print the symbol name of a crst when it times out. 2001-08-07 19:32:14 +00:00
Eric Pouech 800773f9d4 Extended bt command to display backtrace of another thread.
Enhanced process & thread display with process name.
2001-08-06 17:51:52 +00:00
Marcus Meissner bb72c3d5d5 Check for -1 as the undefined value for handles before CloseHandle. 2001-08-03 18:11:00 +00:00
Alexandre Julliard f899ef07a6 Removed some unnecessary includes. 2001-07-23 00:04:00 +00:00
Alexandre Julliard 9107c6b09c Added disassembly for 0x0f 0x5x opcodes. 2001-07-11 17:33:47 +00:00
Alexandre Julliard 1ce1bef859 Better error reporting on DebugActiveProcess failure. 2001-07-11 17:33:08 +00:00
Eric Pouech eaafb73cd5 Added the notion of delayed breakpoint (when a function is not loaded
yet, the name will be tried again for each new loaded module).
2001-05-21 18:33:15 +00:00
James Juran 4ee31d5e2b Accept responses from 1..n when choosing from multiple symbols to
match the input labels.
2001-05-19 17:34:17 +00:00
Alexandre Julliard 09d7822048 Delay import of user32 to allow debugging crashes in user init code. 2001-05-05 00:44:48 +00:00
Eric Pouech 52c7534f41 Started handling of several symbols with the same name.
Fixed trampoline identification.
2001-05-03 18:32:47 +00:00
Marcus Meissner 5e2eeb66ec Added some more disassembly instructions (notably rdtsc, which is used
by several programs) and more MMX.
2001-04-24 23:16:16 +00:00
Marcus Meissner ea1576b538 Added some MMX disassembly to the debugger. 2001-04-23 18:11:17 +00:00
Eric Pouech 0db12f278c Fixed getting a variable address. 2001-04-23 18:10:52 +00:00
Eric Pouech d6dcec833e Fixed float variables display. 2001-04-23 18:10:32 +00:00
Andreas Mohr f32f918123 Spelling fixes. 2001-04-20 18:36:05 +00:00
Eric Pouech 2b713ba65d Enhanced robustness at startup. 2001-04-13 22:26:23 +00:00
Michael Stefaniuc 85d308631c - added stubs for three console functions
- updated wincon.h
2001-04-12 21:07:25 +00:00
James Hatheway f552359c31 Modify debugger to understand special undocumented "Name Thread"
exception from MS VC6.
2001-04-09 18:31:47 +00:00
Francois Gouget 282f7270c1 Small 'typos in comments' fixes. 2001-02-28 05:31:02 +00:00
Andreas Mohr c9ec884645 Documentation updates. 2001-01-24 19:37:13 +00:00
Jon Griffiths 004dc8228b Increased debugger include limit to 512. 2001-01-22 02:17:46 +00:00
Alexandre Julliard 7d5bc5c3f9 Removed some direct accesses to the 16-bit task structure. 2001-01-15 20:09:09 +00:00
Alexandre Julliard 6cf9ac8626 Removed obsolete file. 2001-01-09 20:56:18 +00:00
François Gouget d5042c44b4 Compile the debugger with STRICT on. 2000-12-29 05:38:00 +00:00
Joerg Mayer d18140cef4 Fix the trivial compiler warnings in debugger/ when compiling with -W
- moved inline statements to front
- fixed the trivial cases of signed/unsigned comparisons
2000-12-26 01:28:51 +00:00
Alexandre Julliard db0747d095 Removed some unnecessary includes.
Got rid of ldt.h.
2000-12-13 20:23:41 +00:00
Alexandre Julliard f6168db690 Fixed some warnings. 2000-12-13 20:03:53 +00:00
Alexandre Julliard 633293f093 Build the debugger as a .so. 2000-12-06 03:20:47 +00:00
Alexandre Julliard ef57e18f99 Removed some unnecessary includes. 2000-12-01 21:32:55 +00:00
Eric Pouech afce9213b9 Cleaned up internal types definition. 2000-12-01 20:45:59 +00:00
Eric Pouech 0421138903 Improved stabs loading (now using recursive parsing, required by stabs
generated by latest gcc versions).
2000-12-01 20:45:43 +00:00
Eric Pouech 52d10c9022 Work around for deref issues (least impact solution taken, even if issues remain). 2000-12-01 20:45:24 +00:00
Alexandre Julliard 5ce2329a95 Finished separation of advapi32. 2000-11-30 20:31:41 +00:00
Dimitrie O. Paun db1e5dbfef Do not use a.out.h. 2000-11-29 19:00:23 +00:00
Alexandre Julliard 5b971f009a Moved wsprintf functions to dlls/user. 2000-11-26 22:39:50 +00:00
Andreas Mohr a59324db91 Cosmetics. 2000-11-25 01:40:10 +00:00
Dmitry Timoshkov af1df43df8 Skip directories when loading debug symbols. 2000-11-15 23:04:41 +00:00
Eric Pouech e939206f90 Improved internal module handling (module now have a size, map of
loaded module is clearer, better error reporting, seperated module
loading code from symbol extraction).
2000-11-15 22:16:26 +00:00
Eric Pouech 5394ab83c4 Make use of Windows structure for COFF info.
Fixed a few issues in COFF loading.
Cleaned up the code.
2000-11-12 03:40:55 +00:00
Alexandre Julliard 231cc27c80 Added some missing imports. 2000-11-09 20:41:13 +00:00
Ulrich Weigand 6011e98e05 - Take OMAP records into account to correct symbol addresses.
- Understand CodeView data embedded in the PE file itself.
- Understand NB11 signature CodeView data.
- No more bogus 'timestamp mismatch' errors.
- General cleanup / removal of duplicate code.
2000-11-07 20:29:20 +00:00
Alexandre Julliard d19ad3962e Better error message when an include file is not found by makedep.
Added support for .mc extension.
Do not try to open *.tab.h and *.mc.rc include files.
2000-11-06 05:32:59 +00:00
Alexandre Julliard 1a3f705fc1 Added import of ntdll. 2000-10-31 00:22:41 +00:00
Uwe Bonnes 4efd28ce1a DEBUG_ProcessDBGFile: use a stack variable for the extra_info. 2000-10-29 18:08:42 +00:00
Juergen Schmied 7493eada13 - enable loading of pdb files named in NB10 records of a dbg file
- disable timestamp check for pdb files
2000-10-29 18:03:41 +00:00
Uwe Bonnes d207d270b6 DEBUG_ProcessDBGFile: allocate MSC_DBG_INFO before writing to members
of that structure.
2000-10-29 01:18:33 +00:00
Alexandre Julliard 634824be58 Raise an exception when a stub entry point is called. 2000-10-26 22:03:34 +00:00
Kristoffer Gleditsch d2e2bb240a Added LDFLAGS to linking of wine-related binaries. 2000-10-25 21:36:54 +00:00
Eric Pouech 0595b1f24c Added advapi32 to imported DLLs list. 2000-10-22 23:51:08 +00:00
Ulrich Weigand 9039421b04 PDB symbol header format depends only on version code. 2000-10-22 23:48:06 +00:00
Eric Pouech 4304aee898 Fixed floating point data printing and made basic types reading more
robust.
2000-10-22 23:45:04 +00:00
Juergen Schmied cc5365836a Fixed loading of symbols from libraries. 2000-10-12 20:45:26 +00:00
Alexandre Julliard df12a0d654 Fixed backtrace for apps that never called down to 16-bit code. 2000-10-02 22:17:07 +00:00
Gerald Pfeifer bd529026e1 Added missing cast. 2000-09-29 00:23:26 +00:00
Alexandre Julliard d8fab2e67c Removed some of the XXX_reg macros now that we are using the standard
CONTEXT86 structure everywhere.
2000-09-25 23:53:07 +00:00
Alexandre Julliard 954a413c47 Improved support for vm86 mode. 2000-09-24 03:15:50 +00:00
Alexandre Julliard 9edc7d0529 Misc cleanups. 2000-09-18 02:15:25 +00:00
Andreas Mohr 20cd9356a8 - fixes debugger output
- get rid of wrong comments
- fix comments
- .spec spelling fix
- improve warning message
2000-09-12 23:40:40 +00:00
Uwe Bonnes 7f0b104953 Use tpXXX instead of tbXXX in tagTHREADENTRY32. 2000-09-12 23:36:18 +00:00
Gerald Pfeifer acc81bab87 Added two missing casts. 2000-09-02 23:17:21 +00:00
James Abbatiello ebef9a9519 Fix for debugger disassembly being off by one byte after using nexti
on a "call" instruction.
2000-09-01 01:22:05 +00:00
Alexandre Julliard 7bbba4f9ce Removed calls to ConvertToGlobalHandle and MakeCriticalSectionGlobal. 2000-08-26 21:18:36 +00:00
Dmitry Timoshkov 7d64d7d1d7 Do not crash if path is NULL in DEBUG_ProcessElfFileFromPath. 2000-08-18 23:43:09 +00:00
Eric Pouech 9454801cd9 Enhanced ELF files lookup for symbolic info. 2000-08-15 12:00:52 +00:00
Eric Pouech 7c7e3ba5b2 Fixed regression in break command. 2000-08-15 12:00:33 +00:00
Alexandre Julliard a007f3364a Moved a few non-standard headers into their respective dlls. 2000-08-09 00:54:58 +00:00
Alexandre Julliard 081ee94117 - Fixed resource functions to work directly from the HMODULE instead of
requiring a modref.
- Attempted to get LOAD_LIBRARY_AS_DATAFILE right (based on patches by
  Eric Pouech and Dusan Lacko).
- Simplified modref structure and handling.
2000-08-07 04:12:41 +00:00
Patrik Stridvall b4c7499883 Fixed some warnings. 2000-08-04 21:08:01 +00:00
Hidenori Takeshima 269b409712 Added a few missing imports. 2000-08-04 21:07:23 +00:00
Alexandre Julliard 74cc65a940 Added a few missing imports. 2000-08-04 04:12:08 +00:00
Ove Kaaven 2ce9ad8604 Tidyed up stack backtrace code a bit, and added a simple special
case for backtracing from a null EIP.
2000-07-31 23:27:20 +00:00
Alexandre Julliard 6b141176be Moved toolhelp implementation into kernel32 dll. 2000-07-31 21:01:05 +00:00
Alexandre Julliard 58d5a0a786 Removed some unnecessary inclusions of wingdi.h and winuser.h 2000-07-29 21:58:17 +00:00
Eric Pouech 71189b5224 fixed a number of long standing bugs:
- segmented expressions didn't display correctly
    - using dynamic size array for nested types parsing
    - correct display of source code after a crash
factorized some code
2000-07-25 12:51:56 +00:00
Ove Kaaven f96df31096 Comment out a nonfunctional DOS part of debugger. 2000-07-23 13:33:18 +00:00
Ian Schmidt 4474b6ea06 Added Pentium Pro/2/3/4 conditional move instructions. 2000-07-15 14:57:13 +00:00
Eric Pouech c8924d3e59 Removed extraneous trace message. 2000-07-10 13:05:59 +00:00
Eric Pouech f516be6736 Unconditionnally print messages on DLL load breakpoint. 2000-07-10 13:05:44 +00:00
Andreas Mohr 522a9a90b9 Fixed winedbg watchpoints. 2000-07-10 13:05:17 +00:00
Peter Hunnisett 856aefa240 - Explicit init of rtn.cookie in DEBUG_EvalExpr to bad value to
expose further bad code
- Print of pointer used as array now works
2000-07-08 12:45:44 +00:00
Eric Pouech 5b471bae6e Added BreakOnDllLoad internal var, cleaned up register validation on
exception.
2000-06-25 12:49:13 +00:00