2008-07-31 Greg Clayton * Makefile (CANONICAL_ARCHS): Sort the items in this variable so check-args can have fewer permutations. (check-args): Recognize arm, i386 and ppc as a plausible variant and rely on sorted CANONICAL_ARCHS. (CONFIGURE_OPTIONS): Added a "filter-out" make command to remove extra whitespace when some settings don't have any value. (EFLAGS): Ditto. (cross): Cleaned up redundant defintions for cross_arch_full shell variable. 2008-08-20 Greg Clayton * gdb.sh: Always specify an arch to gdb when the gdb binary can handle 32 and 64 bit variants. And fixed the code that detected that $GDB_ROOT was "/". 2008-08-20 Greg Clayton * gdb.sh: Modified the startup script to ignore all options when auto-detecting and launching the correct gdb, and preferring the core file over the executable. 2008-04-24 Jason Molenda (jmolenda@apple.com) * Makefile: Unset MACOSX_DEPLOYMENT_TARGET when building an arm-native gdb on an i386/ppc system. 2008-04-23 Jason Molenda (jmolenda@apple.com) * gdb.sh: Issue error message if -arch command line option isn't followed by an architecture. 2008-03-26 Jason Molenda (jmolenda@apple.com) * Makefile (CDEBUGFLAGS): Add -Os back by default. 2008-03-25 Jason Molenda (jmolenda@apple.com) * Makefile: Don't make the native-arm or cross-arm gdbs setgid procmod. 2008-03-24 Jason Molenda (jmolenda@apple.com) * gdb.sh: Set OSABIOPTS when the user specifies armv6; use it when invoking gdb. 2007-11-07 Greg Clayton *Makefile: Changed CROSS_ROOT to SDKROOT for cross and crossarm targets. 2007-07-24 Greg Clayton *Makefile: CROSS_ROOT is now used to specify the SDK location for cross builds. 2007-06-27 Greg Clayton * gdb.sh: Handle arm and armv6 arch variants. * Makefile: Ditto. (CDEBUGFLAGS): Define default value only if not already defined. (crossarm): New target. (cross): New target. (stamp-build-gdb): Configure and build gdbserver when target is arm darwin. (install-gdbserver): New target. (check-args): Add arm/armv6 darwin support. (install-macosx): Install gdbserver when target is arm darwin. 2007-12-05 Jim Ingham * Makefile: Remove -Wno-long-double from Makefile, it is not supported by gcc-4.2. 2007-10-12 Greg Clayton (gclayton@apple.com) * Makefile (GDB_RC_VERSION): Bump Leopard gdb version up to gdb-900 to leave a hole for other gdb builds. 2007-07-10 Jason Molenda (jmolenda@apple.com) * Makefile (GDB_RC_VERSION): Bump Leopard gdb version up to gdb-750 to leave a hole for Xcode 2.5 gdb submissions on the branch. 2007-05-22 Jason Molenda (jmolenda@apple.com) * gdb.sh: If the gdb shell script being run is a soft link to the actual shell script, dereference that shell script before determining GDB_ROOT. 2007-05-15 Jason Molenda (jmolenda@apple.com) * Relnotes.xml: Removed. * doc/Relnotes.xml: Added. * doc/book.xml: Added. * doc/gdb.gutenberg: Added. 2007-05-15 Jason Molenda (jmolenda@apple.com) * ReleaseNotes.xml: Add this file. It looks like we're responsible for maintaining it from now on so might as well have it under cvs. 2007-04-17 Jim Ingham * gdb.sh: Pass the -arch argument on to gdb. 2007-03-08 Jim Ingham * Makefile: Directly hard-code the documentation path. 2007-03-05 Jason Molenda (jmolenda@apple.com) * Makefile (check): Suppress the check makefile command echoing. 2007-03-05 Jason Molenda (jmolenda@apple.com) * Makefile (install-chmod-macosx): Don't error out if the chgrp procmod fails; MacsBug isn't built for i386 so that one will always fail. 2007-03-05 Jason Molenda (jmolenda@apple.com) * Makefile (check): Print out the files that cause the copy phase to fail. 2007-03-05 Jason Molenda (jmolenda@apple.com) * Makefile (install-chmod-macosx): Don't check for rootness; assume this is being run as root. If chgrp procmod fails, indicate failure of the build. 2007-01-16 Jim Ingham * gdb.sh: Call the actual gdb binary relative to the location of the gdb shell script, rather than using the absolute path. 2007-01-10 Jason Molenda (jmolenda@apple.com) * (CDEBUGFLAGS): Drop -g3 until we get macro debug info working a little more cleanly. 2006-12-19 Jason Molenda (jmolenda@apple.com) * Makefile (SYSTEM_DEVELOPER_TOOLS_DOC_DIR): Update to new doc location as per Hammond's e-mail of 2006-12-14. 2006-12-12 Jason Molenda (jmolenda@apple.com) * gdb.conf: Set the gdb history file to be left only in $HOME instead of $cwd (which results in .gdb_history files scattered all over). Remove lines listing a number of obsolete plugins so as to not confuse the unwary. 2006-10-25 Jason Molenda (jmolenda@apple.com) * Makefile (CDEBUGFLAGS): Raise the debug info level to -g3 so we get macro definitions included in the debug info. 2006-10-04 Jason Molenda (jmolenda@apple.com) * gdb.plist: New file with the Open Source Versions plist information for the Apple gdb sources. * gdb.txt: New file with a copy of gdb's copyright terms. * Makefile: Install them in /usr/local. 2006-07-13 Stan Shebs * Rename libinf to libcheckpoint. 2006-07-13 Stan Shebs * libinf: New directory for dylib with functions loaded into the inferior on demand. * Makefile (install-libinf): New target. (install-macosx): Add it. 2006-05-02 Jason Molenda (jmolenda@apple.com) * Makefile: Default to building with -gdwarf-2. (install-gdb-macosx, install-gdb-fat): Create dSYM files, strip the binaries that are left in SYMROOT. 2006-05-01 Jason Molenda (jmolenda@apple.com) * gdb.sh: Unset the DYLD_* env vars before invoking gdb; dyld-60 and later issue a warning when a setgid program is invoked and these env vars are not honored by dyld. * Makefile (check): Properly quote filename check so that multiple matches don't yield a shell error. 2006-04-18 Jason Molenda (jmolenda@apple.com) * Makefile: Don't remove the symroot between phases. 2006-04-17 Jason Molenda (jmolenda@apple.com) * Makefile: Make installed MacsBug plugin setgid procmod. 2006-04-17 Jason Molenda (jmolenda@apple.com) * gdb.sh: If the parent process is "CodeWarrior", invoke gdb-for-codewarrior. 2006-03-10 Stacey Pang (stacey_pang@apple.com) Adding some nice finishing touches on a few more files in gdb/bin * start_tests - now moves aside useless test directories * lib/TestHelper.pm - configure process has been simplified so users no longer need a .dejagnurc file to make this work - this should be helpful if the compiler group wants to run our tests because they have their own dejagnu harness and .dejagnurc files. * lib/tools/ignore_tests - removed my directory so this script can now be run by anyone no matter where it's installed. Note: This isn't perfect ... it still requires manually mucking with the testsuite/configure script once per check-in to work. But it's the best solution at the moment. * README - describes all of these things. 2006-03-09 Stacey Pang (stacey_pang@apple.com) Re-structuring gdb/bin diretory: - README file in gdb/bin has been updated to reflect these changes. - User modifiable config info and libraries are now separate from main testing scripts - Main testing scripts can now find the libaries and tools they need even if gdb/bin directory is relocated. This means anyone should now be able to use the main testing scripts without modification: * getInfo [-tools|-sys] print software versions * mv_logs move log files around * report analyze and compare log files. * start_tests create,configure test directories and/or run tests. 2006-02-21 Stacey Pang (stacey_pang@apple.com) * Adding gdb/bin directory which contains several automated testing scripts. 2006-01-31 Jason Molenda (jmolenda@apple.com) * Makefile: Remove a bunch of unused sections of the Makefile. 2006-01-24 Stan Shebs * Makefile (GDB_VERSION): Update. 2005-12-16 Jason Molenda (jmolenda@apple.com) * Makefile (CDEBUGFLAGS): Drop -mdynamic-no-pic for now; libintl builds in a way that requires the relocations to be present even though only a .a file is finally generated. 2005-12-16 Jason Molenda (jmolenda@apple.com) * Makefile: Remove references to mmalloc. 2005-12-16 Jim Ingham * Makefile: Pass the GDB_RC_VERSION separately to the gdb submake. 2005-12-01 Ronnie Misra (rgmisra@apple.com) * gdb.sh: Update to recognize new translate program path/command line parameter. 2005-11-09 Jason Molenda (jmolenda@apple.com) * gdb.sh (oah750_binary): Add "-execOAH" command line parameter when invoking oah750 so it knows to leave our procmod setgid permissions in tact. 2005-10-19 Jason Molenda (jmolenda@apple.com) * gdb.sh: Copy DYLD_* into GDB_DYLD_* to get past the setgid barrier. 2005-09-30 Jason Molenda (jmolenda@apple.com) * Makefile: make the gdb binaries setgid procmod. 2005-06-07 Jason Molenda (jmolenda@apple.com) * Makefile (GDB_RC_VERSION): Bump to 450. Tumeric will be in the 420-449 range. 2005-05-28 Jason Molenda (jmolenda@apple.com) * gdb.sh: Update --help text. 2005-05-18 Jason Molenda (jmolenda@apple.com) * cache-symfiles.sh: Remove. * Makefile: Don't install cache-symfiles.sh. 2005-05-03 Jason Molenda (jmolenda@apple.com) * gdb.sh: Add --oah750 command line option. 2005-04-14 Jason Molenda (jmolenda@apple.com) * gdb.sh: Add a -arch command line option. 2005-01-18 Jason Molenda (jmolenda@apple.com) * Makefile (GDB_VERSION): Update to the last merge. 2004-12-06 Jason Molenda (jmolenda@apple.com) * Info-template.plist: It looks like CFBundleDevelopmentRegion needs to be defined; whatever. Looking at two installed frameworks I see English is an acceptable setting, so there we go. These are just private framework header files used for building gdb plug-ins anyway. 2004-08-09 Klee Dienes * Makefile: Post-process the man page to refer to $(SYSTEM_DEVELOPER_TOOLS_DOC_DIR) instead of hard-coding (see change to gdb/gdb.1). 2004-06-16 Jason Molenda (jmolenda@apple.com) * ntbuild.sh, ntconfig.sh: Removed. * dpkg/control: Removed. * ChangeLog.binutils: Removed. 2004-06-16 Jason Molenda (jmolenda@apple.com) * Makefile: Don't install binutils, unnecessary frameworks. Don't create /usr/lib, /usr/libexec/binutils directories. 2004-06-11 Jason Molenda (jmolenda@apple.com) * Makefile: Quote documentation directory pathnames in case a space character is added. 2004-06-08 Jim Ingham * cache-symfiles.sh: For now, don't emit cached symfiles if the original library has any stabs. gdb crashes when these are present (Radar 3418798) Also deleted the setting of "name" in the second (library) search, since we don't actually use it. Also, run the script far enough to delete the old symfile directory, since then gdb won't bother to look at a bunch of symfiles which it surely can't use. 2004-06-08 Jason Molenda (jmolenda@apple.com) * Makefile (SYSTEM_DEVELOPER_TOOLS_DOC_DIR): Set from pb_makefiles' plaform-variables.make if possible. 2004-06-07 Jason Molenda (jmolenda@apple.com) * Makefile: Move GDB_RC_VERSION up where I can see it. (SYSTEM_DEVELOPER_TOOLS_DOC_DIR): New variable to hold the location of the installed documentation, cf r. 3678942. (install-binutils-common): Don't install binutils docs. (install-binutils-macosx): Don't install binutils docs. (install-chmod-macosx): Update chmod call to avoid deprecation warning. 2004-05-17 Jason Molenda (jmolenda@apple.com) * Makefile: Bump GDB_RC_VERSION to new range. 2004-05-13 Jason Molenda (jmolenda@apple.com) * cached-symfiles.sh: Suppress cacheing of symfiles until Klee has a chance to make it work again in the newly merged sources. 2003-10-03 Jason Molenda (jmolenda@apple.com) * cache-symfiles.sh: Run nm on dylibs to ensure they're well formed before feeding them to gdb. 2003-07-24 Klee Dienes * cache-symfiles.sh: Use the proper prefix for dyld; no longer remove the dyld.syms from the cached symfile directory. 2003-05-04 Klee Dienes * Makefile: Use GDB_RC_VERSION instead of APPLE_VERSION in the gdb.sh target. Use GDB_FRAMEWORKS and BINUTILS_FRAMEWORKS instead of FRAMEWORKS in the install target. 2003-05-04 Klee Dienes * cache-symfiles.sh: Use the correct path to GDB. Don't read the user's .gdbinit. Check for dangling symlinks in /usr/lib. 2003-04-24 Jim Ingham * Makefile: Don't chmod the dylds if you aren't doing --enable-shared. Also change the version string to 268. 2003-04-25 Klee Dienes * cache-symfiles.sh: Update to use the new cached-symfile creation commands. 2003-03-18 Jason Molenda (jmolenda@apple.com) * Makefile (GDB_VERSION): Updated date string to most recent merge. (CONFIG_OTHER_OPTIONS): Add --disable-serial-configure. Not exactly sure what is up with this, but buildit fails without it -- somehow configure-liberty is being triggered from the "configure-gdb" target and the build fails because libiberty isn't included in the sources. 2003-01-14 Klee Dienes * Makefile: Update to use the top-level configure, and then run make configure-gdb. Build intl and readline for each cross-compiled platform, rather than re-using the native build. 2002-12-12 Klee Dienes * cache-symfiles.sh: Test each potential framework for validity, rather than by using an explicit list of invalid framework. * configure: Update to configure the needed subdirectories (they are no longer automatically configured by the top-level configure). Remove __objcInit removal code (it's removed by the GDB makefile). 2002-10-28 Klee Dienes * Makefile: Remove PDO support. Convert "rhapsody" to "macosx". Remove obsolete Mac OS X release names. Use *-apple-darwin instead of *-apple-macos10 as the primary build string. Remove WITH_CFM and WITH_PTHREADS options. Pass location for libintl.dylib. * gdb.sh: Convert *-apple-macos10 to *-apple-darwin. * template.h: Convert *-apple-macos10 to *-apple-darwin. Remove Rhapsody support. * macsbug/Makefile: Convert *-apple-macos10 to *-apple-darwin. * macsbug/build.sh: Remove. 2002-09-24 Klee Dienes * Makefile: Update version number. * Makefile: Add *-macosx-darwin to the list of recognized arch strings. * Makefile: Strip trailing and leading spaces from CFLAGS. * template.h: include machine/sys--sys/file, not sys--sys/file.