+2003-05-12 Karl Bongers(apply development patches from Martin Helmling)
+
+ * debugger/mcs51/sdcdb.c,simi.c,cmd.c,break.c and .h files.
+ Fixed so you can set breakpoints prior to run, run does not stop
+ on entry now. Add tbreak. Other enhancements and fixes for use
+ with ddd.
+
+2003-05-12 Borut Razem <borut.razem@siol.net>
+
+ * src/SDCCmain.c: fixed the problem with searching the DATADIR as the last resort on *nix
+
+2003-05-11 Borut Razem <borut.razem@siol.net>
+
+ * src/SDCCutil.c: WIN32 version of getBinPath() calls GetModuleFileName() to determine
+ the path of bin directory, so that PATH is the only env. variable, which has to be set
+ in case of standard installation.
+ * src/ds390/ds390.dsp: increased value of /Zm option to 1000
+ * src/pic/main.c: add quotes to file name parameters for gplink and gpasm
+ * src/SDCCglobl.h, src/SDCCmain.c, doc/sdccman.lyx: added --print-search-dirs command line option
+
+2003-05-04 Bernhard Held <bernhard@bernhardheld.de>
+
+ * src/SDCCmain.c (linkEdit): fixed buffer overflow for gbz80
+ * support/regression/Makefile: inter-port-clean is no longer nesessary, the
+ temp files are in the port dir; clean the gen/test directory when
+ generating new test.c
+ * support/regression/ports/host/spec.mk: defined OBJEXT for target clean
+ * support/regression/tests/vaargs.c: fixed gcc 3.3 warning
+ * support/regression/tests/zeropad.c: added
+
+2003-05-09 <johan@balder>
+
+ * src/SDCCglue.c: fixed bug #597940
+
+2003-05-05 Karl Bongers(apply patches from Martin Helmling)
+
+ * debugger/mcs51/sdcdb.c,simi.c,cmd.c,symtab.c and .h files.
+ cache sfr, optimize next,step, fix off by one sourceline,
+ support ddd list function.
+ * sim/ucsim/cmd.src/newcmd.cc - small fix for sdcdb use.
+
+2003-05-04 Bernhard Held <bernhard@bernhardheld.de>
+
+ * support/regression/HTMLgen.py: added compare_s2f()
+ * support/regression/Makefile: redo 1.27
+ * support/regression/generate-cases.py: redo 1.5
+
+2003-04-30 Bernhard Held <bernhard@bernhardheld.de>
+
+ * support/regression/tests/float.c: workaround 33 bit hex constant
+ * support/regression/tests/simplefloat.c: fix division for host
+
+2003-04-29 Scott Dattalo <scott@dattalo.com>
+
+ * src/pic/pcoderegs.c Applied patch from Jim Hawkridge <jim@jimhawkridge.uk.eu.org>
+ that tame's the PIC's over-aggressive optimizer.
+
+2003-04-29 Jesus Calvino-Fraga <jesusc@ece.ubc.ca>
+
+ * src.dsw, link/z80/aslink.h, link/z80/linkz80.dsp: z80 linker
+ support for MSVC.
+
+2003-04-29 Kevin Vigor <kevin@vigor.nu>
+
+ Initial support for DS80C400. "Hello world" runs on TINIm400
+ (with polled I/O).
+
+2003-04-28 Karl Bongers(apply patches for Martin Helmling)
+
+ * debugger/mcs51/sdcdb.c,simi.c,cmd.c,symtab.c and .h files.
+ * Some notes on ddd usage added in debugger/README
+ Martin Helmling adding more features and fixes for ddd GUI debugger.
+ Code added for nexti, stepi, up, down, and other adjustments.
+
+2003-04-28 Scott Dattalo <scott@DATTALO.COM>
+
+ * src/pic/pCodepeep.c non-wildcard asmops are now handled
+ * src/pic/peeph.def Added two rules to optimize carry manipulation
+ * src/pic/* removed debug printfs
+
+2003-04-28 Bernhard Held <bernhard@bernhardheld.de>
+
+ * debugger/mcs51/cmd.c: added header newalloc.h
+
+2003-04-26 Bernhard Held <bernhard@bernhardheld.de>
+
+ * as/Makefile: new EXEEXT
+ * as/z80/Makefile: remove trailing slash of BUILDIR
+ * as/z80/clean.mk: new EXEEXT
+ * Makefile.common.in: add to CFLAGS (and others), don't replace it
+ * support/cpp2/Makefile.in: new EXEEXT
+ * src/pic/glue.c (pic14emitRegularMap): fixed warning
+
+2003-04-24 Bernhard Held <bernhard@bernhardheld.de>
+
+ Cygwin's gcc always appends .exe: 'gcc -o a a.c' creates a.exe;
+ EXEEXT was introduced to fix all related problems with targets
+ "clean", "install" and "uninstall"; a couple of further flaws
+ especially with "clean" have been fixed too
+ * as/mcs51/Makefile.in
+ * as/mcs51/clean.mk
+ * as/z80/Makefile
+ * Makefile
+ * clean.mk
+ * debugger/mcs51/Makefile.in
+ * debugger/mcs51/clean.mk
+ * link/z80/Makefile
+ * link/z80/Makefile.in
+ * link/z80/clean.mk
+ * link/Makefile
+ * packihx/Makefile.in
+ * packihx/clean.mk
+ * sim/ucsim/Makefile
+ * sim/ucsim/clean.mk
+ * sim/ucsim/avr.src/Makefile.in
+ * sim/ucsim/avr.src/clean.mk
+ * sim/ucsim/s51.src/Makefile.in
+ * sim/ucsim/s51.src/clean.mk
+ * sim/ucsim/xa.src/Makefile.in
+ * sim/ucsim/xa.src/clean.mk
+ * sim/ucsim/z80.src/Makefile.in
+ * sim/ucsim/z80.src/clean.mk
+ * sim/ucsim/main_in.mk
+ * sim/ucsim/packages_in.mk
+ * sim/ucsim/gui.src/Makefile.in
+ * sim/ucsim/gui.src/serio.src/Makefile.in
+ * sim/ucsim/gui.src/serio.src/clean.mk
+ * src/Makefile.in
+ * src/clean.mk
+ * support/cpp2/Makefile.in
+ * support/cpp2/clean.mk
+ * support/makebin/Makefile
+ * support/makebin/clean.mk
+ * support/scripts/sdcc_mingw32: --program-suffix no longer needed
+ * doc/sdccman.lyx: --program-suffix no longer needed
+
+2003-04-23 Karl Bongers(apply patches for Martin Helmling)
+
+ * debugger/mcs51/sdcdb.c,simi.c,cmd.c,..
+ Martin Helmling added support for ddd GUI debugger.
+ Code added to display assembly, set variables, and other commands
+ to interface to ddd.
+
+2003-04-23 Bernhard Held <bernhard@bernhardheld.de>
+
+ * as/Makefile: fix target clean
+ * as/clean.mk: fix target clean
+ * as/z80/clean.mk: fix target clean
+
+2003-04-22 Bernhard Held <bernhard@bernhardheld.de>
+
+ * Makefile.common.in: added @EXEEXT@
+ * configure.in: removed all mingw32 stuff
+ * configure: rebuilt from configure.in
+ * doc/sdccman.lyx: updated section "installation"
+ * support/scripts/sdcc_mingw32: adapted to configure
+ * support/scripts/sdcc_cygwin_mingw32: added
+
+2003-04-22 Scott Dattalo <scott@dattalo.com>
+
+ * src/pic Added object file support for the PIC port
+ * src/pic Applied patch from Craig Franklin (this started the object file support)
+ * src/regression Updated the PIC regression tests for object files
+
+2003-04-20 Borut Razem <borut.razem@siol.net>
+
+ * sdcc/as/mcs51/lklex.c: make getfid() more robust and fixed gcc warning:
+ lklex.c: In function `getfid':
+ lklex.c:203: warning: array subscript has type `char'
+ * src/SDCCglobl.h: small change in stack handling macros, to avoid crash when compiled
+ with MSVC with global optimization enabled (probably an cl compiler bug ;-)
+ * support/Util/SDCCerr.c, support/Util/SDCCerr.h: added function fatal(), called from
+ stack handling macros
+
+2003-04-19 Borut Razem <borut.razem@siol.net>
+
+ * "handling space characters in file path" task:
+ * src/SDCCmacro.c: fixed bug in handlig quote at the end of line
+ * support/Util/BuildCmd.c: define par as NULL if parameter value is invalid
+ * support/Util/MySystem.h: make it self-sufficient
+ * src/avr/main.c, src/ds390/main.c, src/mcs51/main.c, src/pic/main.c, src/xa51/main.c,
+ src/z80/main.c, sdcc/as/mcs51/lklex.c:
+ handling space characters in file path
+ * src/SDCCmain.c: introduced setDataPaths() function, {datadir} macro
+ (it will be used by assemblers, which have their own includes, e.g. gpasm)
+ * support/Util/MySystem.c: handling space characters in executable's path
+
+2003-04-19 Bernhard Held <bernhard@bernhardheld.de>
+
+ * as/z80/Makefile: fix permanent rebuild of z80
+ * sim/ucsim/gui.src/Makefile.in: target "install" builds the same packages as target "all"
+ * support/regression/tests/bitfields.c: added Johan's bitfields.c
+
+2003-04-18 Kevin Vigor <kevin@vigor.nu>
+
+ * src/SDCCopt.c: add special case optimization to replace modulo by
+ a power of two with a bitwise AND.
+
+2003-04-18 <johan@balder>
+
+ * src/mcs51/gen.c (getFreePtr): fixed bug #635354
+
+2003-04-17 <johan@balder>
+
+ * src/mcs51/ralloc.c (packRegsForAssign): fixed bug #716790 and removes lot's of redundant register usage around function calls
+ * src/mcs51/ralloc.c (packRegisters): fixed bug #720667
+
+2003-04-13 Borut Razem <borut.razem@siol.net>
+
+ * doc/sdccman.lyx: updated info about #pragma SAVE/RESTORE nesting
+ * configure.in, configure: fixed problems on cygwin/WinCVS environmet with ports.* line endings;
+ fixed mingw problem in adl_NORMALIZE_PATH
+
+2003-04-12 Borut Razem <borut.razem@siol.net>
+
+ * fixed "#pragma SAVE/RESTORE can not be nested":
+ * src/SDCC.lex: reworked pragma handling functions
+ * sdcc/src/SDCCglobl.h: reworked stack handling macros
+ * support/Util/SDCCerr.c, support/Util/SDCCerr.h: added E_STACK_VIOLATION error
+
+2003-04-12 Bernhard Held <bernhard@bernhardheld.de>
+
+ * src/SDCCutil.c (pathEquivalent): defined but not used
+ * debugger/mcs51/sdcdb.c: replace SDCC_LIB_DIR
+ * configure.in: remove sdcc_datadir, sdcc_lib_dir and sdcc_include_dir
+ * configure: rebuilt from configure.in
+ * sdccconf_in.h: remove SDCC_LIB_DIR and SDCC_INCLUDE_DIR
+ * sdcc_vc_in.h: remove SDCC_LIB_DIR and SDCC_INCLUDE_DIR
+ * device/include/Makefile.in: replace sdcc_datadir
+ * device/lib/Makefile.in: replace sdcc_datadir
+ * Makefile.common.in: add LDFLAGS from configure
+ * packihx/Makefile.in: use LDFLAGS
+ * src/Makefile.in: use LDFLAGS
+ * support/cpp2/Makefile.in: add LDFLAGS from configure
+ * support/makebin/Makefile: use LDFLAGS
+ * .version: bumped version number to 2.3.5
+
+2003-04-12 Borut Razem <borut.razem@siol.net>
+
+ * completed "different paths" task:
+ * src/SDCCmacro.c: fixed bug in handling quotes
+ * src/SDCCutil.c, src/SDCCutil.c: rewritten getPrefixFromBinPath()
+ * src/SDCCmain.c: _discoverPaths() replaced with setBinPaths(), setIncludePath() and setLibPath()
+
+2003-04-12 Bernhard Held <bernhard@bernhardheld.de>
+
+ * src/pic/pcoderegs.c (Remove1pcode): fix warning on alpha
+
+2003-04-11 kevin Vigor <kevin@vigor.nu>
+
+ * ds390/gen.c ds390/peeph.def: fix bug 706781
+
+2003-04-11 Borut Razem <borut.razem@siol.net>
+
+ * support/Util/dbuf.c, support/Util/dbuf.h: update to version 1.1.1 - re-added C++ stuff to make it still more portable
+
+2003-04-10 Scott Dattalo <scott@dattalo.com>
+
+ * src/pic/* Applied the pointer-to-function patch from Steve Tell.
+ * src/pic/* Fixed several pointer bugs. (PIC port broke when the ruonly bit was
+ set - this bit used to not be set...).
+ * src/pic/gen.c Fixed buf 609268 ==> x = (x+1) & 0xf; generated
+ bad code in PIC Port
+ * src/regression/and2.c added to test bug 609268
+ * src/regression/Makefile added and2.c to regression test
+
+
+2003-04-08 <johan@CP255758-A>
+
+ * src/mcs51/gen.c (gen51Code): display reg usage in --icode-in-asm
+ * src/mcs51/ralloc.c (serialRegAssign): update the registers in use and save some slocs
+ * src/SDCCicode.h: added riu to show the register usage in --icode-in-asm
+
+2003-04-07 Bernhard Held <bernhard@bernhardheld.de>
+
+ * configure.in: fully support prefix, exec_prefix, datadir, docdir;
+ fix bug #487815
+ * support/cpp2/Makefile.in: fix bug #487815
+ * configure: rebuilt from configure.in
+ * Makefile.common.in: docdir changed, new path suffixes
+ * sdccconf_in.h: new RETSIGTYPE, and other PATHs
+ * sdcc_vc_in.h: reflect changes from sdccconf.h
+ * src/SDCCglobl.h: remove *SEPARATOR_CHARS, they are now in sdccconf.h
+ * src/SDCCutil.h: remove BINDIR hack
+ * doc/sdccman.lyx: update new path hierarchy
+
+2003-04-06 Paul Stoffregen <paul@pjrc.com>
+
+ * src/SDCCpeeph.c: added okToRemoveSLOC test
+
+2003-04-06 Paul Stoffregen <paul@pjrc.com>
+
+ * device/lib/printf_fast.c: added leading zero format ("%06d", etc)
+
+2003-04-06 Paul Stoffregen <paul@pjrc.com>
+
+ * src/SDCCpeeph.c: added labelIsReturnOnly test
+ * src/mcs51/peeph.def: Peephole 244: replace ljmp to ret with ret
+
+2003-04-05 <johan@balder>
+
+ * src/SDCCcse.c (cseAllBlocks): fixed bug #460088
+ * src/SDCCloop.c (DEFSETFUNC): fixed bug #460088
+ * src/SDCCopt.c (eBBlockFromiCode): fixed bug #460088
+ * src/SDCCast.c: fixed a warning
+ * src/SDCCast.h: fixed a warning
+ * src/SDCCicode.c (operandFromAst): fixed a warning
+
+2003-04-04 <johan@balder>
+
+ * src/SDCCloop.c (DEFSETFUNC): undid the fix for bug #519584
+ * src/SDCCast.c (decorateType): fixed bug #715076
+ * src/SDCC.y: fixed bug #702907
+
+2003-04-03 <johan@balder>
+
+ * device/lib/_mulint.c (_muluint): new #pragma LESS_PEDANTIC
+ * src/SDCCopt.c (eBBlockFromiCode): new #pragma LESS_PEDANTIC
+ * src/SDCCglobl.h (PRAGMA_LESSPEDANTIC): new #pragma LESS_PEDANTIC
+ * src/SDCC.lex (doPragma): new #pragma LESS_PEDANTIC
+ * src/SDCCmain.c (parseCmdLine): new #pragma LESS_PEDANTIC
+
+2003-04-03 Bernhard Held <bernhard@bernhardheld.de>
+
+ * _decdptr.c: fix return values
+ * _gptrget.c: fix return values
+ * _gptrgetc.c: fix return values
+ * _gptrput.c: fix return values
+ * _mulint.c: fix return values
+ * as/z80/Makefile: fix 'make -j' problem
+
+2003-04-02 Bernhard Held <bernhard@bernhardheld.de>
+
+ * Makefile.common.in: unused PORT, SCC and SAS removed, fixed docdir
+ * configure.in: big cleanup, updated to autoconf 2.5x
+ * configure: rebuilt from configure.in
+ * sdccconf_in.h: new RETSIGTYPE, and other PATHs
+ * sdcc_vc_in.h: reflect changes from sdccconf.h
+ * doc/Makefile: fixed a flaw in "make install"
+
+2003-04-02 <johan@balder>
+
+ * src/ds390/gen.c (genCmp): no comments
+ * src/mcs51/gen.c (genCmp): no comments
+ * src/SDCCopt.c (eBBlockFromiCode): detect missing return values
+ * src/SDCCast.c (ast_print): fixed the function type in --dumptree
+
+2003-04-01 Bernhard Held <bernhard@bernhardheld.de>
+
+ * support/regression/generate-cases.py: place generated file in given sub directory
+ * support/regression/ports/host/spec.mk: prevent removal of testfwk.o
+ * support/regression/Makefile: improvements for 'make -j';
+ side effect: it's simpler and faster now
+
+2003-03-31 Borut Razem <borut.razem@siol.net>
+
+ * src/z80/main.c: link-{port} and as-{port} defined without path
+ * src/src.dsp: support/Util/MySystem.h and src/SDCCutil.h added to project
+
+2003-03-31 Bernhard Held <bernhard@bernhardheld.de>
+
+ * Makefile, src/Makefile.in: add dependencies, so that 'make -j' works
+
+2003-03-30 Borut Razem <borut.razem@siol.net>
+
+ * support/Util/BuildCmd.c, support/Util/BuildCmd.h: rewrite buildCmdLine(),
+ changed type of list parameter to set
+ * src/ds390/main.c: changed type of parameter asmOptions to set in _tininative_do_assemble()
+ * src/port.h: changed type of do_assemble() parameter to set
+ * src/SDCCmain.c: type of asmOptions changed to set, introduced setParseWithComma(),
+ sdcpp defined without path, removed variable VersionString, introduced set binPathSet,
+ definition of "cppoutfilename" macro with NULL value in preProcess()
+ * src/SDCCglobl.h: included "SDCCset.h", added declaration of setParseWithComma()
+ * src/SDCCglue.c: removed variable VersionString, inroduced spacesToUnderscores()
+ * support/Util/MySystem.c, support/Util/MySystem.h: rewrite, char *ExePathList[]
+ replaced with set *binPathSet
+ * shash_add() deallocates the item, if allready exsists, before adding the new one
+ * src/SDCCmacro.c: handling macros with empty or NULL values in _evalMacros()
+
+2003-03-30 Scott Dattalo <scott@dattalo.com>
+
+ * src/pic/gen.c: Commit patch from Steve Tell <tell@telltronics.org> that fixes
+ a nested for loop bug in the PIC port
+ * src/regression/nestfor.c: new regression test file Steve wrote to test nested
+ for loops
+
+2003-03-29 Bernhard Held <bernhard@bernhardheld.de>
+
+ * support/Util/dbuf.h: remove C++ stuff to make it portable
+
+2003-03-28 Borut Razem <borut.razem@siol.net>
+
+ * src/SDCC.lex: Fix for bug #711240: dynamic buffer handling of C
+ literal strings in stringLiteral()
+ * support/Util/dbuf.c, support/Util/dbuf.h: added: dynamic buffer handling
+ * src/Makefile.bcc, src/Makefile.in, src\src.dsp: added support/Util/dbuf.c
+ to the project
+
+2003-03-27 Paul Stoffregen <paul@pjrc.com>
+
+ * src/SDCCpeeph.c (pcDistance): accurate byte distance for mcs51
+
+2003-03-26 <johan@balder>
+
+ * src/mcs51/gen.c (saveRegisters): catched symbol abuse
+ * src/ds390/gen.c (saveRegisters): catched symbol abuse
+ * src/SDCCast.c (decorateType): fixed " -v < 3"
+
+2003-03-23 Bernhard Held <bernhard@bernhardheld.de>
+
+ * doc/cdbfile.html: removed, replaced by cdbfileformat.lyx
+ Added Lenny Story's debug infrastructure changes:
+ * src/Makefile.in: added new files cdbFile.c and SDCCdebug.c
+ * src/Makefile.bcc: added new files cdbFile.c and SDCCdebug.c
+ * src/cdbFile.c: added
+ * src/SDCCdebug.c: added
+ * src/SDCCdebug.h: added
+ * src/SDCCast.c (createFunction)
+ * src/SDCCglue.c (emitRegularMap, emitStaticSeg, emitOverlay, glue)
+ * src/SDCCmain.c (parseCmdLine, main)
+ * src/SDCCmem.c (redoStackOffsets)
+ * src/SDCCsymt.c (cdbStructBlock, cdbTypeInfo, cdbSymbol, cdbStruct, cdbStructBlock)
+ * src/SDCCsymt.h
+ * src/common.h
+ * src/avr/gen.c (genAVRCode)
+ * src/ds390/gen.c (gen390Code)
+ * src/mcs51/gen.c (gen51Code)
+ * src/pic/gen.c (genpic14Code)
+ * src/pic/glue.c (pic14emitRegularMap, pic14emitStaticSeg, pic14emitOverlay, picglue)
+ * src/xa51/gen.c (genXA51Code)
+ * src/SDCCast.c: fixed "void foo(void){char c; -c < 0;}"
+
+2003-03-22 Frieder Ferlemann <Frieder.Ferlemann@web.de>
+
+ * src/mcs51/gen.c (genCodePointerGet): quicker code for bug #700797
+ * src/mcs51/peeph.def: added rules 177, 241.x to 243, touched 181, 182.x, 193.x
+
+2003-03-22 <johan@balder>
+
+ * src/SDCCicode.c (geniCodeDerefPtr): fixed bug #698231
+
+2003-03-21 Bernhard Held <bernhard@bernhardheld.de>
+
+ * support/scripts/sdcc_mingw32: adapted to configure from autoconf 2.54
+ * doc/cdbfileformat.lyx: added, written by Lenny Story
+ * doc/Makefile: added cdbfileformat.lyx
+ * doc/clean.mk: added cdbfileformat.lyx
+
+2003-03-20 Bernhard Held <bernhard@bernhardheld.de>
+
+ * src/mcs51/peeph.def: fix bug #705773
+
+2003-03-20 <johan@balder>
+
+ An sfr/sbit can have an "at #" AND an initializer
+ * src/SDCCsymt.c (checkSClass):
+ * src/SDCCmem.c (allocGlobal):
+ * src/SDCCmem.c (allocLocal):
+ * src/SDCCast.c (createBlock):
+
+2003-03-17 Bernhard Held <bernhard@bernhardheld.de>
+
+ * src/ds390/peeph.def: fix bug #704878: added rule 213.b suggested by Jan Rejlek
+
2003-03-16 <johan@balder>
Undid the hackup of const and volatile, the problem is much bigger