socsvn commit: r240198 - soc2012/jhagewood/diff

jhagewood at FreeBSD.org jhagewood at FreeBSD.org
Wed Aug 8 16:48:52 UTC 2012


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


More information about the svn-soc-all mailing list