From owner-svn-soc-all@FreeBSD.ORG Wed Aug 8 16:48:52 2012 Return-Path: Delivered-To: svn-soc-all@FreeBSD.org Received: from socsvn.FreeBSD.org (unknown [IPv6:2001:4f8:fff6::2f]) by hub.freebsd.org (Postfix) with SMTP id DF16E106564A for ; Wed, 8 Aug 2012 16:48:49 +0000 (UTC) (envelope-from jhagewood@FreeBSD.org) Received: by socsvn.FreeBSD.org (sSMTP sendmail emulation); Wed, 08 Aug 2012 16:48:49 +0000 Date: Wed, 08 Aug 2012 16:48:49 +0000 From: jhagewood@FreeBSD.org To: svn-soc-all@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Message-Id: <20120808164849.DF16E106564A@hub.freebsd.org> Cc: Subject: socsvn commit: r240198 - soc2012/jhagewood/diff X-BeenThere: svn-soc-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the entire Summer of Code repository List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Aug 2012 16:48:52 -0000 Author: jhagewood Date: Wed Aug 8 16:48:49 2012 New Revision: 240198 URL: http://svnweb.FreeBSD.org/socsvn/?view=rev&rev=240198 Log: gdb output for error in zdiff Modified: soc2012/jhagewood/diff/TODO Modified: soc2012/jhagewood/diff/TODO ============================================================================== --- soc2012/jhagewood/diff/TODO Wed Aug 8 16:45:13 2012 (r240197) +++ soc2012/jhagewood/diff/TODO Wed Aug 8 16:48:49 2012 (r240198) @@ -74,4 +74,40 @@ -'m' -'n' -'E, F, L, M, N' - + +- gdb output for error in zdiff integration: + +GNU gdb 6.1.1 [FreeBSD] +Copyright 2004 Free Software Foundation, Inc. +GDB is free software, covered by the GNU General Public License, and you are +welcome to change it and/or distribute copies of it under certain conditions. +Type "show copying" to see the conditions. +There is absolutely no warranty for GDB. Type "show warranty" for details. +This GDB was configured as "amd64-marcel-freebsd"... +(gdb) run 1.txt 2.txt +Starting program: /usr/home/jesse/Documents/diff/zdiff 1.txt 2.txt + +Program received signal SIGBUS, Bus error. +0x0000000800b5ead8 in getdtablesize () from /lib/libc.so.7 +(gdb) list +197 +198 static void set_argstr(char **, char **); +199 static void usage(void); +200 static void push_excludes(char *); +201 static void push_ignore_pats(char *); +202 static void read_excludes_file(char *); +203 +204 int +205 main(int argc, char **argv) +206 { +(gdb) where +#0 0x0000000800b5ead8 in getdtablesize () from /lib/libc.so.7 +#1 0x0000000800b5ebfd in getdtablesize () from /lib/libc.so.7 +#2 0x0000000800b5e6dd in f_prealloc () from /lib/libc.so.7 +#3 0x0000000800b4282c in funopen () from /lib/libc.so.7 +#4 0x0000000800b425ca in rewind () from /lib/libc.so.7 +#5 0x0000000000403bef in istextfile (f=0x7fffffffdb85) at diffreg.c:1375 +#6 0x000000000040615c in diffreg (ofile1=0x7fffffffdb85 "ocal/bintxt", + ofile2=0x7fffffffdb8b "intxt", flags=Variable "flags" is not available. +) at diffreg.c:389 +#7 0x0000000000402c7f in main (argc=2, argv=0x7fffffffd8b0) at diff.c:506