974850.5707z.group/bin/cvsweb.cgi/djgpp/src/debug/common/dbgcom.c | search |
To download the latest version of this file, click on most recent revision number, then use your browser's "save page as" feature.
Up to djgpp/src/debug/common/Leading dot removed from local labels.
dbgcom.c (invalid_sel_addr): avoid duplicated asm labels if proc is inlined
Update file copyright lines aftr running src/copyright.pl
debug/common/dbgcom.c: update to avoid optimizing out static variables with gcc-5.1
Fix -Wstrict-aliasing.
White space changes.
Replace constraint =g with =qm
Pacify compiler.
Accoding to Ozkan Sezer <[email protected]>, __attribute__((used)) for static data is OK for gcc-3.3, too, not just for gcc >= 3.4.
Various small fixes to avoid warnings with gcc-4.0 and gcc-4.1. It would have be nice to commit this in smaller pieces, but it would require too much work. Patch from Markus F.X.J. Oberhumer <[email protected]> (http://www.delorie.com/djgpp/mail-archives/browse.cgi?p=djgpp-workers/2006/06/12/06:28:05)
Rename static array forced_test to __dj_forced_test and make it external. This workarounds problem with new gcc versions (eg. gcc-3.4.X) optimizing it away.
Fix errorous use of memcpy instead of memset (gcc-3.4.2 complained about bad zero argument from memcpy ...)
Update copyright messages
Don't crash and burn if the application hooks exceptions higher than 17. From Pierre Muller <[email protected]>.
v2.03 refresh. Win2K and XP don't return debug handle (guess it). Rev 1.22
Fix bug with Win2K watchpoints (it doesn't return handle so we must guess the value). Also replace old in-line assembly with standard __dpmi calls.
Make all inline assembly be "asm volatile", to avoid overzealous compiler optimizations.
Save the selector allocated in proxy_var for the buffer used to pass long command lines to the debuggee, so that cleanup_client could free it. Otherwise, we will leak DOS memory when running the debuggee multiple times, as in GDB.
Fix gcc-3.0 warnings about multiline string constants
Remove warnings from gas by choosing assembler opcode depeding on version of gas. This is the work of Peter J. Farley III <[email protected]> with the help of Eli Zaretskii and Morten Welinder.
Point SIGNOFP to dbgsig when running the child, and restore it to debugger's own handler when the child longjmps back to us. This allows to debug FP programs on FPU-less machines.
Don't increment cur_pos twice.
Fix the bug with adding application base address in FSDB and EDEBUG. Reported by Andris Pavenis. Initialize edi.app_base in edi_init.
remove duplicate else code
Support for passing signals to debuggee, by Pierre Muller. Add comments in exceptn.S that warn against breaking this support if certain parts of code are changed.
Replace the .align directives for code with ".balign 16,,7".
Retrieve the value of the fake exception from child's memory. Suggested and originally written by Pierre Muller.
Remove calls to save/load NPX in EDEBUG. Use long double format in FSDB for display and modification of FP registers. Don't destroy FP registers modified by a debugger inside load_npx().
Fill npx with meaningful info before calling load_npx(). Use array assignment instead of memcpy and funny pointer arithmetics. Issue the 0Bh command to the PIC before reading port 0Ah.
update copyright dates
Reinstated the reference to library ident string, to pull in the string itself.
Remove unused variables. From Andris Pavenis <[email protected]>.
Changes by Andris Pavenis to better handle signals, x87, and exceptions inside the debuggers.
Moved the code for saving/restoring the FPU state from the standalone debuggers (fsdb, edebug) to dbgcom.c making them extern visible via include/debug/dgbcom.h
import djgpp 2.02
import djgpp 2.01
import djgpp 2.00
webmaster | delorie software privacy |
Copyright � 2024 by DJ Delorie | Updated Apr 2024 |