GNU DDD 3.3.1 (sparc-sun-solaris2.6) Copyright (C) 1995-1999 Technische Universität Braunschweig, Germany. Copyright (C) 1999-2001 Universität Passau, Germany. Compiled with GCC 2.95.1 19990816 (release), libstdc++ 2.8.0 Requires X11R6, Xt11R6, Motif 1.2.6 (OSF/Motif Version 1.2.6) Includes XPM 3.4.11, Athena Panner, DDD core Built 2002-01-30 by Super-User . $ ddd -display 10.128.154.10:0.0 telnet + /bin/sh -c 'exec gdb -q -fullname '\''telnet'\''' # Hello, world! # Starting GDB... # Grid size set to 16. # Code indentation set to 4. # Tab width set to 8. # Running GDB (pid 17076, tty /dev/pts/4)... # Current language: C/C++ # Searching "vsllib/ddd.vsl"... # Trying "//.ddd/vsllib/ddd.vsl" # Trying "/usr/local/share/ddd-3.3.1/vsllib/ddd.vsl" # Searching "vsllib/ddd.vsl"..."/usr/local/share/ddd-3.3.1/vsllib/ddd.vsl". <- "(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" <- "119\t\tint ch;\n" "120\t\tchar *user;\n" "121\t#ifdef\tFORWARD\n" "122\t\textern int forward_flags;\n" "123\t#endif\t/* FORWARD */\n" "124\t#ifdef ENCRYPTION\n" "125\t\textern int auth_enable_encrypt;\n" "126\t#endif /* ENCRYPTION */\n" "127\t\n" "128\t\ttninit();\t\t/* Clear out things */\n" "(gdb) " -> "info line\n" <- "Line 128 of \"main.c\" starts at address 0x24484 and ends at 0x2448c .\n" "\032\032/work3/mitk5/krb5-1.2.3/src/appl/telnet/telnet/main.c:128:3447:beg:0x24484\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 4.17\n" "Copyright 1998 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 \"sparc-sun-solaris2.6\".\n" "(gdb) " -> "pwd\n" <- "Working directory /work3/mitk5/krb5-1.2.3/src/appl/telnet/telnet.\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 \"/work3/mitk5/krb5-1.2.3/src/appl/telnet/telnet/.gdb_history\".\n" "(gdb) " -> "show history size\n" <- "The size of the command history is 256.\n" "(gdb) " # Reading file "/work3/mitk5/krb5-1.2.3/src/appl/telnet/telnet/main.c"... # Reading file "/work3/mitk5/krb5-1.2.3/src/appl/telnet/telnet/main.c"...done. # File "/work3/mitk5/krb5-1.2.3/src/appl/telnet/telnet/main.c" 341 lines, 8912 characters # Setting buttons... # Setting buttons...done. -> "set confirm off\n" <- "(gdb) " -> "source /var/tmp//dddnE9pD_\n" <- "(gdb) " -> "info breakpoints\n" <- "No breakpoints or watchpoints.\n" "(gdb) " -> "info source\n" <- "Current source file is main.c\n" "Compilation directory is /work3/mitk5/krb5-1.2.3/src/appl/telnet/telnet/\n" "Located in /work3/mitk5/krb5-1.2.3/src/appl/telnet/telnet/main.c\n" "Contains 341 lines.\n" "Source language is c.\n" "Compiled with stabs debugging format.\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 \"/work3/mitk5/krb5-1.2.3/src/appl/telnet/telnet/telnet\".\n" "Local exec file:\n" "\t`/work3/mitk5/krb5-1.2.3/src/appl/telnet/telnet/telnet\', file type elf32-sparc.\n" "\tEntry point: 0x1d45c\n" "\t0x000100d4 - 0x000100e5 is .interp\n" "\t0x000100e8 - 0x0001297c is .hash\n" "\t0x0001297c - 0x00017a5c is .dynsym\n" "\t0x00017a5c - 0x0001cd87 is .dynstr\n" "\t0x0001cd88 - 0x0001ce38 is .SUNW_version\n" "\t0x0001ce38 - 0x0001ce50 is .rela.got\n" "\t0x0001ce50 - 0x0001ce8c is .rela.bss\n" "\t0x0001ce8c - 0x0001d45c is .rela.plt\n" "\t0x0001d45c - 0x000acb44 is .text\n" "\t0x000acb44 - 0x000acb60 is .init\n" "\t0x000acb60 - 0x000acb74 is .fini\n" "\t0x000acb78 - 0x000b8b6a is .rodata\n" "\t0x000b8b6c - 0x000b8d5c is .rodata1\n" "\t0x000c8d5c - 0x000c8d7c is .got\n" "\t0x000c8d7c - 0x000c9380 is .plt\n" "\t0x000c9380 - 0x000c9448 is .dynamic\n" "\t0x000c9448 - 0x000cbe39 is .data\n" "\t0x000cbe3c - 0x000cbe44 is .ctors\n" "\t0x000cbe44 - 0x000cbe4c is .dtors\n" "\t0x000cbe4c - 0x000cbe50 is .eh_frame\n" "\t0x000cbe50 - 0x000cbe5d is .data1\n" "\t0x000cbe60 - 0x000d06a8 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.1 "Blue Gnu" (sparc-sun-solaris2.6) -> "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 you\n" "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 line or address or function (same args as break command).\n" "Execution will also stop upon exit from the current stack 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) " # Starting execution window... + /bin/sh -c 'tmp=${TMPDIR-/tmp}/ddd$$; export tmp; trap "rm -f $tmp" 0; trap '\''exit 1'\'' 1 2 15; xterm -bg '\''grey96'\'' -fg '\''black'\'' -cr '\''DarkGreen'\'' -fn '\''-*-lucidatypewriter-medium-r-*-*-*-120-*-*-*-*-iso8859-*'\'' -title '\''DDD: Execution Window'\'' -e /bin/sh -c '\''echo `tty` $$ $TERM $WINDOWID >$tmp; trap "" 2; while true; do sleep 3600; done'\'' >/dev/null &1 & while test ! -s $tmp; do sleep 1; done; cat $tmp' ! X error X Error of failed request: BadWindow (invalid Window parameter) Major opcode of failed request: 18 (X_ChangeProperty) Resource id in failed request: 0x500000d Serial number of failed request: 11169 Current serial number in output stream: 11189 Widget hierarchy of resource: unknown ! X error # Closing execution window... -> "set environment TERM dumb\n" <- "(gdb) " # Closing execution window...done. # Running GDB (pid 17076, tty /dev/pts/4)...Exit 0. # Saving history in "//.ddd/history"... # Saving history in "//.ddd/history"...done. # Thanks for using DDD 3.3.1! (We apologize for the inconvenience.) X Error of failed request: BadWindow (invalid Window parameter) Major opcode of failed request: 2 (X_ChangeWindowAttributes) Resource id in failed request: 0x500000d Serial number of failed request: 11170 Current serial number in output stream: 11961 Widget hierarchy of resource: unknown