GNU DDD 3.3.10 (sparc-sun-solaris2.9) 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. Copyright (C) 2001-2004 Free Software Foundation, Inc. Compiled with SunPRO CC 0x540 Requires X11R6, Xt11R6, Motif 2.1 (Motif Version 2.1.0) Includes XPM 3.4.11, Athena Panner, DDD core Built 2004-11-10 by Christoph Tietz . $ ddd /home/tietz/SENN/OBJECTS/senn + /bin/sh -c 'exec dbx '\''/home/tietz/SENN/OBJECTS/senn'\''' # Hello, world! # Starting DBX... # Running DBX (pid 751, tty /dev/pts/4)... # Current language: C/C++ # Searching "vsllib/ddd.vsl"... # Trying "/home/tietz/.ddd/vsllib/ddd.vsl" # Trying "/home/tietz/share/ddd-3.3.10/vsllib/ddd.vsl" # Searching "vsllib/ddd.vsl"..."/home/tietz/share/ddd-3.3.10/vsllib/ddd.vsl". 2004.11.16 13:43:49 <- "For information about new features see `help changes\'\n" "To remove this message, put `dbxenv suppress_startup_message 7.0\' in your .dbxrc\n" 2004.11.16 13:43:49 <- "Reading senn\n" 2004.11.16 13:43:51 <- "Reading ld.so.1\n" 2004.11.16 13:43:52 <- "Reading libl.so.1\n" "Reading libm.so.1\n" "Reading libgen.so.1\n" "Reading libdl.so.1\n" "Reading libXm.so.4\n" "Reading libXmu.so.4\n" "Reading libXt.so.4\n" "Reading libX11.so.4\n" "Reading libsocket.so.1\n" "Reading libnsl.so.1\n" "Reading libCstd.so.1\n" 2004.11.16 13:43:52 <- "Reading libCrun.so.1\n" 2004.11.16 13:43:52 <- "Reading libw.so.1\n" 2004.11.16 13:43:52 <- "Reading libc.so.1\n" 2004.11.16 13:43:52 <- "Reading libXext.so.0\n" 2004.11.16 13:43:52 <- "Reading libSM.so.6\n" 2004.11.16 13:43:52 <- "Reading libICE.so.6\n" 2004.11.16 13:43:52 <- "Reading libmp.so.2\n" "Reading libCstd_isa.so.1\n" 2004.11.16 13:43:52 <- "Reading libc_psr.so.1\n" 2004.11.16 13:43:53 <- "(dbx) " 2004.11.16 13:43:53 -> "sh stty -echo -onlcr\n" 2004.11.16 13:43:53 <- "(dbx) " 2004.11.16 13:43:53 -> "set $page = 1\n" 2004.11.16 13:43:53 <- "warning: setting positional parameters; use `assign\' to set target process variable\n" "(dbx) " 2004.11.16 13:43:53 -> "file\n" 2004.11.16 13:43:53 <- "ccmain.cc\n" "(dbx) " 2004.11.16 13:43:53 -> "line\n" 2004.11.16 13:43:53 <- "424\n" "(dbx) " 2004.11.16 13:43:53 -> "frame\n" 2004.11.16 13:43:53 <- "dbx: program is not active\n" 2004.11.16 13:43:53 <- "(dbx) " 2004.11.16 13:43:53 -> "func\n" 2004.11.16 13:43:53 <- "main\n" "(dbx) " 2004.11.16 13:43:53 -> "file\n" 2004.11.16 13:43:53 <- "ccmain.cc\n" "(dbx) " 2004.11.16 13:43:53 -> "dbxenv run_io\n" 2004.11.16 13:43:53 <- "stdio\n" "(dbx) " 2004.11.16 13:43:53 -> "print -r 4711\n" 2004.11.16 13:43:53 <- "4711\n" 2004.11.16 13:43:53 <- "(dbx) " 2004.11.16 13:43:53 -> "where -h\n" 2004.11.16 13:43:53 <- "dbx: program is not active\n" "(dbx) " 2004.11.16 13:43:53 -> "display\n" 2004.11.16 13:43:53 <- "(dbx) " 2004.11.16 13:43:53 -> "clear\n" 2004.11.16 13:43:53 <- "dbx: warning: No executable here to clear events from\n" "(dbx) " 2004.11.16 13:43:53 -> "help handler\n" 2004.11.16 13:43:54 <- "handler (command)\n" "A handler is created for each event that needs to be managed in a debugging\n" "session. The commands `trace\', `stop\', and `when\' create handlers. Each\n" "of these commands returns a number known as the `handler ID\' (). The \n" "`handler\', `status\', and `delete\' commands manipulate or\n" "provide information about handlers in a generic fashion:\n" "\n" "handler -enable ... # enable given handlers, `all\' for all\n" "handler -disable ... # disable given handlers, `all\' for all\n" " # Use $firedhandlers instead of to\n" " # disable the handlers that caused the most\n" " # recent stoppage.\n" "handler -count # print value of trip counter for given handler\n" "handler -count # set new count limit for given event\n" "handler -reset # reset trip counter counter for given handler\n" "\n" "See also `help event\'.\n" 2004.11.16 13:43:54 <- "(dbx) " 2004.11.16 13:43:54 -> "help attach\n" 2004.11.16 13:43:54 <- "attach (command)\n" "attach # Begin debugging with process ID .\n" " # dbx finds using /proc.\n" "attach -p # Begin debugging with process ID .\n" "attach # Begin debugging with process ID .\n" " may be `-\'; dbx finds it using /proc\n" "attach -r ... # The `-r\' option causes dbx to retain all \n" " display\'s, trace\'s, when\'s, and stop\'s.\n" " With no `-r\' option, an implicit `delete all\'\n" " and `undisplay 0\' is performed.\n" 2004.11.16 13:43:55 <- "(dbx) " 2004.11.16 13:43:55 -> "help addproc\n" 2004.11.16 13:43:55 <- "addproc is unknown\n" "(dbx) " 2004.11.16 13:43:55 -> "pwd\n" 2004.11.16 13:43:55 <- "/home/tietz/SENN/BUG/weber/DEMO/RALPH\n" "(dbx) " 2004.11.16 13:43:55 -> "help setenv\n" 2004.11.16 13:43:55 <- "setenv (ksh command)\n" "setenv # Set environment variable to \n" "(dbx) " 2004.11.16 13:43:55 -> "help edit\n" 2004.11.16 13:43:55 <- "edit (command)\n" "edit # Edit the current file\n" "edit # Edit the specified file \n" "edit # Edit the file containing function or procedure \n" "\n" "`edit\' uses $EDITOR if dbx is not running under the GUI. Otherwise,\n" "it sends a message to the GUI to display the appropriate file. \n" 2004.11.16 13:43:55 <- "(dbx) " 2004.11.16 13:43:55 -> "help make\n" 2004.11.16 13:43:56 <- "make is /home/tietz/bin.SunOS/make\n" 2004.11.16 13:43:56 <- "(dbx) " 2004.11.16 13:43:56 -> "help regs\n" 2004.11.16 13:43:56 <- "regs (command)\n" "regs [-f] [-F] # Print value of registers\n" " # -f: include floating-point registers (single precision).\n" " # -F: Include floating-point registers (double precision)\n" " # SPARC only.\n" "\n" "Example (SPARC):\n" "dbx[13] regs -F\n" "current thread: address@hidden" "current frame: [1]\n" "g0-g3 0x00000000 0x0011d000 0x00000000 0x00000000\n" "g4-g7 0x00000000 0x00000000 0x00000000 0x00020c38\n" "o0-o3 0x00000003 0x00000014 0xef7562b4 0xeffff420\n" "o4-o7 0xef752f80 0x00000003 0xeffff3d8 0x000109b8\n" "l0-l3 0x00000014 0x0000000a 0x0000000a 0x00010a88\n" "l4-l7 0xeffff438 0x00000001 0x00000007 0xef74df54\n" "i0-i3 0x00000001 0xeffff4a4 0xeffff4ac 0x00020c00\n" "i4-i7 0x00000001 0x00000000 0xeffff440 0x000108c4\n" "y 0x00000000\n" "psr 0x40400086\n" "pc 0x000109c0:main+0x4 mov 0x5, %l0\n" "npc 0x000109c4:main+0x8 st %l0, [%fp - 0x8]\n" "f0f1 +0.00000000000000e+00\n" "f2f3 +0.00000000000000e+00\n" "f4f5 +0.00000000000000e+00\n" "f6f7 +0.00000000000000e+00\n" "...\n" "\n" "See also `help registers\'.\n" "(dbx) " 2004.11.16 13:43:56 -> "print \"DDD\"\n" 2004.11.16 13:43:56 <- "\"DDD\"\n" 2004.11.16 13:43:56 <- "(dbx) " 2004.11.16 13:43:56 -> "help when\n" 2004.11.16 13:43:56 <- "when (command)\n" "when at { cmd; } # Execute command(s) when reached\n" "when in { cmd; } # Execute command(s) when called\n" "\n" "`when\' has a general syntax as follows:\n" "\n" " when [ ] { ... ; }\n" "\n" "When the specified event occurs, the s are executed.\n" "For a list and the syntax of all events see `help event specification\'.\n" "For a general discussion of event management commands see `help events\'.\n" "See also `wheni\' for executing commands on given low-level event.\n" 2004.11.16 13:43:56 <- "(dbx) " 2004.11.16 13:43:56 -> "delete 4711 4711\n" 2004.11.16 13:43:56 <- "dbx: warning: no such handler id 4711\n" "dbx: warning: no such handler id 4711\n" "(dbx) " 2004.11.16 13:43:56 -> "help run\n" 2004.11.16 13:43:57 <- "run (command)\n" "run # Begin executing the program with the current arguments\n" "run # Begin executing the program with new arguments\n" " Use ^C to stop executing the program.\n" "run ... >|>> # Set the output redirection\n" "run ... < # Set the input redirection\n" "\n" "There is currently no way to redirect stderr using \'run\' or \'runargs\'.\n" "\n" "See also `help rerun\', `help runargs\' and `help prog\'.\n" 2004.11.16 13:43:57 <- "(dbx) " 2004.11.16 13:43:57 -> "help givenfile\n" 2004.11.16 13:43:57 <- "givenfile is unknown\n" 2004.11.16 13:43:57 <- "(dbx) " 2004.11.16 13:43:57 -> "help cont\n" 2004.11.16 13:43:57 <- "cont (command)\n" "cont # Continue execution. In an MT process all threads are\n" " # resumed. Use ^C to stop executing the program.\n" "cont ... -sig # Continue execution with signal \n" "cont ... # The specifies which thread or LWP to continue.\n" "cont at [ ] # Continue execution at line . is required\n" " # if the application is multi-threaded.\n" "cont ... -follow parent|child|both\n" " # If $DBX_follow_fork_mode is set to `ask\', and\n" " # you\'ve chosen `stop\', use this option to choose \n" " # which process to follow. `both\' is only applicable\n" " # under the GUI.\n" "\n" "See also `help dbxenv\'.\n" " \n" "See `help continue\' for dbx command language loop control.\n" 2004.11.16 13:43:57 <- "(dbx) " 2004.11.16 13:43:57 -> "help examine\n" 2004.11.16 13:43:58 <- "examine (command)\n" "examine [ ] [ / [ ] [ ] ]\n" "\n" " Display the contents of memory starting at for items\n" " in format . The default is the next one after the last\n" " address previously displayed. The default is 1. The default\n" " is the same as was used in the previous `examine\' command, or\n" " `X\' if this is the first one.\n" "\n" "examine , [ / [ ] ]\n" "\n" " Display the contents of memory from through \n" " inclusive, in format .\n" "\n" "examine = [ ]\n" "\n" " Display the address (instead of the contents of the address) in the\n" " given format.\n" " \n" " The may be `+\' which indicates the address just after the last\n" " one previously displayed (the same as omitting it).\n" "\n" " `x\' is a predefined alias for `examine\'.\n" "\n" " Legal values for are:\n" "\n" " i instruction (disassembly)\n" " d,D decimal (2 or 4 bytes)\n" " o,O octal (2 or 4 bytes)\n" " x,X hexadecimal (2 or 4 bytes)\n" " b octal (1 byte)\n" " c character\n" " w wide character\n" " s string\n" " W wide character string\n" " f hex and float (4 bytes, 6 digit prec.)\n" " F hex and float (8 bytes, 14 digit prec.)\n" " g same as `F\'\n" " E hex and float (16 bytes, 14 digit prec.)\n" " ld,lD decimal (4 bytes, same as D)\n" " lo,lO octal (4 bytes, same as O)\n" " lx,lX hexadecimal (4 bytes, same as X)\n" " Ld,LD decimal (8 bytes)\n" " Lo,LO octal (8 bytes)\n" " Lx,LX hexadecimal (8 bytes)\n" 2004.11.16 13:43:58 <- "(dbx) " 2004.11.16 13:43:58 -> "help rerun\n" 2004.11.16 13:43:58 <- "rerun (command)\n" "rerun # Begin executing the program with no arguments\n" "rerun # Begin executing the program with new arguments\n" " by the save command.\n" "\n" "See also `help run\'.\n" 2004.11.16 13:43:58 <- "(dbx) " 2004.11.16 13:43:58 -> "language\n" 2004.11.16 13:43:58 <- "c++\n" 2004.11.16 13:43:58 <- "(dbx) " 2004.11.16 13:43:58 -> "sh pwd\n" 2004.11.16 13:43:58 <- "/home/tietz/SENN/BUG/weber/DEMO/RALPH\n" 2004.11.16 13:43:58 <- "(dbx) " 2004.11.16 13:43:58 -> "file\n" 2004.11.16 13:43:58 <- "ccmain.cc\n" "(dbx) " 2004.11.16 13:43:58 -> "list\n" 2004.11.16 13:43:58 <- " 424 SENNContext context;\n" " 425 G_String application;\n" " 426 G_String top_file;\n" " 427 G_String fuzzy_file;\n" " 428 \n" " 429 \n" " 430 #ifdef LINUX\n" " 431 \n" " 432 #ifdef _FPU_IEEE\n" " 433 G_String fpExceptions (ShellVar (\"SENN_FPEX\", \"OFF\"));\n" "(dbx) " 2004.11.16 13:43:58 -> "status\n" 2004.11.16 13:43:58 <- "(dbx) " 2004.11.16 13:43:58 -> "list main\n" 2004.11.16 13:43:58 <- "More than one identifier \'main\'.\n" "Select one of the following:\n" " 0) Cancel\n" " 1) `senn`ccmain.cc`main\n" " 2) `libl.so.1`main\n" " a) All\n" "> " 2004.11.16 13:45:47 -> "1\n" ! Abort + /bin/sh -c 'gdb -x /var/tmp//dddw_aODb ddd core' GNU gdb 6.3 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 "sparc-sun-solaris2.9"...# Saving options in "/home/tietz/.ddd/init"... # Saving options in "/home/tietz/.ddd/init"...done. # Saving history in "/home/tietz/.ddd/history"... # Saving history in "/home/tietz/.ddd/history"...done. # Thanks for using DDD 3.3.10! (We apologize for the inconvenience.)