From afc0805e4d7979109123e464737b08b8771f9c46 Mon Sep 17 00:00:00 2001 From: obache Date: Sat, 9 Sep 2006 12:52:11 +0000 Subject: Update ald to 0.1.7. Close PR 26552. 0.1.7 2004/10/10 - added commands: display, ldisplay, undisplay to dump specified memory locations after each single step (thanks to ziberpunk for the suggestion and code) - all Makefiles are now based on automake in the hopes that this will fix some of the problems integrating ald into the *BSD ports systems - bug fix where a pointer wasn't set to NULL after clearing program arguments with the "set args" command - this is related to the previous feature: if the effective address lies inside a symbol/function, the corresponding symbol is now displayed - for CALL and JMP instructions, exact target/effective addresses are now computed (code for this was contributed by Samuel Falvo II ) - upgraded all configure scripts to autoconf v2.59 0.1.6 2004/07/23 - 2 bug fixes in "examine" command relating to dumping large numbers of bytes (found by mbe21 ) - bug fix where ~/.aldrc was not saved on ^D - minor memory leak fix which would occur in the loading of ~/.aldrc on startup (found by Alfredo Beaumont ) - more graceful handling of when the debugged program receives an unknown signal - "examine" command can now take section and symbol names in addition to numerical addresses - fix for libreadline detection in autoconf - ripped out all ncurses related code - minor memory leak fix: During print bursts, users may hit 'q' or ^C to stop the burst. This is implemented via a longjmp() call, but if memory was allocated beforehand, it would not have been freed since longjmp() alters the path of execution. A simple list structure was implemented to fix this. - fixed some issues related to upgrade to autoconf 2.58 - bumped LICENSE up to GPL v2 - "register" command now defaults to compact output format - fixed some minor disassembly bugs - got ald to compile on NetBSD 1.6.2 (many thanks to Brad Spencer for providing me with a NetBSD shell account) 0.1.5p1 2003/10/14 - bandaid to top level Makefile.in to make ald compile in OpenBSD's ports system 0.1.5 2003/10/11 - "file secinfo" command can now output information on a.out sections - added TODO and BUGS files - fixed problems relating to changing values of fpu special purpose registers - added some missing SSE instructions to libDASM - OpenBSD support is back: fixed compile problems relating to fpu code, tested on 3.3 release - bug fixes in disassembling various MMX instructions (thanks to Peter Boettcher for patch) - changed library libDisasm to libDASM (Debugger's Assembler Library) in anticipation of its new capability to assemble instructions - added OSABI information to elf header parsing in libOFF (someone sent me a patch for this ages ago - sorry for taking so long!) - added -DNDEBUG to turn off assert() in out-of-the-box compiles - bug fix in a.out parser: now checks for QMAGIC binaries - "file symbols" command has changed to "file syminfo" and you can now use "file syminfo [symbol name]" to get information for a specific symbol - added libOFF to handle all the object file format stuff 0.1.4 2003/07/09 - libOp has been replaced with the rewritten library libDisasm which has a better overall design - incorporated hp's patch: . "disassemble" command now shows symbol information. Also added "set disasm-show-syms" to toggle this feature on/off. . added ascii output for all size memory dumps . bug fix in elf header parsing - added ~/.aldrc configuration file to save settings - fixed MSB problem when setting register values 0.1.3 2002/06/29 - added "set step-display-mmxregs" option to display mmx registers after single stepping - "lbreak" command now shows the name of the symbol containing each breakpoint, if any 0.1.2 2002/06/14 - added "set step-display-fpregs" option to display fpu registers after single stepping - added "-all" flag to "register" command to output fpu registers - fix for disassembling fld opcodes - fix in elf parser for executables with no section name string table present 0.1.1 2002/04/24 - bug fix in disassembling opcodes with /digit fields - bug fix in setting breakpoints which are close together - bug fix in handling of runtime arguments - new man page 0.1.0 2002/04/13 - added attach/detach commands - added human readable flags register output - minor bugfixes --- devel/ald/patches/patch-aa | 13 ------------- devel/ald/patches/patch-ab | 22 ---------------------- devel/ald/patches/patch-ac | 17 ----------------- devel/ald/patches/patch-ad | 13 ------------- devel/ald/patches/patch-ae | 20 -------------------- devel/ald/patches/patch-af | 13 ------------- devel/ald/patches/patch-ag | 13 ------------- devel/ald/patches/patch-ah | 20 -------------------- 8 files changed, 131 deletions(-) delete mode 100644 devel/ald/patches/patch-aa delete mode 100644 devel/ald/patches/patch-ab delete mode 100644 devel/ald/patches/patch-ac delete mode 100644 devel/ald/patches/patch-ad delete mode 100644 devel/ald/patches/patch-ae delete mode 100644 devel/ald/patches/patch-af delete mode 100644 devel/ald/patches/patch-ag delete mode 100644 devel/ald/patches/patch-ah (limited to 'devel/ald/patches') diff --git a/devel/ald/patches/patch-aa b/devel/ald/patches/patch-aa deleted file mode 100644 index 9565d75f9a1..00000000000 --- a/devel/ald/patches/patch-aa +++ /dev/null @@ -1,13 +0,0 @@ -$NetBSD: patch-aa,v 1.1.1.1 2002/04/22 11:51:50 agc Exp $ - ---- ./libDebug/arch/ix86/include/regs-x86.h.orig Wed Apr 17 08:33:10 2002 -+++ ./libDebug/arch/ix86/include/regs-x86.h -@@ -23,7 +23,7 @@ - { - char *name; /* register name */ - --#if defined(FreeBSD) -+#if defined(FreeBSD) || defined(__NetBSD__) - - unsigned int *valptr; /* pointer to location of register contents */ - diff --git a/devel/ald/patches/patch-ab b/devel/ald/patches/patch-ab deleted file mode 100644 index 3cfbdfc41b7..00000000000 --- a/devel/ald/patches/patch-ab +++ /dev/null @@ -1,22 +0,0 @@ -$NetBSD: patch-ab,v 1.1.1.1 2002/04/22 11:51:50 agc Exp $ - ---- ./libDebug/arch/ix86/include/trace-x86.h.orig Wed Apr 17 08:33:30 2002 -+++ ./libDebug/arch/ix86/include/trace-x86.h -@@ -20,7 +20,7 @@ - #endif - - #ifndef INCLUDED_config_h --#include "config.h" /* OpenBSD, FreeBSD, Linux */ -+#include "config.h" /* OpenBSD, FreeBSD, NetBSD, Linux */ - #define INCLUDED_config_h - #endif - -@@ -29,7 +29,7 @@ - */ - #define BRKPT_INSN 0xCC - --#if defined(FreeBSD) || defined(OpenBSD) -+#if defined(FreeBSD) || defined(OpenBSD) || defined(__NetBSD__) - - /* - * Continuation address diff --git a/devel/ald/patches/patch-ac b/devel/ald/patches/patch-ac deleted file mode 100644 index 718b9b50106..00000000000 --- a/devel/ald/patches/patch-ac +++ /dev/null @@ -1,17 +0,0 @@ -$NetBSD: patch-ac,v 1.1.1.1 2002/04/22 11:51:50 agc Exp $ - ---- ./libDebug/arch/ix86/source/Makefile.in.orig Wed Apr 17 08:34:00 2002 -+++ ./libDebug/arch/ix86/source/Makefile.in -@@ -11,8 +11,11 @@ - - DEPENDFILE = .depend - -+# below used to be: -+# @os_makefile_frag@ \ instead of bsd-x86 thingy -+ - OBJECTS = \ -- @os_makefile_frag@ \ -+ $(OBJDIR)/bsd-x86.o \ - $(OBJDIR)/sub-x86.o \ - $(OBJDIR)/trace-x86.o - diff --git a/devel/ald/patches/patch-ad b/devel/ald/patches/patch-ad deleted file mode 100644 index 93f1bf3ff34..00000000000 --- a/devel/ald/patches/patch-ad +++ /dev/null @@ -1,13 +0,0 @@ -$NetBSD: patch-ad,v 1.1.1.1 2002/04/22 11:51:50 agc Exp $ - ---- ./libDebug/arch/ix86/source/trace-x86.c.orig Wed Apr 17 08:36:14 2002 -+++ ./libDebug/arch/ix86/source/trace-x86.c -@@ -30,7 +30,7 @@ - #include "config.h" - #include "debug.h" - --#if defined(FreeBSD) || defined(OpenBSD) -+#if defined(FreeBSD) || defined(OpenBSD) || defined(__NetBSD__) - # include "bsd-x86.h" - #elif defined(Linux) - # include "linux-x86.h" diff --git a/devel/ald/patches/patch-ae b/devel/ald/patches/patch-ae deleted file mode 100644 index cfd3c0562bf..00000000000 --- a/devel/ald/patches/patch-ae +++ /dev/null @@ -1,20 +0,0 @@ -$NetBSD: patch-ae,v 1.1.1.1 2002/04/22 11:51:50 agc Exp $ - ---- ./libDebug/include/config.h.in.orig Wed Apr 17 08:38:31 2002 -+++ ./libDebug/include/config.h.in -@@ -1,13 +1,13 @@ - /* include/config.h.in. Generated automatically from configure.in by autoheader. */ - - /* Define if you have the ANSI C header files. */ --#undef STDC_HEADERS -+#define STDC_HEADERS 1 - - /* Define if you are running FreeBSD. */ - #undef FreeBSD - - /* Define if you are running NetBSD. */ --#undef osNetBSD -+#define osNetBSD 1 - - /* Define if you are running OpenBSD. */ - #undef OpenBSD diff --git a/devel/ald/patches/patch-af b/devel/ald/patches/patch-af deleted file mode 100644 index 4a574e6a308..00000000000 --- a/devel/ald/patches/patch-af +++ /dev/null @@ -1,13 +0,0 @@ -$NetBSD: patch-af,v 1.1.1.1 2002/04/22 11:51:50 agc Exp $ - ---- ./libOp/arch/ix86/source/Makefile.in.orig Wed Apr 17 08:39:42 2002 -+++ ./libOp/arch/ix86/source/Makefile.in -@@ -4,7 +4,7 @@ - - CC = @CC@ - CFLAGS = @CFLAGS@ --INCLUDE = -I../include -I../../../include -I../../../../libString/include -+INCLUDE = -I${PREFIX}/include -I../include -I../../../include -I../../../../libString/include - RM = @RM@ -f - - OBJDIR = ../../../objects diff --git a/devel/ald/patches/patch-ag b/devel/ald/patches/patch-ag deleted file mode 100644 index 62e408214f2..00000000000 --- a/devel/ald/patches/patch-ag +++ /dev/null @@ -1,13 +0,0 @@ -$NetBSD: patch-ag,v 1.1.1.1 2002/04/22 11:51:50 agc Exp $ - ---- ./source/Makefile.in.orig Wed Apr 17 08:40:01 2002 -+++ ./source/Makefile.in -@@ -7,7 +7,7 @@ - LDFLAGS = @LDFLAGS@ - #INCLUDE = @INCLUDE@ - # DEFS = --LIBS = @LIBS@ -+LIBS = @LIBS@ -lString -lDebug -lOp - LIBDEPS = ../lib/libString.a ../lib/libDebug.a ../lib/libOp.a - MKDEP = $(CC) -MM - diff --git a/devel/ald/patches/patch-ah b/devel/ald/patches/patch-ah deleted file mode 100644 index 9529a2faf72..00000000000 --- a/devel/ald/patches/patch-ah +++ /dev/null @@ -1,20 +0,0 @@ -$NetBSD: patch-ah,v 1.1.1.1 2002/04/22 11:51:50 agc Exp $ - ---- ./source/terminal.c.orig Wed Apr 17 08:40:22 2002 -+++ ./source/terminal.c -@@ -18,14 +18,8 @@ - #include - #include - #include -- --#ifdef HAVE_CURSES_H - #include --#endif -- --#ifdef HAVE_TERM_H --#include --#endif -+/*#include */ - - #include "misc.h" - #include "print.h" -- cgit v1.2.3