pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/devel/ddd Updated ddd to 3.3.10
details: https://anonhg.NetBSD.org/pkgsrc/rev/d9150697fef9
branches: trunk
changeset: 487201:d9150697fef9
user: martti <martti%pkgsrc.org@localhost>
date: Tue Jan 11 09:04:16 2005 +0000
description:
Updated ddd to 3.3.10
* New features and minor improvements
- More fixes for perl 5.8.x -- it's now a lot more usable.
- Fixes for Sun's SunONE Studio dbx (1). Build with -DHAVE_SUNDBX is
necessary. Improvements for automatic detection of Sun DBX are welcome.
- Fixes for MacOS X (mainly workarounds for bugs in gdb) (2).
- Support for PHP debugger has been added (1). This is essentially not
tested.
- Source files in subdirectories should be located automatically
when using dbx (tested on Solaris' dbx) (2).
- The perl version supported by DDD is now 5.8.x. The perl debugger
changed between perl 5.6.x and perl 5.8.0, which made this update necessary.
This change is not backwards-compatible. If it is not possible to upgrade
your perl version to 5.8.x or newer, then you can simply install the file
"perl5db.pl" from a recent perl distribution into your old perl tree.
- Through the maintenance menu ("ddd --maintenance"), it now possible to get
a leak check of ddd if ddd is run under valgrind. This is only useful for
ddd developers (or anybody that wants to help making ddd better).
- Several minor bugs fixed, some memory leaks plugged, more code clean-up
done.
- A bug affecting platforms where the size of function pointers is 16 has
been fixed.
- The settings window now starts at a larger, more reasonable size, and
allows the user to resize it.
* Build fixes
- automake 1.9 is now the minimum requirement. This affects only builds
from CVS repository.
- A warning is emitted if a version of g++ older than 3.1 is used.
- libiberty is neither linked nor bundled anymore.
- GNU libtermcap is not bundled anymore. A termcap like library (such as
ncurses) is now required to build ddd.
- The configure machinery has been updated to conform more closely to the
autoconf 2.5x requirements. Several bugs have been fixed.
Minimum requirements: autoconf 2.59, automake 1.7.9, libtool 1.5.
- libiberty (which provides missing standard functions) is not linked by
default anymore. configure has a new option '--with-libiberty' that
enables the libiberty support if required.
If nobody complains, libiberty will be unbundled in a next version.
- The libiberty distributed with ddd has been upgraded to the one included
in GCC 3.4 20040116. It fixes some configuration problems.
- Builds with GCC 3.4, with IBM xlC on AIX, with Compaq/HP cxx on Tru64,
on X11R5 based systems, with SGI CC on IRIX should be OK.
- Builds on HP-UX should now work out-of-the-box. Motif is linked statically
and the Athena libraries are now found by default.
- Builds without Motif/Lesstif available abort with an adequate message.
- Builds with readline support now work. readline is not bundled anymore.
- Builds without -DNDEBUG (i.e. with "assert" enabled) now work.
Default build enables assertions (i.e. -DNDEBUG is not used).
- Several missing files in the distribution are now included.
- Cygwin is supported again.
diffstat:
devel/ddd/Makefile | 11 +-
devel/ddd/PLIST | 3 +-
devel/ddd/distinfo | 14 +-
devel/ddd/patches/patch-ai | 12 +-
devel/ddd/patches/patch-aj | 13 -
devel/ddd/patches/patch-ak | 13 -
devel/ddd/patches/patch-al | 717 ---------------------------------------------
devel/ddd/patches/patch-am | 232 --------------
devel/ddd/patches/patch-an | 44 --
devel/ddd/patches/patch-ao | 22 -
10 files changed, 15 insertions(+), 1066 deletions(-)
diffs (truncated from 1151 to 300 lines):
diff -r daae7dab08d6 -r d9150697fef9 devel/ddd/Makefile
--- a/devel/ddd/Makefile Tue Jan 11 05:29:55 2005 +0000
+++ b/devel/ddd/Makefile Tue Jan 11 09:04:16 2005 +0000
@@ -1,14 +1,14 @@
-# $NetBSD: Makefile,v 1.60 2004/10/03 00:13:26 tv Exp $
+# $NetBSD: Makefile,v 1.61 2005/01/11 09:04:16 martti Exp $
#
-DISTNAME= ddd-3.3.8
-PKGREVISION= 1
+DISTNAME= ddd-3.3.10
+#PKGREVISION= 1
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_GNU:=ddd/}
-MAINTAINER= martti%NetBSD.org@localhost
+MAINTAINER= martti%NetBSD.org@localhost
HOMEPAGE= http://www.gnu.org/software/ddd/
-COMMENT= Data Display Debugger -- a common graphical front-end for GDB/DBX/XDB
+COMMENT= Data Display Debugger -- graphical front-end for GDB/DBX/XDB
GNU_CONFIGURE= YES
INFO_FILES= ddd-themes.info ddd.info
@@ -51,5 +51,4 @@
.include "../../graphics/xpm/buildlink3.mk"
.include "../../mk/motif.buildlink3.mk"
-.include "../../devel/libiberty/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
diff -r daae7dab08d6 -r d9150697fef9 devel/ddd/PLIST
--- a/devel/ddd/PLIST Tue Jan 11 05:29:55 2005 +0000
+++ b/devel/ddd/PLIST Tue Jan 11 09:04:16 2005 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.8 2004/06/04 11:19:32 shannonjr Exp $
+@comment $NetBSD: PLIST,v 1.9 2005/01/11 09:04:16 martti Exp $
bin/ddd
man/man1/ddd.1
share/${PKGNAME}/COPYING
@@ -6,6 +6,7 @@
share/${PKGNAME}/ddd/Ddd
share/${PKGNAME}/themes/green.vsl
share/${PKGNAME}/themes/red.vsl
+share/${PKGNAME}/themes/rednil.vsl
share/${PKGNAME}/themes/smalltitles.vsl
share/${PKGNAME}/themes/smallvalues.vsl
share/${PKGNAME}/themes/suppress.vsl
diff -r daae7dab08d6 -r d9150697fef9 devel/ddd/distinfo
--- a/devel/ddd/distinfo Tue Jan 11 05:29:55 2005 +0000
+++ b/devel/ddd/distinfo Tue Jan 11 09:04:16 2005 +0000
@@ -1,11 +1,5 @@
-$NetBSD: distinfo,v 1.12 2004/06/04 11:19:32 shannonjr Exp $
+$NetBSD: distinfo,v 1.13 2005/01/11 09:04:16 martti Exp $
-SHA1 (ddd-3.3.8.tar.gz) = abf341271c5912a5fc6728cb8649c45653d755eb
-Size (ddd-3.3.8.tar.gz) = 8606382 bytes
-SHA1 (patch-ai) = 3998eceddf2e6379489d82eeef40dce51cb37dab
-SHA1 (patch-aj) = d6657a0fc1e574de53b481f5fb6d56d546ea4edb
-SHA1 (patch-ak) = 476151cd38404d7ec9d409905841cc2e0b3b7364
-SHA1 (patch-al) = 3ea62d81e02fe89153156be25e12b53a67d1958a
-SHA1 (patch-am) = 8f885993627b1ef490f8c6b92cb006140c47947a
-SHA1 (patch-an) = fb5bdabdbb578ed982407b9fac5a521a4ba722cd
-SHA1 (patch-ao) = 2754d1106740db9c563ef42391acee7174f4a06f
+SHA1 (ddd-3.3.10.tar.gz) = c58de1d48a6275052e9cb03ba3b35cb42950935c
+Size (ddd-3.3.10.tar.gz) = 7620458 bytes
+SHA1 (patch-ai) = 513621cb015cde43736ad9c28e1535358c398992
diff -r daae7dab08d6 -r d9150697fef9 devel/ddd/patches/patch-ai
--- a/devel/ddd/patches/patch-ai Tue Jan 11 05:29:55 2005 +0000
+++ b/devel/ddd/patches/patch-ai Tue Jan 11 09:04:16 2005 +0000
@@ -1,13 +1,9 @@
-$NetBSD: patch-ai,v 1.1 2004/06/04 11:19:32 shannonjr Exp $
+$NetBSD: patch-ai,v 1.2 2005/01/11 09:04:16 martti Exp $
---- ddd/Command.C.orig 2003-10-07 05:58:23.000000000 -0600
-+++ ddd/Command.C
-@@ -191,6 +191,8 @@ void translate_command(string& command)
-
- case GDB:
+--- ddd/Command.C.orig 2004-06-07 14:52:52.000000000 +0300
++++ ddd/Command.C 2005-01-11 10:15:09.000000000 +0200
+@@ -190,2 +190,4 @@
break;
+ default:
+ break;
}
-
- // When recording, realize certain commands as auto commands.
diff -r daae7dab08d6 -r d9150697fef9 devel/ddd/patches/patch-aj
--- a/devel/ddd/patches/patch-aj Tue Jan 11 05:29:55 2005 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,13 +0,0 @@
-$NetBSD: patch-aj,v 1.1 2004/06/04 11:19:32 shannonjr Exp $
-
---- ddd/DataDisp.C.orig 2003-10-07 05:58:23.000000000 -0600
-+++ ddd/DataDisp.C
-@@ -4425,7 +4425,7 @@ void DataDisp::refresh_displaySQ(Widget
- }
- }
-
--void DataDisp::refresh_displayOQAC (const StringArray& answers,
-+void DataDisp::refresh_displayOQAC (StringArray& answers,
- const VoidArray& qu_datas,
- void* data)
- {
diff -r daae7dab08d6 -r d9150697fef9 devel/ddd/patches/patch-ak
--- a/devel/ddd/patches/patch-ak Tue Jan 11 05:29:55 2005 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,13 +0,0 @@
-$NetBSD: patch-ak,v 1.1 2004/06/04 11:19:32 shannonjr Exp $
-
---- ddd/DataDisp.h.orig 2003-09-22 11:11:52.000000000 -0600
-+++ ddd/DataDisp.h
-@@ -467,7 +467,7 @@ private:
- static void new_user_displayOQC (const string& answer, void* data);
-
- static void refresh_displayOQC (const string& answer, void* data);
-- static void refresh_displayOQAC (const StringArray& answers,
-+ static void refresh_displayOQAC (StringArray& answers,
- const VoidArray& qu_datas,
- void* data);
-
diff -r daae7dab08d6 -r d9150697fef9 devel/ddd/patches/patch-al
--- a/devel/ddd/patches/patch-al Tue Jan 11 05:29:55 2005 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,717 +0,0 @@
-$NetBSD: patch-al,v 1.1 2004/06/04 11:19:32 shannonjr Exp $
-
---- ddd/GDBAgent.C.orig 2003-10-11 05:03:33.000000000 -0600
-+++ ddd/GDBAgent.C
-@@ -175,6 +175,7 @@ char GDBAgent_rcsid[] =
-
- DEFINE_TYPE_INFO_1(GDBAgent, TTYAgent);
-
-+#define DBG_PROMPT "dbg>"
-
- //-----------------------------------------------------------------------------
- // Construction and setup
-@@ -189,27 +190,28 @@ GDBAgent::GDBAgent (XtAppContext app_con
- state(BusyOnInitialCmds),
- _type(tp),
- _user_data(0),
-- _has_frame_command(tp == GDB || tp == XDB || tp == BASH),
-+ _has_frame_command(tp == BASH || tp == GDB || tp == XDB),
- _has_func_command(tp == DBX),
-+ _has_file_command(tp == DBX),
- _has_run_io_command(false),
- _has_print_r_option(false),
- _has_output_command(false),
- _has_where_h_option(false),
-- _has_display_command(tp == GDB || tp == DBX || tp == PYDB || tp == BASH),
-- _has_clear_command(tp == GDB || tp == DBX || tp == JDB || tp == PERL || tp == BASH),
-+ _has_display_command(tp == BASH || tp == DBX || tp == GDB || tp == PYDB),
-+ _has_clear_command(tp == BASH || tp == DBX || tp == GDB || tp == JDB || tp == PERL),
- _has_handler_command(false),
-- _has_pwd_command(tp == GDB || tp == DBX || tp == PYDB || tp == PERL || tp == BASH),
-+ _has_pwd_command(tp == BASH || tp == DBX || tp == GDB || tp == PYDB || tp == PERL),
- _has_setenv_command(tp == DBX),
- _has_edit_command(tp == DBX),
- _has_make_command(tp == GDB || tp == DBX || tp == PERL),
- _has_jump_command(tp == GDB || tp == DBX || tp == XDB),
- _has_regs_command(tp == GDB),
- _has_watch_command(0), // see below
-- _has_named_values(tp == GDB || tp == DBX || tp == JDB),
-+ _has_named_values(tp == DBX || tp == GDB || tp == JDB),
- _has_when_command(tp == DBX),
- _has_when_semicolon(tp == DBX),
- _wants_delete_comma(false),
-- _has_err_redirection(tp == GDB || tp == DBX || tp == XDB),
-+ _has_err_redirection(tp == DBX || tp == GDB || tp == XDB),
- _has_givenfile_command(false),
- _has_cont_sig_command(false),
- _has_examine_command(tp == GDB || tp == DBX),
-@@ -219,10 +221,10 @@ GDBAgent::GDBAgent (XtAppContext app_con
- _has_addproc_command(false),
- _has_debug_command(true),
- _is_windriver_gdb(false),
-- _program_language((tp == JDB) ? LANGUAGE_JAVA :
-- (tp == PYDB) ? LANGUAGE_PYTHON :
-+ _program_language((tp == BASH) ? LANGUAGE_BASH :
-+ (tp == JDB) ? LANGUAGE_JAVA :
- (tp == PERL) ? LANGUAGE_PERL :
-- (tp == BASH) ? LANGUAGE_BASH :
-+ (tp == PYDB) ? LANGUAGE_PYTHON :
- LANGUAGE_C),
- _verbatim(false),
- _recording(false),
-@@ -280,6 +282,7 @@ GDBAgent::GDBAgent(const GDBAgent& gdb)
- _user_data(0),
- _has_frame_command(gdb.has_frame_command()),
- _has_func_command(gdb.has_func_command()),
-+ _has_file_command(gdb.has_file_command()),
- _has_run_io_command(gdb.has_run_io_command()),
- _has_print_r_option(gdb.has_print_r_option()),
- _has_output_command(gdb.has_output_command()),
-@@ -336,15 +339,15 @@ GDBAgent::GDBAgent(const GDBAgent& gdb)
- const string& GDBAgent::title() const
- {
- #define TITLES \
--X(tGDB,"GDB"), \
--X(tWBD,"WDB"), \
--X(tXDB,"XDB"), \
--X(tLADEBUG,"Ladebug"), \
-+X(tBASH,"Bash"), \
- X(tDBX,"DBX"), \
-+X(tGDB,"GDB"), \
- X(tJDB,"JDB"), \
--X(tPYDB,"PYDB"), \
-+X(tLADEBUG,"Ladebug"), \
- X(tPERL,"Perl"), \
--X(tBASH,"Bash"), \
-+X(tPYDB,"PYDB"), \
-+X(tWBD,"WDB"), \
-+X(tXDB,"XDB"), \
- X(tDEBUGGER,"debugger")
- enum{
- #define X(a,b) a
-@@ -363,11 +366,8 @@ X(tDEBUGGER,"debugger")
-
- switch (type())
- {
-- case GDB:
-- if (path().contains("wdb"))
-- return titles[tWBD];
-- else
-- return titles[tGDB];
-+ case BASH:
-+ return titles[tBASH];
-
- case DBX:
- if (is_ladebug())
-@@ -375,20 +375,23 @@ X(tDEBUGGER,"debugger")
- else
- return titles[tDBX];
-
-- case XDB:
-- return titles[tXDB];
-+ case GDB:
-+ if (path().contains("wdb"))
-+ return titles[tWBD];
-+ else
-+ return titles[tGDB];
-
- case JDB:
- return titles[tJDB];
-
-- case PYDB:
-- return titles[tPYDB];
--
- case PERL:
- return titles[tPERL];
-
-- case BASH:
-- return titles[tBASH];
-+ case PYDB:
-+ return titles[tPYDB];
-+
-+ case XDB:
-+ return titles[tXDB];
- }
-
- return titles[tDEBUGGER];
-@@ -620,8 +623,8 @@ void GDBAgent::init_qu_array (const Stri
- _qu_count = qu_count;
- _qa_data = qa_data;
-
-- StringArray empty_s;
-- VoidArray empty_v;
-+ static const StringArray empty_s;
-+ static const VoidArray empty_v;
-
- complete_answers = empty_s;
- cmd_array = empty_s;
-@@ -830,13 +833,13 @@ bool GDBAgent::ends_with_prompt (const s
- return false; // Never reached
- }
-
--static bool ends_in(const string& answer, const string& prompt)
-+static bool ends_in(const string& answer, const char *prompt)
- {
-- return answer.contains(prompt, answer.length() - prompt.length());
-+ return answer.contains(prompt, answer.length() - strlen(prompt));
- }
-
- // JDB should be applied on itself.
--bool GDBAgent::is_exception_answer(const string& answer)
-+bool GDBAgent::is_exception_answer(const string& answer) const
- {
- // Any JDB backtrace contains these lines.
- return type() == JDB &&
-@@ -862,7 +865,7 @@ void GDBAgent::set_exception_state(bool
-
-
- // Return true iff ANSWER ends with secondary prompt.
--bool GDBAgent::ends_with_secondary_prompt (const string& ans)
-+bool GDBAgent::ends_with_secondary_prompt (const string& ans) const
- {
- string answer = ans;
- strip_control(answer);
-@@ -902,11 +905,11 @@ bool GDBAgent::ends_with_secondary_promp
- // Prompt is `> ' at beginning of line
- return answer == "> " || ends_in(answer, "\n> ");
Home |
Main Index |
Thread Index |
Old Index