GNU DDD 3.3.8 (i386-pc-linux-gnu) Copyright (C) 1995-1999 Technische Universität Braunschweig, Germany. Copyright (C) 1999-2001 Universität Passau, Germany. Copyright (C) 2001 Universität des Saarlandes, Germany. Compiled with GCC 3.3.3 (Debian 20040401), GNU libc 2.3 Requires X11R6, Xt11R6, Motif 2.1 (GNU/LessTif Version 2.1 Release 0.93.94) Includes XPM 3.4.11, Athena Panner (7000002L), DDD core Built 2004-04-29 by Daniel Schepler Wed, 28 Apr 2004 16:55:43 -0700. $ ddd population_test + /bin/sh -c 'exec gdb -q -fullname '\''population_test'\''' # Hello, world! # Starting GDB... # Enabling core dumps... # Enabling core dumps...done. # Running GDB (pid 663, tty /dev/pts/2)... # Current language: C/C++ # Searching "vsllib/ddd.vsl"... # Trying "/home/piotr/.ddd/vsllib/ddd.vsl" # Trying "/usr/share/ddd-3.3.8/vsllib/ddd.vsl" # Searching "vsllib/ddd.vsl"..."/usr/share/ddd-3.3.8/vsllib/ddd.vsl". <- "Using host libthread_db library \"/lib/libthread_db.so.1\".\n" "(gdb) " -> "set prompt (gdb) \n" <- "(gdb) " -> "set height 0\n" <- "(gdb) " -> "set width 0\n" <- "(gdb) " -> "set annotate 1\n" <- "(gdb) " -> " set verbose off\n" <- "(gdb) " -> "info line\n" <- "No line number information available.\n" "(gdb) " -> "list\n" <- "1\t#include \"tecom.h\"\n" "2\t\n" "3\tint main() {\n" "4\t struct population *population;\n" "5\t struct text *text;\n" "6\t char *description;\n" "7\t unsigned int i;\n" "8\t unsigned int f;\n" "9\t text = (struct text *)text_create(\"Celem napisania tej pracy jest danie nauczycielowi narz\352dzia, pomocy dydaktycznej, kt\363ra w spos\363b skondensowany a jednocze\266nie przejrzysty pomo\277e pozna\346 \266wiat ikon uczniom.\");\n" "10\t population = random_population (text, 20, 4);\n" "(gdb) " -> "info line\n" <- "Line 10 of \"population_test.c\" starts at address 0x8048653 and ends at 0x8048671 .\n" "\032\032/home/piotr/roboczy/zrodla/kompresja_tekstu/c/population_test.c:10:357:beg:0x8048653\n" "(gdb) " -> "output 4711\n" <- "4711(gdb) " -> "show language\n" <- "The current source language is \"auto; currently c\".\n" "(gdb) " -> "show version\n" <- "GNU gdb 6.1-debian\n" "Copyright 2004 Free Software Foundation, Inc.\n" "GDB is free software, covered by the GNU General Public License, and you are\n" "welcome to change it and/or distribute copies of it under certain conditions.\n" "Type \"show copying\" to see the conditions.\n" "There is absolutely no warranty for GDB. Type \"show warranty\" for details.\n" "This GDB was configured as \"i386-linux\".\n" "(gdb) " -> "pwd\n" <- "Working directory /home/piotr/roboczy/zrodla/kompresja_tekstu/c.\n" "(gdb) " -> "info breakpoints\n" <- "No breakpoints or watchpoints.\n" "(gdb) " -> "show history filename\n" <- "The filename in which to record the command history is \"/home/piotr/roboczy/zrodla/kompresja_tekstu/c/.gdb_history\".\n" "(gdb) " -> "show history size\n" <- "The size of the command history is 60000.\n" "(gdb) " # Reading file "/home/piotr/roboczy/zrodla/kompresja_tekstu/c/population_test.c"... # Reading file "/home/piotr/roboczy/zrodla/kompresja_tekstu/c/population_test.c"...done. # File "/home/piotr/roboczy/zrodla/kompresja_tekstu/c/population_test.c" 105 lines, 3900 characters # Setting buttons... # Setting buttons...done. -> "info source\n" <- "Current source file is population_test.c\n" "Compilation directory is /home/piotr/roboczy/zrodla/kompresja_tekstu/c\n" "Located in /home/piotr/roboczy/zrodla/kompresja_tekstu/c/population_test.c\n" "Contains 105 lines.\n" "Source language is c.\n" "Compiled with DWARF 2 debugging format.\n" "Does not include preprocessor macro info.\n" "(gdb) " -> "info files\n" <- "Symbols from \"/home/piotr/roboczy/zrodla/kompresja_tekstu/c/population_test\".\n" "Local exec file:\n" "\t`/home/piotr/roboczy/zrodla/kompresja_tekstu/c/population_test\', file type elf32-i386.\n" "\tEntry point: 0x8048570\n" "\t0x08048114 - 0x08048127 is .interp\n" "\t0x08048128 - 0x08048148 is .note.ABI-tag\n" "\t0x08048148 - 0x080481e4 is .hash\n" "\t0x080481e4 - 0x08048324 is .dynsym\n" "\t0x08048324 - 0x08048403 is .dynstr\n" "\t0x08048404 - 0x0804842c is .gnu.version\n" "\t0x0804842c - 0x0804844c is .gnu.version_r\n" "\t0x0804844c - 0x08048454 is .rel.dyn\n" "\t0x08048454 - 0x080484a4 is .rel.plt\n" "\t0x080484a4 - 0x080484bb is .init\n" "\t0x080484bc - 0x0804856c is .plt\n" "\t0x08048570 - 0x0804af80 is .text\n" "\t0x0804af80 - 0x0804af9b is .fini\n" "\t0x0804afa0 - 0x0804b338 is .rodata\n" "\t0x0804c338 - 0x0804c344 is .data\n" "\t0x0804c344 - 0x0804c348 is .eh_frame\n" "\t0x0804c348 - 0x0804c418 is .dynamic\n" "\t0x0804c418 - 0x0804c420 is .ctors\n" "\t0x0804c420 - 0x0804c428 is .dtors\n" "\t0x0804c428 - 0x0804c42c is .jcr\n" "\t0x0804c42c - 0x0804c464 is .got\n" "\t0x0804c464 - 0x0804c468 is .bss\n" "(gdb) " -> "info program\n" <- "The program being debugged is not being run.\n" "(gdb) " -> "set confirm off\n" <- "(gdb) " -> "source /tmp/dddIBhg2l\n" <- "(gdb) " -> "info breakpoints\n" <- "No breakpoints or watchpoints.\n" "(gdb) " -> "# reset\n" <- "(gdb) " -> "info breakpoints\n" <- "No breakpoints or watchpoints.\n" "(gdb) " -> "display\n" <- "(gdb) " -> "info display\n" <- "There are no auto-display expressions now.\n" "(gdb) " -> "set environment TERM dumb\n" <- "(gdb) " -> "info files\n" <- "Symbols from \"/home/piotr/roboczy/zrodla/kompresja_tekstu/c/population_test\".\n" "Local exec file:\n" "\t`/home/piotr/roboczy/zrodla/kompresja_tekstu/c/population_test\', file type elf32-i386.\n" "\tEntry point: 0x8048570\n" "\t0x08048114 - 0x08048127 is .interp\n" "\t0x08048128 - 0x08048148 is .note.ABI-tag\n" "\t0x08048148 - 0x080481e4 is .hash\n" "\t0x080481e4 - 0x08048324 is .dynsym\n" "\t0x08048324 - 0x08048403 is .dynstr\n" "\t0x08048404 - 0x0804842c is .gnu.version\n" "\t0x0804842c - 0x0804844c is .gnu.version_r\n" "\t0x0804844c - 0x08048454 is .rel.dyn\n" "\t0x08048454 - 0x080484a4 is .rel.plt\n" "\t0x080484a4 - 0x080484bb is .init\n" "\t0x080484bc - 0x0804856c is .plt\n" "\t0x08048570 - 0x0804af80 is .text\n" "\t0x0804af80 - 0x0804af9b is .fini\n" "\t0x0804afa0 - 0x0804b338 is .rodata\n" "\t0x0804c338 - 0x0804c344 is .data\n" "\t0x0804c344 - 0x0804c348 is .eh_frame\n" "\t0x0804c348 - 0x0804c418 is .dynamic\n" "\t0x0804c418 - 0x0804c420 is .ctors\n" "\t0x0804c420 - 0x0804c428 is .dtors\n" "\t0x0804c428 - 0x0804c42c is .jcr\n" "\t0x0804c42c - 0x0804c464 is .got\n" "\t0x0804c464 - 0x0804c468 is .bss\n" "(gdb) " -> "info program\n" <- "The program being debugged is not being run.\n" "(gdb) " # Starting GDB...done. # Welcome to DDD 3.3.8 "Cinnamon" (i386-pc-linux-gnu) -> "help detach\n" <- "Detach a process or file previously attached.\n" "If a process, it is no longer traced, and it continues its execution. If\n" "you were debugging a file, the file is closed and gdb no longer accesses it.\n" "(gdb) " -> "help run\n" <- "Start debugged program. You may specify arguments to give it.\n" "Args may include \"*\", or \"[...]\"; they are expanded using \"sh\".\n" "Input and output redirection with \">\", \"<\", or \">>\" are also allowed.\n" "\n" "With no arguments, uses arguments last specified (with \"run\" or \"set args\").\n" "To cancel previous arguments and run with no arguments,\n" "use \"set args\" without arguments.\n" "(gdb) " -> "help step\n" <- "Step program until it reaches a different source line.\n" "Argument N means do this N times (or till program stops for another reason).\n" "(gdb) " -> "help stepi\n" <- "Step one instruction exactly.\n" "Argument N means do this N times (or till program stops for another reason).\n" "(gdb) " -> "help next\n" <- "Step program, proceeding through subroutine calls.\n" "Like the \"step\" command as long as subroutine calls do not happen;\n" "when they do, the call is treated as one instruction.\n" "Argument N means do this N times (or till program stops for another reason).\n" "(gdb) " -> "help nexti\n" <- "Step one instruction, but proceed through subroutine calls.\n" "Argument N means do this N times (or till program stops for another reason).\n" "(gdb) " -> "help until\n" <- "Execute until the program reaches a source line greater than the current\n" "or a specified location (same args as break command) within the current frame.\n" "(gdb) " -> "help finish\n" <- "Execute until selected stack frame returns.\n" "Upon return, the value returned is printed and put in the value history.\n" "(gdb) " -> "help cont\n" <- "Continue program being debugged, after signal or breakpoint.\n" "If proceeding from breakpoint, a number N may be used as an argument,\n" "which means to set the ignore count of that breakpoint to N - 1 (so that\n" "the breakpoint won\'t break until the Nth time it is reached).\n" "(gdb) " -> "help signal\n" <- "Continue program giving it signal specified by the argument.\n" "An argument of \"0\" means continue program without giving it a signal.\n" "(gdb) " -> "help kill\n" <- "Kill execution of program being debugged.\n" "(gdb) " -> "help up\n" <- "Select and print stack frame that called this one.\n" "An argument says how many frames up to go.\n" "(gdb) " -> "help down\n" <- "Select and print stack frame called by this one.\n" "An argument says how many frames down to go.\n" "(gdb) " -> "output population\n" <- "No symbol \"population\" in current context.\n" "(gdb) " -> "b 90\n" <- "Breakpoint 1 at 0x8048b4d: file population_test.c, line 90.\n" "(gdb) " -> "info breakpoints\n" <- "Num Type Disp Enb Address What\n" "1 breakpoint keep y 0x08048b4d in main at population_test.c:90\n" "(gdb) " -> "set environment TERM dumb\n" <- "(gdb) " -> "r\n" <- "\n" "\n" "----\n" "population 0x804c668\n" "size: 20\n" "score up to date: 0\n" "\n" "genotype 0: genotype 0x804c6d0\n" "alive: 1\n" "score: 0.000000\n" "size: 4\n" "unac 17 4\n" "unac 17 4\n" "exc2 21 3\n" "unac 12 4\n" "\n" "genotype 1: genotype 0x804c740\n" "alive: 1\n" "score: 0.000000\n" "size: 4\n" "exch 3 3\n" "exch 19 0\n" "unac 18 5\n" "unac 19 0\n" "\n" "genotype 2: genotype 0x804c7b0\n" "alive: 1\n" "score: 0.000000\n" "size: 4\n" "exc2 5 1\n" "exch 15 3\n" "exch 5 0\n" "exc2 4 1\n" "\n" "genotype 3: genotype 0x804c820\n" "alive: 1\n" "score: 0.000000\n" "size: 4\n" "exc2 21 1\n" "exc2 15 1\n" "exc2 13 10\n" "exc2 7 6\n" "\n" "genotype 4: genotype 0x804c890\n" "alive: 1\n" "score: 0.000000\n" "size: 4\n" "exc2 0 1\n" "exc2 18 0\n" "unac 10 2\n" "exch 15 2\n" "\n" "genotype 5: genotype 0x804c900\n" "alive: 1\n" "score: 0.000000\n" "size: 4\n" "exc2 0 1\n" "unac 10 2\n" "exch 6 10\n" "exc2 10 2\n" "\n" "genotype 6: genotype 0x804c970\n" "alive: 1\n" "score: 0.000000\n" "size: 4\n" "exc2 6 1\n" "unac 19 0\n" "exc2 0 2\n" "unac 19 0\n" "\n" "genotype 7: genotype 0x804c9e0\n" "alive: 1\n" "score: 0.000000\n" "size: 4\n" "exch 8 1\n" "exc2 17 0\n" "exch 1 3\n" "unac 17 4\n" "\n" "genotype 8: genotype 0x804ca50\n" "alive: 1\n" "score: 0.000000\n" "size: 4\n" "exch 8 1\n" "exc2 5 1\n" "exc2 3 1\n" "exch 8 1\n" "\n" "genotype 9: genotype 0x804cac0\n" "alive: 1\n" "score: 0.000000\n" "size: 4\n" "exch 16 2\n" "exc2 12 3\n" "unac 17 4\n" "exch 14 0\n" "\n" "genotype 10: genotype 0x804cb30\n" "alive: 1\n" "score: 0.000000\n" "size: 4\n" "exc2 18 2\n" "exc2 11 0\n" "exc2 15 8\n" "unac 19 0\n" "\n" "genotype 11: genotype 0x804cba0\n" "alive: 1\n" "score: 0.000000\n" "size: 4\n" "exch 11 0\n" "unac 19 0\n" "exc2 15 8\n" "exc2 16 8\n" "\n" "genotype 12: genotype 0x804cc10\n" "alive: 1\n" "score: 0.000000\n" "size: 4\n" "exch 20 1\n" "unac 10 2\n" "unac 17 4\n" "exc2 14 0\n" "\n" "genotype 13: genotype 0x804cc80\n" "alive: 1\n" "score: 0.000000\n" "size: 4\n" "unac 10 2\n" "exch 17 1\n" "exc2 9 1\n" "exc2 5 1\n" "\n" "genotype 14: genotype 0x804ccf0\n" "alive: 1\n" "score: 0.000000\n" "size: 4\n" "exch 15 6\n" "unac 17 4\n" "unac 10 2\n" "exch 5 3\n" "\n" "genotype 15: genotype 0x804cd60\n" "alive: 1\n" "score: 0.000000\n" "size: 4\n" "exc2 4 0\n" "exc2 17 3\n" "exc2 21 0\n" "exc2 4 1\n" "\n" "genotype 16: genotype 0x804cdd0\n" "alive: 1\n" "score: 0.000000\n" "size: 4\n" "unac 17 4\n" "unac 19 0\n" "exc2 16 6\n" "exch 12 3\n" "\n" "genotype 17: genotype 0x804ce40\n" "alive: 1\n" "score: 0.000000\n" "size: 4\n" "unac 17 4\n" "unac 19 0\n" "exc2 5 0\n" "exch 14 0\n" "\n" "genotype 18: genotype 0x804ceb0\n" "alive: 1\n" "score: 0.000000\n" "size: 4\n" "exch 11 0\n" "unac 19 0\n" "exch 7 3\n" "exc2 14 0\n" "\n" "genotype 19: genotype 0x804cf20\n" "alive: 1\n" "score: 0.000000\n" "size: 4\n" "exch 19 2\n" "exch 17 3\n" "exc2 8 1\n" "exch 13 0\n" "\n" "\n" "short description: unac 17 4, unac 17 4, exc2 21 3, unac 12 4, \n" "exch 3 3, exch 19 0, unac 18 5, unac 19 0, \n" "exc2 5 1, exch 15 3, exch 5 0, exc2 4 1, \n" "exc2 21 1, exc2 15 1, exc2 13 10, exc2 7 6, \n" "exc2 0 1, exc2 18 0, unac 10 2, exch 15 2, \n" "exc2 0 1, unac 10 2, exch 6 10, exc2 10 2, \n" "exc2 6 1, unac 19 0, exc2 0 2, unac 19 0, \n" "exch 8 1, exc2 17 0, exch 1 3, unac 17 4, \n" "exch 8 1, exc2 5 1, exc2 3 1, exch 8 1, \n" "exch 16 2, exc2 12 3, unac 17 4, exch 14 0, \n" "exc2 18 2, exc2 11 0, exc2 15 8, unac 19 0, \n" "exch 11 0, unac 19 0, exc2 15 8, exc2 16 8, \n" "exch 20 1, unac 10 2, unac 17 4, exc2 14 0, \n" "unac 10 2, exch 17 1, exc2 9 1, exc2 5 1, \n" "exch 15 6, unac 17 4, unac 10 2, exch 5 3, \n" "exc2 4 0, exc2 17 3, exc2 21 0, exc2 4 1, \n" "unac 17 4, unac 19 0, exc2 16 6, exch 12 3, \n" "unac 17 4, unac 19 0, exc2 5 0, exch 14 0, \n" "exch 11 0, unac 19 0, exch 7 3, exc2 14 0, \n" "exch 19 2, exch 17 3, exc2 8 1, exch 13 0, \n" "\n" "Scoring the population...\n" "\n" "\n" "----\n" "population 0x804c668\n" "size: 20\n" "score up to date: 1\n" "\n" "genotype 0: genotype 0x804c6d0\n" "alive: 1\n" "score: 0.932786\n" "size: 4\n" "unac 17 4\n" "unac 17 4\n" "exc2 21 3\n" "unac 12 4\n" "\n" "genotype 1: genotype 0x804c740\n" "alive: 1\n" "score: 0.503282\n" "size: 4\n" "exch 3 3\n" "exch 19 0\n" "unac 18 5\n" "unac 19 0\n" "\n" "genotype 2: genotype 0x804c7b0\n" "alive: 1\n" "score: 0.479461\n" "size: 4\n" "exc2 5 1\n" "exch 15 3\n" "exch 5 0\n" "exc2 4 1\n" "\n" "genotype 3: genotype 0x804c820\n" "alive: 1\n" "score: 0.843890\n" "size: 4\n" "exc2 21 1\n" "exc2 15 1\n" "exc2 13 10\n" "exc2 7 6\n" "\n" "genotype 4: genotype 0x804c890\n" "alive: 1\n" "score: 0.662962\n" "size: 4\n" "exc2 0 1\n" "exc2 18 0\n" "unac 10 2\n" "exch 15 2\n" "\n" "genotype 5: genotype 0x804c900\n" "alive: 1\n" "score: 0.764648\n" "size: 4\n" "exc2 0 1\n" "unac 10 2\n" "exch 6 10\n" "exc2 10 2\n" "\n" "genotype 6: genotype 0x804c970\n" "alive: 1\n" "score: 0.864930\n" "size: 4\n" "exc2 6 1\n" "unac 19 0\n" "exc2 0 2\n" "unac 19 0\n" "\n" "genotype 7: genotype 0x804c9e0\n" "alive: 1\n" "score: 0.616684\n" "size: 4\n" "exch 8 1\n" "exc2 17 0\n" "exch 1 3\n" "unac 17 4\n" "\n" "genotype 8: genotype 0x804ca50\n" "alive: 1\n" "score: 0.623158\n" "size: 4\n" "exch 8 1\n" "exc2 5 1\n" "exc2 3 1\n" "exch 8 1\n" "\n" "genotype 9: genotype 0x804cac0\n" "alive: 1\n" "score: 0.201255\n" "size: 4\n" "exch 16 2\n" "exc2 12 3\n" "unac 17 4\n" "exch 14 0\n" "\n" "genotype 10: genotype 0x804cb30\n" "alive: 1\n" "score: 0.331568\n" "size: 4\n" "exc2 18 2\n" "exc2 11 0\n" "exc2 15 8\n" "unac 19 0\n" "\n" "genotype 11: genotype 0x804cba0\n" "alive: 1\n" "score: 0.205564\n" "size: 4\n" "exch 11 0\n" "unac 19 0\n" "exc2 15 8\n" "exc2 16 8\n" "\n" "genotype 12: genotype 0x804cc10\n" "alive: 1\n" "score: 0.313896\n" "size: 4\n" "exch 20 1\n" "unac 10 2\n" "unac 17 4\n" "exc2 14 0\n" "\n" "genotype 13: genotype 0x804cc80\n" "alive: 1\n" "score: 0.744857\n" "size: 4\n" "unac 10 2\n" "exch 17 1\n" "exc2 9 1\n" "exc2 5 1\n" "\n" "genotype 14: genotype 0x804ccf0\n" "alive: 1\n" "score: 0.751043\n" "size: 4\n" "exch 15 6\n" "unac 17 4\n" "unac 10 2\n" "exch 5 3\n" "\n" "genotype 15: genotype 0x804cd60\n" "alive: 1\n" "score: 0.522168\n" "size: 4\n" "exc2 4 0\n" "exc2 17 3\n" "exc2 21 0\n" "exc2 4 1\n" "\n" "genotype 16: genotype 0x804cdd0\n" "alive: 1\n" "score: 0.804020\n" "size: 4\n" "unac 17 4\n" "unac 19 0\n" "exc2 16 6\n" "exch 12 3\n" "\n" "genotype 17: genotype 0x804ce40\n" "alive: 1\n" "score: 0.194092\n" "size: 4\n" "unac 17 4\n" "unac 19 0\n" "exc2 5 0\n" "exch 14 0\n" "\n" "genotype 18: genotype 0x804ceb0\n" "alive: 1\n" "score: 0.147582\n" "size: 4\n" "exch 11 0\n" "unac 19 0\n" "exch 7 3\n" "exc2 14 0\n" "\n" "genotype 19: genotype 0x804cf20\n" "alive: 1\n" "score: 0.557520\n" "size: 4\n" "exch 19 2\n" "exch 17 3\n" "exc2 8 1\n" "exch 13 0\n" "\n" "test of roulette (1,1,2):\n" "2\n" "1\n" "2\n" "2\n" "2\n" "0\n" "0\n" "2\n" "2\n" "0\n" "2\n" "0\n" "2\n" "2\n" "2\n" "1\n" "2\n" "2\n" "2\n" "1\n" "0\n" "2\n" "0\n" "2\n" "1\n" "1\n" "2\n" "1\n" "2\n" "2\n" "1\n" "2\n" "0\n" "1\n" "0\n" "2\n" "1\n" "0\n" "2\n" "0\n" "1\n" "2\n" "1\n" "1\n" "0\n" "0\n" "2\n" "2\n" "2\n" "2\n" "1\n" "0\n" "1\n" "1\n" "2\n" "2\n" "2\n" "1\n" "0\n" "1\n" "0\n" "2\n" "2\n" "0\n" "2\n" "0\n" "2\n" "1\n" "1\n" "1\n" "2\n" "2\n" "2\n" "2\n" "0\n" "0\n" "0\n" "2\n" "2\n" "0\n" "1\n" "0\n" "0\n" "2\n" "2\n" "0\n" "1\n" "1\n" "1\n" "2\n" "2\n" "2\n" "0\n" "2\n" "2\n" "0\n" "2\n" "1\n" "1\n" "1\n" "test of selection (1,1,2,4):\n" "before: ++++\n" "after: -+-+\n" "after: -+-+\n" "after: --++\n" "after: -+-+\n" "after: -+-+\n" "after: +-+-\n" "after: --++\n" "after: --++\n" "after: -+-+\n" "after: -++-\n" "after: --++\n" "after: --++\n" "after: +--+\n" "after: -+-+\n" "after: --++\n" "after: -+-+\n" "after: --++\n" "after: ++--\n" "after: -++-\n" "after: -++-\n" "Test of population selection, mutation, cross\n" "before: ++++++++++++++++++++\n" "unac 10 2, unac 15 8, exch 14 0, exch 17 4, \n" "exch 8 4, exch 18 1, unac 12 4, exc2 13 4, \n" "unac 12 4, exc2 15 5, unac 10 2, exc2 2 0, \n" "exch 6 0, exch 10 1, exc2 13 6, exc2 10 0, \n" "unac 17 4, exch 14 0, exc2 9 1, unac 12 4, \n" "exch 10 0, exch 4 0, exch 7 6, exch 20 2, \n" "exch 11 0, exch 7 4, exc2 21 3, exch 8 3, \n" "unac 17 4, exch 18 4, exch 1 1, exch 2 0, \n" "unac 18 5, unac 18 5, exc2 0 2, unac 18 5, \n" "exc2 6 9, exc2 3 2, exc2 2 0, unac 10 2, \n" "exch 9 7, unac 18 5, unac 15 8, unac 18 5, \n" "exch 6 6, unac 12 4, exch 12 2, exch 2 1, \n" "exc2 11 0, exc2 18 0, exc2 20 1, exc2 16 6, \n" "exch 5 1, unac 7 4, exc2 16 0, exch 4 2, \n" "exch 18 3, unac 17 4, exc2 7 5, exc2 0 2, \n" "unac 17 4, unac 19 0, exch 19 2, unac 7 4, \n" "exch 2 1, unac 19 0, exc2 9 9, exc2 20 0, \n" "exc2 12 2, unac 12 4, exc2 21 1, unac 12 4, \n" "exch 16 8, exc2 10 2, unac 12 4, exch 12 1, \n" "unac 10 2, exch 6 9, exc2 4 1, unac 12 4, \n" "\n" "Selection.\n" "after: -+-----++-++--+++++-\n" "Mutate.\n" "after: -++---+++-++--++++++\n" "Cross.\n" "after: ++++--+++-+++-++++++\n" "exch 9 7, unac 18 5, unac 17 4, unac 18 5, \n" "exch 8 4, exch 18 1, unac 12 4, exc2 13 4, \n" "exch 2 1, exch 16 5, exc2 2 0, exc2 20 0, \n" "unac 18 5, exch 16 5, exch 2 1, unac 18 5, \n" "unac 17 4, exch 14 0, exc2 9 1, unac 12 4, \n" "exch 10 0, exch 4 0, exch 7 6, exch 20 2, \n" "exc2 12 2, exch 21 6, exch 21 5, exc2 18 1, \n" "unac 17 4, exch 18 4, exch 1 1, exch 2 0, \n" "unac 18 5, unac 18 5, exc2 0 2, unac 18 5, \n" "exc2 6 9, exc2 3 2, exc2 2 0, unac 10 2, \n" "exch 9 7, unac 18 5, unac 15 8, unac 18 5, \n" "exch 6 6, unac 12 4, exch 12 2, exch 2 1, \n" "exch 6 6, unac 12 4, exch 12 2, exch 2 1, \n" "exch 5 1, unac 7 4, exc2 16 0, exch 4 2, \n" "exch 18 3, unac 17 4, exc2 7 5, exc2 0 2, \n" "unac 17 4, unac 19 0, exch 19 2, unac 7 4, \n" "exch 2 1, unac 19 0, exc2 9 9, exc2 20 0, \n" "exc2 12 2, unac 12 4, exc2 21 1, unac 12 4, \n" "exch 16 8, exc2 10 2, unac 12 4, exch 12 1, \n" "exch 16 8, exc2 10 2, exch 3 1, unac 10 2, \n" "\n" "Enlarge.\n" "after: +++++++++-++++++++++\n" <- "\n" "Breakpoint 1, main () at population_test.c:90\n" "\032\032/home/piotr/roboczy/zrodla/kompresja_tekstu/c/population_test.c:90:3315:beg:0x8048b4d\n" "(gdb) " -> "info breakpoints\n" <- "Num Type Disp Enb Address What\n" "1 breakpoint keep y 0x08048b4d in main at population_test.c:90\n" "\tbreakpoint already hit 1 time\n" "(gdb) " -> "next\n" <- "\032\032/home/piotr/roboczy/zrodla/kompresja_tekstu/c/population_test.c:91:3336:beg:0x8048b58\n" "(gdb) " -> "info breakpoints\n" <- "Num Type Disp Enb Address What\n" "1 breakpoint keep y 0x08048b4d in main at population_test.c:90\n" "\tbreakpoint already hit 1 time\n" "(gdb) " -> "step\n" <- "population_description_short (population=0x804c668, text=0x804c4b8) at population.c:56\n" "\032\032/home/piotr/roboczy/zrodla/kompresja_tekstu/c/population.c:56:1640:beg:0x8048e5d\n" "(gdb) " -> "info breakpoints\n" <- "Num Type Disp Enb Address What\n" "1 breakpoint keep y 0x08048b4d in main at population_test.c:90\n" "\tbreakpoint already hit 1 time\n" "(gdb) " # Reading file "/home/piotr/roboczy/zrodla/kompresja_tekstu/c/population.c"... # Reading file "/home/piotr/roboczy/zrodla/kompresja_tekstu/c/population.c"...done. # File "/home/piotr/roboczy/zrodla/kompresja_tekstu/c/population.c" 183 lines, 6005 characters -> "info source\n" <- "Current source file is population.c\n" "Compilation directory is /home/piotr/roboczy/zrodla/kompresja_tekstu/c\n" "Located in /home/piotr/roboczy/zrodla/kompresja_tekstu/c/population.c\n" "Contains 183 lines.\n" "Source language is c.\n" "Compiled with DWARF 2 debugging format.\n" "Does not include preprocessor macro info.\n" "(gdb) " -> "output description\n" <- "0xbffff9e4 \"\\020\373\377\277\"(gdb) " -> "output j\n" <- "0x40167fc0 \"\"(gdb) " -> "frame\n" <- "#0 population_description_short (population=0x804c668, text=0x804c4b8) at population.c:56\n" "\032\032/home/piotr/roboczy/zrodla/kompresja_tekstu/c/population.c:56:1640:beg:0x8048e5d\n" "(gdb) " -> "display j\n" <- "(gdb) " -> "display\n" <- "1: j = 0x40167fc0 \"\"\n" "(gdb) " # Creating display... # Creating display...done. -> "output &j\n" # Display 1: j (enabled, scope population_description_short) <- "(char **) 0xbffff944(gdb) " # Display 1: j (enabled, scope population_description_short, address 0xbffff944) -> "frame\n" <- "#0 population_description_short (population=0x804c668, text=0x804c4b8) at population.c:56\n" "\032\032/home/piotr/roboczy/zrodla/kompresja_tekstu/c/population.c:56:1640:beg:0x8048e5d\n" "(gdb) " -> "display j\n" <- "(gdb) " -> "display\n" <- "2: j = 0x40167fc0 \"\"\n" "1: j = 0x40167fc0 \"\"\n" "(gdb) " # Creating display... ! Nothing to plot. -> "undisplay 2\n" # Creating display...done. <- "(gdb) " -> "next\n" <- "\032\032/home/piotr/roboczy/zrodla/kompresja_tekstu/c/population.c:57:1730:beg:0x8048e77\n" "1: j = 0x40167fc0 \"\"\n" "(gdb) " -> "info breakpoints\n" <- "Num Type Disp Enb Address What\n" "1 breakpoint keep y 0x08048b4d in main at population_test.c:90\n" "\tbreakpoint already hit 1 time\n" "(gdb) " # Updating displays... # Updating displays...done. -> "output &j\n" <- "(char **) 0xbffff944(gdb) " -> "output genotype_description_short\n" <- "{char *(struct genotype *, struct text *)} 0x8049aa8 (gdb) " -> "output description\n" <- "0x40200008 \"\"(gdb) " -> "output i\n" <- "134547272(gdb) " -> "next\n" <- "\032\032/home/piotr/roboczy/zrodla/kompresja_tekstu/c/population.c:58:1749:beg:0x8048e7d\n" "1: j = 0x40200008 \"\"\n" "(gdb) " -> "info breakpoints\n" <- "Num Type Disp Enb Address What\n" "1 breakpoint keep y 0x08048b4d in main at population_test.c:90\n" "\tbreakpoint already hit 1 time\n" "(gdb) " # Updating displays... # Updating displays...done. -> "output &j\n" <- "(char **) 0xbffff944(gdb) " -> "next\n" <- "\032\032/home/piotr/roboczy/zrodla/kompresja_tekstu/c/population.c:59:1790:beg:0x8048e91\n" "1: j = 0x40200008 \"\"\n" "(gdb) " -> "info breakpoints\n" <- "Num Type Disp Enb Address What\n" "1 breakpoint keep y 0x08048b4d in main at population_test.c:90\n" "\tbreakpoint already hit 1 time\n" "(gdb) " # Updating displays... # Updating displays...done. -> "output &j\n" <- "(char **) 0xbffff944(gdb) " -> "output i\n" <- "0(gdb) " -> "frame\n" <- "#0 population_description_short (population=0x804c668, text=0x804c4b8) at population.c:59\n" "\032\032/home/piotr/roboczy/zrodla/kompresja_tekstu/c/population.c:59:1790:beg:0x8048e91\n" "(gdb) " -> "display i\n" <- "(gdb) " -> "display\n" <- "3: i = 0\n" "1: j = 0x40200008 \"\"\n" "(gdb) " # Creating display... # Creating display...done. >> "set term xlib\n" "set parametric\n" "set urange [0:1]\n" "set vrange [0:1]\n" "set trange [0:1]" >> "set noborder\n" "plot t, 0 title \"i\"" -> "output &i\n" # Display 3: i (enabled, scope population_description_short) # Warning: empty y range [0:0], adjusting to [-1:1] <= "Warning: empty y range [0:0], adjusting to [-1:1]" << "*** X11-output-driver not found, switching to dumb terminal!\n" "*** If you want to use the X-output, please install the gnuplot-x11-package\n" "G0 8388673\n" "QD\n" "A90\n" "A0\n" "W0001\n" "L-002\n" "M03210326\n" "V03480326\n" "M39340326\n" "V39070326\n" "J0002\n" "QF\n" "T02810326-1\n" "W0001\n" "L-002\n" "M03211249\n" "V03481249\n" "M39341249\n" "V39071249\n" "J0002\n" "T02811249-0.5\n" "W0001\n" "L-002\n" "M03212171\n" "V03482171\n" "M39342171\n" "V39072171\n" "J0002\n" "T02812171 0\n" "W0001\n" "L-002\n" "M03213094\n" "V03483094\n" "M39343094\n" "V39073094\n" "J0002\n" "T02813094 0.5\n" "W0001\n" "L-002\n" "M03214016\n" "V03484016\n" "M39344016\n" "V39074016\n" "J0002\n" "T02814016 1\n" "W0001\n" "L-002\n" "A0\n" "M03210326\n" "V03210366\n" "M03214016\n" "V03213976\n" "J0001\n" "T03210163 0\n" "W0001\n" "L-002\n" "M10440326\n" "V10440366\n" "M10444016\n" "V10443976\n" "J0001\n" "T10440163 0.2\n" "W0001\n" "L-002\n" "M17660326\n" "V17660366\n" "M17664016\n" "V17663976\n" "J0001\n" "T17660163 0.4\n" "W0001\n" "L-002\n" "M24890326\n" "V24890366\n" "M24894016\n" "V24893976\n" "J0001\n" "T24890163 0.6\n" "W0001\n" "L-002\n" "M32110326\n" "V32110366\n" "M32114016\n" "V32113976\n" "J0001\n" "T32110163 0.8\n" "W0001\n" "L-002\n" "M39340326\n" "V39340366\n" "M39344016\n" "V39343976\n" "J0001\n" "T39340163 1\n" "W0001\n" "L-002\n" "A0\n" "P-2 13 20\n" "W0001\n" "L0000\n" "L-002\n" "J0002\n" "T36273895i\n" "L0000\n" "M36673895\n" "V38543895\n" "M03212171\n" "V03212171\n" "V03572171\n" "V03942171\n" "V04302171\n" "V04672171\n" "V05032171\n" "V05402171\n" "V05762171\n" "V06132171\n" "V06492171\n" "V06862171\n" "V07222171\n" "V07592171\n" "V07952171\n" "V08322171\n" "V08682171\n" "V09052171\n" "V09412171\n" "V09782171\n" "V10142171\n" "V10512171\n" "V10872171\n" "V11242171\n" "V11602171\n" "V11972171\n" "V12332171\n" "V12702171\n" "V13062171\n" "V13432171\n" "V13792171\n" "V14162171\n" "V14522171\n" "V14892171\n" "V15252171\n" "V15622171\n" "V15982171\n" "V16352171\n" "V16712171\n" "V17082171\n" "V17442171\n" "V17812171\n" "V18172171\n" "V18542171\n" "V18902171\n" "V19272171\n" "V19632171\n" "V20002171\n" "V20362171\n" "V20732171\n" "V21092171\n" "V21462171\n" "V21822171\n" "V22192171\n" "V22552171\n" "V22922171\n" "V23282171\n" "V23652171\n" "V24012171\n" "V24382171\n" "V24742171\n" "V25112171\n" "V25472171\n" "V25842171\n" "V26202171\n" "V26572171\n" "V26932171\n" "V27302171\n" "V27662171\n" "V28032171\n" "V28392171\n" "V28762171\n" "V29122171\n" "V29492171\n" "V29852171\n" "V30222171\n" "V30582171\n" "V30952171\n" "V31312171\n" "V31682171\n" "V32042171\n" "V32412171\n" "V32772171\n" "V33142171\n" "V33502171\n" "V33872171\n" "V34232171\n" "V34602171\n" "V34962171\n" "V35332171\n" "V35692171\n" "V36062171\n" "V36422171\n" "V36792171\n" "V37152171\n" "V37522171\n" "V37882171\n" "V38252171\n" "V38612171\n" "V38982171\n" "V39342171\n" "P-2 13 20\n" "E" <- "(unsigned int *) 0xbffff948(gdb) " # Display 3: i (enabled, scope population_description_short, address 0xbffff948) # Expected X11 driver: /usr/lib/gnuplot/gnuplot_x11 <= "Expected X11 driver: /usr/lib/gnuplot/gnuplot_x11" # Exec failed: No such file or directory <= "Exec failed: No such file or directory" # See 'help x11' for more details <= "See \'help x11\' for more details" ! X error X Error of failed request: BadWindow (invalid Window parameter) Major opcode of failed request: 10 (X_UnmapWindow) Resource id in failed request: 0x0 Serial number of failed request: 57819 Current serial number in output stream: 57822 ! X error # Saving options in "/home/piotr/.ddd/init"... # Searching "ddd/Ddd"... # Trying "/home/piotr/.ddd/ddd/Ddd" # Trying "/usr/share/ddd-3.3.8/ddd/Ddd" # Searching "ddd/Ddd"..."/usr/share/ddd-3.3.8/ddd/Ddd". # Saving options in "/home/piotr/.ddd/init"...done. # Running GDB (pid 663, tty /dev/pts/2)...Exit 0. # Saving history in "/home/piotr/.ddd/history"... # Saving history in "/home/piotr/.ddd/history"...done. # Thanks for using DDD 3.3.8! (We apologize for the inconvenience.) X Error of failed request: BadWindow (invalid Window parameter) Major opcode of failed request: 10 (X_UnmapWindow) Resource id in failed request: 0x0 Serial number of failed request: 57821 Current serial number in output stream: 58086