bug-ddd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Display problem


From: Fred Krogh
Subject: Display problem
Date: Sat, 14 Jun 2003 11:02:18 -0700
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3) Gecko/20030312

Hi --
I'm not sure if this is a bug, but it seems that if I can print something I should be able to display it. Thus if in the command area of the source window I have

l(3)@5

where l is a Fortran 77 integer array, and I hit the print button, I get

(gdb) print l(3)@5
$11 = (0, 1, 1108542220, 1107781925, 1)

But if I hit the display button, I get

(gdb) graph display l(3)@5
1: Invalid expression
Disabling display 1 to avoid infinite recursion.
(gdb) 1: Invalid expression
Disabling display 1 to avoid infinite recursion.

I wouldn't characterize this as serious, but it would be nice to be able to display a specific part of an array.

I tried to install a later rpm of ddd, but gave up in the usual rpm dependency hell.

Thanks for making ddd available; I don't know what I'd do without it!
       Fred

====  ddd configuration

cons 1191:] ddd --configuration
GNU DDD 3.3.1 (i386-redhat-linux-gnu)
Copyright (C) 1995-1999 Technische Universität Braunschweig, Germany.
Copyright (C) 1999-2001 Universität Passau, Germany.

Compiled with GCC 2.96 20000731 (Red Hat Linux 7.2 2.96-108), GNU libc 2.3
Requires X11R6, Xt11R6, Motif 2.2.3 (Motif Version 2.2.2)
Includes XPM 3.4.11, Athena Panner, DDD core
Built 2002-03-22 by Compile Server <bhcompile@daffy.perf.redhat.com>.


==== gdb version

cons 1012:] gdb --version
GNU gdb Red Hat Linux (5.2-2)
Copyright 2002 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 "i386-redhat-linux".


==== g77 version

cons 1013:] /usr/local/bin/g77 --version
GNU Fortran (GCC) 3.3
Copyright (C) 2002 Free Software Foundation, Inc.

====  .ddd/log

GNU DDD 3.3.1 (i386-redhat-linux-gnu)
Copyright (C) 1995-1999 Technische Universität Braunschweig, Germany.
Copyright (C) 1999-2001 Universität Passau, Germany.

Compiled with GCC 2.96 20000731 (Red Hat Linux 7.2 2.96-108), GNU libc 2.3
Requires X11R6, Xt11R6, Motif 2.2.3 (Motif Version 2.2.2)
Includes XPM 3.4.11, Athena Panner, DDD core
Built 2002-03-22 by Compile Server <bhcompile@daffy.perf.redhat.com>.
$  ddd tdglin
+  /bin/sh -c 'exec gdb -q -fullname '\''tdglin'\'''
#  Hello, world!
#  Starting GDB...
#  Enabling core dumps...
#  Enabling core dumps...done.
#  Running GDB (pid 22286, tty /dev/pts/8)...
#  Current language: C/C++
#  Searching "vsllib/ddd.vsl"...
#  Trying "/x1/m/.ddd/vsllib/ddd.vsl"
#  Trying "/usr/share/ddd-3.3.1/vsllib/ddd.vsl"
#  Searching "vsllib/ddd.vsl"..."/usr/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"
<- "13\t\n"
  "14\textern void f_init (void);\n"
  "15\textern int MAIN__ (void);\n"
  "16\textern void f_setarg (int, char **);\n"
  "17\textern void f_setsig (void);\n"
  "18\t\n"
  "19\tint\n"
  "20\tmain (int argc, char **argv)\n"
  "21\t{\n"
  "22\t  f_setarg (argc, argv);\n"
  "(gdb) "
-> "info line\n"
<- "Line 22 of \"../../../../libf2c/libF77/main.c\" starts at address 0x8095d66 <main+6> and ends at 0x8095d69 <main+9>.\n"
  "\032\032/x2/big/gcc/gcc-3.3/libf2c/libF77/main.c:22:379:beg:0x8095d66\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 Red Hat Linux (5.2-2)\n"
  "Copyright 2002 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-redhat-linux\".\n"
  "(gdb) "
-> "pwd\n"
<- "Working directory /x1/m/math77/lin/cons.\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 \"/x1/m/math77/lin/cons/.gdb_history\".\n"
  "(gdb) "
-> "show history size\n"
<- "The size of the command history is 1000.\n"
  "(gdb) "
#  Reading file "/x2/big/gcc/gcc-3.3/libf2c/libF77/main.c"...
#  Reading file "/x2/big/gcc/gcc-3.3/libf2c/libF77/main.c"...done.
#  File "/x2/big/gcc/gcc-3.3/libf2c/libF77/main.c" 35 lines, 942 characters
#  Setting buttons...
#  Setting buttons...done.
-> "info source\n"
<- "Current source file is ../../../../libf2c/libF77/main.c\n"
"Compilation directory is /x2/big/gcc/gcc-3.3/objdir/i686-pc-linux-gnu/libf2c/libF77\n"
  "Located in /x2/big/gcc/gcc-3.3/libf2c/libF77/main.c\n"
  "Contains 35 lines.\n"
  "Source language is c.\n"
  "Compiled with DWARF 2 debugging format.\n"
  "(gdb) "
-> "info files\n"
<- "Symbols from \"/x1/m/math77/lin/cons/tdglin\".\n"
  "Local exec file:\n"
  "\t`/x1/m/math77/lin/cons/tdglin\', file type elf32-i386.\n"
  "\tEntry point: 0x8048d00\n"
  "\t0x080480f4 - 0x08048107 is .interp\n"
  "\t0x08048108 - 0x08048128 is .note.ABI-tag\n"
  "\t0x08048128 - 0x080482a0 is .hash\n"
  "\t0x080482a0 - 0x08048610 is .dynsym\n"
  "\t0x08048610 - 0x080487fe is .dynstr\n"
  "\t0x080487fe - 0x0804886c is .gnu.version\n"
  "\t0x0804886c - 0x080488bc is .gnu.version_r\n"
  "\t0x080488bc - 0x080488cc is .rel.dyn\n"
  "\t0x080488cc - 0x08048a24 is .rel.plt\n"
  "\t0x08048a24 - 0x08048a3c is .init\n"
  "\t0x08048a3c - 0x08048cfc is .plt\n"
  "\t0x08048d00 - 0x08095e20 is .text\n"
  "\t0x08095e20 - 0x08095e3e is .fini\n"
  "\t0x08095e40 - 0x08099008 is .rodata\n"
  "\t0x0809a020 - 0x080a0698 is .data\n"
  "\t0x080a0698 - 0x080a069c is .eh_frame\n"
  "\t0x080a069c - 0x080a077c is .dynamic\n"
  "\t0x080a077c - 0x080a0784 is .ctors\n"
  "\t0x080a0784 - 0x080a078c is .dtors\n"
  "\t0x080a078c - 0x080a0790 is .jcr\n"
  "\t0x080a0790 - 0x080a0850 is .got\n"
  "\t0x080a0860 - 0x12333fe0 is .bss\n"
  "(gdb) "
-> "info program\n"
<- "The program being debugged is not being run.\n"
  "(gdb) "
-> "set confirm off\n"
<- "(gdb) "
-> "source /tmp/dddLVFmYG\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 \"/x1/m/math77/lin/cons/tdglin\".\n"
  "Local exec file:\n"
  "\t`/x1/m/math77/lin/cons/tdglin\', file type elf32-i386.\n"
  "\tEntry point: 0x8048d00\n"
  "\t0x080480f4 - 0x08048107 is .interp\n"
  "\t0x08048108 - 0x08048128 is .note.ABI-tag\n"
  "\t0x08048128 - 0x080482a0 is .hash\n"
  "\t0x080482a0 - 0x08048610 is .dynsym\n"
  "\t0x08048610 - 0x080487fe is .dynstr\n"
  "\t0x080487fe - 0x0804886c is .gnu.version\n"
  "\t0x0804886c - 0x080488bc is .gnu.version_r\n"
  "\t0x080488bc - 0x080488cc is .rel.dyn\n"
  "\t0x080488cc - 0x08048a24 is .rel.plt\n"
  "\t0x08048a24 - 0x08048a3c is .init\n"
  "\t0x08048a3c - 0x08048cfc is .plt\n"
  "\t0x08048d00 - 0x08095e20 is .text\n"
  "\t0x08095e20 - 0x08095e3e is .fini\n"
  "\t0x08095e40 - 0x08099008 is .rodata\n"
  "\t0x0809a020 - 0x080a0698 is .data\n"
  "\t0x080a0698 - 0x080a069c is .eh_frame\n"
  "\t0x080a069c - 0x080a077c is .dynamic\n"
  "\t0x080a077c - 0x080a0784 is .ctors\n"
  "\t0x080a0784 - 0x080a078c is .dtors\n"
  "\t0x080a078c - 0x080a0790 is .jcr\n"
  "\t0x080a0790 - 0x080a0850 is .got\n"
  "\t0x080a0860 - 0x12333fe0 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" (i386-redhat-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 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) "
-> "tbreak ../../../../libf2c/libF77/main.c:28\n"
<- "Breakpoint 1 at 0x8095d91: file ../../../../libf2c/libF77/main.c, line 28.\n"
  "(gdb) "
-> "info breakpoints\n"
<- "Num Type           Disp Enb Address    What\n"
"1 breakpoint del y 0x08095d91 in main at ../../../../libf2c/libF77/main.c:28\n"
  "(gdb) "
-> "help run  test in\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) "
-> "set environment TERM dumb\n"
<- "(gdb) "
-> "run <test.in\n"
<- "main (argc=0, argv=0x0) at ../../../../libf2c/libF77/main.c:28\n"
<- "\032\032/x2/big/gcc/gcc-3.3/libf2c/libF77/main.c:28:476:beg:0x8095d91\n"
<- "(gdb) "
-> "info breakpoints\n"
<- "No breakpoints or watchpoints.\n"
<- "(gdb) "
#  Reading file "/x1/libf2c/libF77/main.c"...
#  Reading file "/x1/libf2c/libF77/main.c"...No such file or directory.
-> "info source\n"
<- "Current source file is ../../../../libf2c/libF77/main.c\n"
<- "Compilation directory is /x2/big/gcc/gcc-3.3/objdir/i686-pc-linux-gnu/libf2c/libF77\n"
<- "Located in /x2/big/gcc/gcc-3.3/libf2c/libF77/main.c\n"
<- "Contains 35 lines.\n"
<- "Source language is c.\n"
<- "Compiled with DWARF 2 debugging format.\n"
<- "(gdb) "
#  Reading file "../../../../libf2c/libF77/main.c" from GDB...
-> "list ../../../../libf2c/libF77/main.c:1,1000000\n"
<- "1\t/* STARTUP PROCEDURE FOR UNIX FORTRAN PROGRAMS */\n"
<- "2\t\n"
<- "3\t#include <stdio.h>\n"
<- "4\t#include \"signal1.h\"\n"
<- "5\t\n"
<- "6\t#include <stdlib.h>\n"
<- "7\t\n"
<- "8\textern void f_exit (void);\n"
<- "9\t#ifndef NO_ONEXIT\n"
<- "10\t#define ONEXIT atexit\n"
<- "11\textern int atexit (void (*)(void));\n"
<- "12\t#endif\n"
<- "13\t\n"
<- "14\textern void f_init (void);\n"
<- "15\textern int MAIN__ (void);\n"
<- "16\textern void f_setarg (int, char **);\n"
<- "17\textern void f_setsig (void);\n"
<- "18\t\n"
<- "19\tint\n"
<- "20\tmain (int argc, char **argv)\n"
<- "21\t{\n"
<- "22\t  f_setarg (argc, argv);\n"
<- "23\t  f_setsig ();\n"
<- "24\t  f_init ();\n"
<- "25\t#ifndef NO_ONEXIT\n"
<- "26\t  ONEXIT (f_exit);\n"
<- "27\t#endif\n"
<- "28\t  MAIN__ ();\n"
<- "29\t#ifdef NO_ONEXIT\n"
<- "30\t  f_exit ();\n"
<- "31\t#endif\n"
<- "32\t exit (0);\t\t\t/* exit(0) rather than return(0) to bypass Cray bug */\n" <- "33\t return 0;\t\t\t/* For compilers that complain of missing return values; */\n"
<- "34\t  /* others will complain that this is unreachable code. */\n"
<- "35\t}\n"
<- "(gdb) "
#  Reading file "../../../../libf2c/libF77/main.c" from GDB...done.
# Source "../../../../libf2c/libF77/main.c" (from GDB) 35 lines, 942 characters
-> "info source\n"
<- "Current source file is ../../../../libf2c/libF77/main.c\n"
<- "Compilation directory is /x2/big/gcc/gcc-3.3/objdir/i686-pc-linux-gnu/libf2c/libF77\n"
<- "Located in /x2/big/gcc/gcc-3.3/libf2c/libF77/main.c\n"
<- "Contains 35 lines.\n"
<- "Source language is c.\n"
<- "Compiled with DWARF 2 debugging format.\n"
<- "(gdb) "
-> "output NO_ONEXIT\n"
<- "No symbol \"NO_ONEXIT\" in current context."
<- "\n"
<- "(gdb) "
-> "step\n"
<- "MAIN__ () at tdglin.f:473\n"
  "\032\032/x1/m/math77/lin/cons/tdglin.f:473:23676:beg:0x8048ddc\n"
  "Current language:  auto; currently fortran\n"
#  Current language: Fortran
<- "(gdb) "
-> "info breakpoints\n"
<- "No breakpoints or watchpoints.\n"
<- "(gdb) "
#  Reading file "/x1/m/math77/lin/cons/tdglin.f"...
#  Reading file "/x1/m/math77/lin/cons/tdglin.f"...done.
#  File "/x1/m/math77/lin/cons/tdglin.f" 1914 lines, 79761 characters
-> "info source\n"
<- "Current source file is tdglin.f\n"
<- "Compilation directory is /x1/m/math77/lin/cons\n"
<- "Located in /x1/m/math77/lin/cons/tdglin.f\n"
<- "Contains 1914 lines.\n"
<- "Source language is fortran.\n"
<- "Compiled with DWARF 2 debugging format.\n"
<- "(gdb) "
-> "output K\n"
<- "0"
<- "(gdb) "
-> "output IOSTAT\n"
<- "No symbol \"IOSTAT\" in current context.\n"
<- "(gdb) "
-> "output iostat\n"
<- "No symbol \"iostat\" in current context.\n"
<- "(gdb) "
-> "output iostat_\n"
<- "No symbol \"iostat_\" in current context.\n"
<- "(gdb) "
-> "output iostat__\n"
<- "No symbol \"iostat__\" in current context.\n"
<- "(gdb) "
-> "output IOSTAT_\n"
<- "No symbol \"IOSTAT_\" in current context.\n"
<- "(gdb) "
-> "output IOSTAT__\n"
<- "No symbol \"IOSTAT__\" in current context.\n"
<- "(gdb) "
-> "output Executable\n"
<- "No symbol \"Executable\" in current context.\n"
<- "(gdb) "
-> "output executable\n"
<- "No symbol \"executable\" in current context.\n"
<- "(gdb) "
-> "output EXECUTABLE\n"
<- "No symbol \"EXECUTABLE\" in current context.\n"
<- "(gdb) "
-> "output executable_\n"
<- "No symbol \"executable_\" in current context.\n"
<- "(gdb) "
-> "output executable__\n"
<- "No symbol \"executable__\" in current context.\n"
<- "(gdb) "
-> "output EXECUTABLE_\n"
<- "No symbol \"EXECUTABLE_\" in current context.\n"
<- "(gdb) "
-> "output EXECUTABLE__\n"
<- "No symbol \"EXECUTABLE__\" in current context.\n"
<- "(gdb) "
-> "output d\n"
<- "No symbol \"d\" in current context.\n"
  "(gdb) "
-> "output D\n"
<- "No symbol \"D\" in current context.\n"
  "(gdb) "
-> "output d_\n"
<- "No symbol \"d_\" in current context.\n"
  "(gdb) "
-> "output d__\n"
<- "No symbol \"d__\" in current context.\n"
  "(gdb) "
-> "output D_\n"
<- "No symbol \"D_\" in current context.\n"
  "(gdb) "
-> "output D__\n"
<- "No symbol \"D__\" in current context.\n"
  "(gdb) "
-> "output do\n"
<- "No symbol \"do\" in current context.\n"
  "(gdb) "
-> "output DO\n"
<- "No symbol \"DO\" in current context.\n"
  "(gdb) "
-> "output do_\n"
<- "No symbol \"do_\" in current context.\n"
  "(gdb) "
-> "output do__\n"
<- "No symbol \"do__\" in current context.\n"
  "(gdb) "
-> "output DO_\n"
<- "No symbol \"DO_\" in current context.\n"
  "(gdb) "
-> "output DO__\n"
<- "No symbol \"DO__\" in current context.\n"
  "(gdb) "
-> "output dop\n"
<- "No symbol \"dop\" in current context.\n"
  "(gdb) "
-> "output DOP\n"
<- "No symbol \"DOP\" in current context.\n"
<- "(gdb) "
-> "output dop_\n"
<- "No symbol \"dop_\" in current context.\n"
<- "(gdb) "
-> "output dop__\n"
<- "No symbol \"dop__\" in current context.\n"
<- "(gdb) "
-> "output DOP_\n"
<- "No symbol \"DOP_\" in current context.\n"
<- "(gdb) "
-> "output DOP__\n"
<- "No symbol \"DOP__\" in current context.\n"
<- "(gdb) "
-> "output dopt\n"
<- "No symbol \"dopt\" in current context.\n"
<- "(gdb) "
-> "output DOPT\n"
<- "No symbol \"DOPT\" in current context.\n"
<- "(gdb) "
-> "output dopt_\n"
<- "{VOID ()} 0x80500d0 <dopt_>"
<- "(gdb) "
-> "info line \'dopt_\'\n"
<- "Line 1 of \"dopt.f\" starts at address 0x80500d0 <dopt_> and ends at 0x80500e7 <dopt_+23>.\n"
  "\032\032/x1/m/math77/lin/cons/dopt.f:1:0:beg:0x80500d0\n"
  "(gdb) "
#  Reading file "/x1/m/math77/lin/cons/dopt.f"...
#  Reading file "/x1/m/math77/lin/cons/dopt.f"...done.
#  File "/x1/m/math77/lin/cons/dopt.f" 5023 lines, 217357 characters
-> "output code\n"
<- "No symbol \"code\" in current context.\n"
  "(gdb) "
-> "output CODE\n"
<- "No symbol \"CODE\" in current context.\n"
  "(gdb) "
-> "output code_\n"
<- "No symbol \"code_\" in current context.\n"
  "(gdb) "
-> "output code__\n"
<- "No symbol \"code__\" in current context.\n"
  "(gdb) "
-> "output CODE_\n"
<- "No symbol \"CODE_\" in current context.\n"
  "(gdb) "
-> "output CODE__\n"
<- "No symbol \"CODE__\" in current context.\n"
  "(gdb) "
#  Invoking DDD manual browser...
+ /bin/sh -c 'info --subnodes -o - -f ddd 2> /dev/null || man ddd || man xddd'
#  Invoking DDD manual browser...done.
-> "info source\n"
<- "Current source file is dopt.f\n"
  "Compilation directory is /x1/m/math77/lin/cons\n"
  "Located in /x1/m/math77/lin/cons/dopt.f\n"
  "Contains 5023 lines.\n"
  "Source language is fortran.\n"
  "Compiled with DWARF 2 debugging format.\n"
  "(gdb) "
-> "break dopt.f:2283\n"
<- "Breakpoint 2 at 0x8055347: file dopt.f, line 2283.\n"
  "(gdb) "
-> "info breakpoints\n"
<- "Num Type           Disp Enb Address    What\n"
  "2   breakpoint     keep y   0x08055347 in dopt_ at dopt.f:2283\n"
  "(gdb) "
-> "output L\n"
<- "0(gdb) "
-> "output LGKKT\n"
<- "No symbol \"LGKKT\" in current context.\n"
  "(gdb) "
-> "output lgkkt\n"
<- "No symbol \"lgkkt\" in current context.\n"
  "(gdb) "
-> "output lgkkt_\n"
<- "No symbol \"lgkkt_\" in current context.\n"
  "(gdb) "
-> "output lgkkt__\n"
<- "No symbol \"lgkkt__\" in current context.\n"
  "(gdb) "
-> "output LGKKT_\n"
<- "No symbol \"LGKKT_\" in current context.\n"
  "(gdb) "
-> "output LGKKT__\n"
<- "No symbol \"LGKKT__\" in current context.\n"
  "(gdb) "
-> "output LPIV\n"
<- "No symbol \"LPIV\" in current context.\n"
<- "(gdb) "
-> "output lpiv\n"
<- "No symbol \"lpiv\" in current context.\n"
<- "(gdb) "
-> "output lpiv_\n"
<- "No symbol \"lpiv_\" in current context.\n"
<- "(gdb) "
-> "output lpiv__\n"
<- "No symbol \"lpiv__\" in current context.\n"
<- "(gdb) "
-> "output LPIV_\n"
<- "No symbol \"LPIV_\" in current context.\n"
<- "(gdb) "
-> "output LPIV__\n"
<- "No symbol \"LPIV__\" in current context.\n"
<- "(gdb) "
-> "output an\n"
<- "No symbol \"an\" in current context.\n"
<- "(gdb) "
-> "output AN\n"
<- "No symbol \"AN\" in current context.\n"
<- "(gdb) "
-> "output an_\n"
<- "No symbol \"an_\" in current context.\n"
<- "(gdb) "
-> "output an__\n"
<- "No symbol \"an__\" in current context.\n"
<- "(gdb) "
-> "output AN_\n"
<- "No symbol \"AN_\" in current context.\n"
<- "(gdb) "
-> "output AN__\n"
<- "No symbol \"AN__\" in current context.\n"
<- "(gdb) "
-> "cont\n"
<- "\n"
  " NV=   4  NB=   2  NI=   3 M=   0 MP=111111 KSEED=    1234   56789\n"
" NE= 1 NBA= 1 NIA= 2 RNORM= -0.6123 CNORM= 5.2657E-18 #times= 1\n" " dglin -- Dx.= 4.593E-16 Dr.=-1.110E-16 Dc.=-7.838E-17 Secs= 0.00\n" " Default output gives the current counter: Brief desciption of reason called (no. equalities, no. of actives, no. of inactives,\n" " no. cols. factored, no. infeasible, no. of 0 length moves, L1 norm of infeasible constraints). Then gives indices of certain\n"
  " special variables preceded by a code:\n"
  " P/p The variable used as a pivot\n"
  " x/X Just went inactive from a lower/upper bound\n"
  " a/A Just went active on a lower/upper bound\n"
  " b/B Bounded in search direction going down/up.\n"
  " u/U Unbounded in search direction going down/up.\n"
" v/V Violates lower/upper bound (Only prints if < 9 or if just happened)\n" " f/F A constraint was just factored upon reaching a lower/upper bound.\n"
  "  \n"
  " Problem characteristics:\n"
  " NV=4  NC=6  MROWS=0  MSTA=0\n"
  " Basic counts: LTIGN=1  LTBND=8  LTINT=0  LTMIN=1  LTMAX=0\n"
  "  \n"
  " 0:   Before Scaling (0, 0, 4, 0, 0,  3.545E-01) \n"
  " Variables.:\n"
" 1- 6: 0.0000000000000000 0.0000000000000000 0.0000000000000000 0.0000000000000000 0.0000000000000000 0.0000000000000000\n" " 7-10: 0.0000000000000000 0.0000000000000000 0.0000000000000000 0.0000000000000000\n"
  " Lower Bounds:\n"
" 1- 5: -1.000000000000000E+35 1.071673794936214E-01 -1.278189774570903E-01 -1.000000000000000E+35 -1.000000000000000E+35\n" " 6-10: 1.317467851578017E-01 -2.243224940282524E-02 -1.000000000000000E+35 2.227561980337763E-01 0.000000000000000E+00\n"
  " Upper Bounds:\n"
" 1- 5: 1.000000000000000E+35 4.143030397467753E-01 1.000000000000000E+35 1.000000000000000E+35 1.000000000000000E+35\n" " 6-10: 1.317467851578017E-01 3.254497683677315E-01 1.547840047041794E-01 1.000000000000000E+35 0.000000000000000E+00\n"
  " Scaling.:\n"
" 1- 6: 0.0000000000000000 0.0000000000000000 0.0000000000000000 0.0000000000000000 0.0000000000000000 0.0000000000000000\n" " 7-10: 0.0000000000000000 0.0000000000000000 0.0000000000000000 0.0000000000000000\n"
  " Constraint Matrix:\n"
" Col 1 Col 2 Col 3 Col 4 \n" " Row 1 -0.96646767980181081 1.00000000000000000 0.99775693311400104 -1.13316001725904236\n" " Row 2 -0.83670299826119732 0.86767929831940671 -0.86573303561767967 -0.73306759886043071\n" " Row 3 0.33874697078031085 0.92900541735373932 -0.17617378899083258 0.19011608102732930\n" " Row 4 0.39661220681461629 -0.68299322333968915 0.01408929852598240 -0.10156563437579888\n" " Row 5 0.22785145643995769 -0.99419774063641775 0.97781352542850875 -0.40468794569158184\n" " Row 6 0.67335514021239573 1.10691280680345794 1.41404182009095880 1.68958056703082216\n"
  " Flags:  0 0 0 0\n"
  " Col. perms.:  1 2 3 4\n"
  " Row. perms.:   1  2  3  4  5  6  7  8  9 10\n"
  " Count: 0\n"
  "  \n"
  " 0:    B4 Equalities (0, 0, 4, 0, 0,  3.719E-01) \n"
  " Variables.:\n"
" 1- 5: 0.00000000000000000 0.10685602072492041 0.00000000000000000 0.00000000000000000 0.00000000000000000\n" " 6-10: 0.09982566896188926 0.10685602072492038 -0.10685602072492038 -0.10685602072492040 0.06011310069204786\n"
  " Lower Bounds:\n"
" 1- 5: -1.000000000000000E+35 1.068560207249204E-01 -1.262512643738825E-01 -1.000000000000000E+35 -1.000000000000000E+35\n" " 6-10: 1.414361443193632E-01 -2.407636752645187E-02 -1.000000000000000E+35 2.234052685781386E-01 -1.000000000000000E+30\n"
  " Upper Bounds:\n"
" 1- 5: 1.000000000000000E+35 4.130993443225318E-01 1.000000000000000E+35 1.000000000000000E+35 1.000000000000000E+35\n" " 6-10: 1.414361443193632E-01 3.493028315579119E-01 2.259675465133903E-01 1.000000000000000E+35 1.000000000000000E+30\n"
  " Scaling.:\n"
" 1- 6: 1.1132899605400082 1.0029138158672644 1.0124174050135852 1.2706782421784031 0.0000000000000000 0.9314930479179148\n" " 7-10: 0.9317123680795992 0.6849833398310904 0.9970946497882825 1.9733626026173070\n"
  " Constraint Matrix:\n"
" Col 1 Col 2 Col 3 Col 4 \n" " Row 1 -0.96646767980181081 1.00000000000000000 0.99775693311400104 -1.13316001725904236\n" " Row 2 -1.00000000000000022 0.93420724714118453 -0.94094442820986324 -1.00000000000000022\n"
  " Row 3   0.40476397507781142"
<- "  1.00000000000000000 -0.19143398369728590  0.25928213032910497\n"
" Row 4 0.64460602528407462 -1.00000000000000000 0.02082423063844771 -0.18840931486917428\n" " Row 5 0.25440387129033898 -1.00000000000000000 0.99283997984716665 -0.51572653365591381\n" " Row 6 0.37987925608917950 0.56256166273304431 0.72546249137305907 1.08794666630756276\n"
  " Flags:  0 0 0 0\n"
  " Col. perms.:  1 2 3 4\n"
  " Row. perms.:   1  2  3  4  5  6  7  8  9 10\n"
  " Count: 0\n"
  "  \n"
  "  \n"
  " 0: After Equalities (1, 0, 3, 0, 0,  3.408E-01) \n"
  " Variables.:\n"
" 1- 5: 0.14143614431936322 0.10685602072492041 0.00000000000000000 0.00000000000000000 0.00000000000000000\n" " 6-10: -0.04161047535747395 0.09001359931435191 -0.13367838385528261 -0.11744188674209302 0.04430614426773352\n"
  " Lower Bounds:\n"
" 1- 5: 1.414361443193632E-01 1.068560207249204E-01 -1.262512643738825E-01 -1.000000000000000E+35 -1.000000000000000E+35\n" " 6-10: -1.000000000000000E+35 -2.407636752645187E-02 -1.000000000000000E+35 2.234052685781386E-01 -1.000000000000000E+30\n"
  " Upper Bounds:\n"
" 1- 5: 1.414361443193632E-01 4.130993443225318E-01 1.000000000000000E+35 1.000000000000000E+35 1.000000000000000E+35\n" " 6-10: 1.000000000000000E+35 3.493028315579119E-01 2.259675465133903E-01 1.000000000000000E+35 1.000000000000000E+30\n"
  " Scaling.:\n"
" 1- 6: 1.1132899605400082 1.0029138158672644 1.0124174050135852 1.2706782421784031 0.0000000000000000 0.9314930479179148\n" " 7-10: 0.9317123680795992 0.6849833398310904 0.9970946497882825 1.9733626026173070\n"
  " Constraint Matrix:\n"
" Col 1 Col 2 Col 3 Col 4 \n" " Row 1 -0.9664676798018108 1.0000000000000000 0.9977569331140010 -1.1331600172590424\n" " Row 2 -1.0000000000000002 0.9342072471411843 -0.9409444282098630 -1.0000000000000000\n" " Row 3 0.4047639750778114 1.3781334388993651 -0.5722943907868284 -0.1454818447487065\n" " Row 4 0.6446060252840746 -0.3978043796287440 -0.5857142172431083 -0.8330153401532490\n" " Row 5 0.2544038712903390 -0.7623340597397923 0.7534600746415031 -0.7701304049462527\n" " Row 6 0.3798792560891795 0.9174476168101576 0.3680172219634379 0.7080674102183833\n"
  " Flags:  32  0  0  0\n"
  " Col. perms.:  4 2 3 1\n"
  " Row. perms.:   6  2  3  4  5  1  7  8  9 10\n"
  " Count: 0\n"
  "  \n"
  " 1: Before KKT Check (1, 0, 3, 0, 0,  3.408E-01) \n"
  " Variables.:\n"
" 1- 5: 0.14143614431936322 0.10685602072492041 0.00000000000000000 0.00000000000000000 0.00000000000000000\n" " 6-10: -0.04161047535747395 0.09001359931435191 -0.13367838385528261 -0.11744188674209302 0.04430614426773352\n" " KKT Grad.: -0.2544038712903390 0.7623340597397923 -0.7534600746415031 0.7701304049462527\n"
  " Constraint Matrix:\n"
" Col 1 Col 2 Col 3 Col 4 \n" " Row 1 -0.2544038712903390 0.7623340597397923 -0.7534600746415031 0.7701304049462527\n" " Row 2 -1.0000000000000002 0.9342072471411843 -0.9409444282098630 -1.0000000000000000\n" " Row 3 0.4047639750778114 1.3781334388993651 -0.5722943907868284 -0.1454818447487065\n" " Row 4 0.6446060252840746 -0.3978043796287440 -0.5857142172431083 -0.8330153401532490\n" " Row 5 0.2544038712903390 -0.7623340597397923 0.7534600746415031 -0.7701304049462527\n" " Row 6 0.3798792560891795 0.9174476168101576 0.3680172219634379 0.7080674102183833\n"
  " Flags:  32  0  0  0\n"
  " Col. perms.:  4 2 3 1\n"
  " Row. perms.:   6  2  3  4  5  1  7  8  9 10\n"
  " Count: 1\n"
  "\n"
"Breakpoint 2, dopt_ (nv=0x809a068, nc=0xbffb0224, lt=0xbffac1c0, lopt=0xbffac130, x=0x80a08e0, bnd=0xe20df60, a=0xa1291c0, ida=0x80962a8, obj=0xbffac0d0, iw=0xe203d40) at dopt.f:2283\n"
  "\032\032/x1/m/math77/lin/cons/dopt.f:2283:90359:beg:0x8055347\n"
<- "(gdb) "
-> "info breakpoints\n"
<- "Num Type           Disp Enb Address    What\n"
  "2   breakpoint     keep y   0x08055347 in dopt_ at dopt.f:2283\n"
  "\tbreakpoint already hit 1 time\n"
  "(gdb) "
-> "output IW\n"
<- "(PTR TO -> ( integer (-1))) 0xe203d40(gdb) "
-> "output *IW\n"
<- "()(gdb) "
-> "output dopt\n"
<- "No symbol \"dopt\" in current context.\n"
<- "(gdb) "
-> "output DOPT\n"
<- "No symbol \"DOPT\" in current context.\n"
<- "(gdb) "
-> "output dopt_\n"
<- "{VOID ()} 0x80500d0 <dopt_>"
<- "(gdb) "
-> "output dop\n"
<- "No symbol \"dop\" in current context.\n"
<- "(gdb) "
-> "output DOP\n"
<- "No symbol \"DOP\" in current context.\n"
<- "(gdb) "
-> "output dop_\n"
<- "No symbol \"dop_\" in current context.\n"
<- "(gdb) "
-> "output dop__\n"
<- "No symbol \"dop__\" in current context.\n"
<- "(gdb) "
-> "output DOP_\n"
<- "No symbol \"DOP_\" in current context.\n"
<- "(gdb) "
-> "output DOP__\n"
<- "No symbol \"DOP__\" in current context.\n"
<- "(gdb) "
-> "output do\n"
<- "No symbol \"do\" in current context.\n"
<- "(gdb) "
-> "output DO\n"
<- "No symbol \"DO\" in current context.\n"
<- "(gdb) "
-> "output do_\n"
<- "No symbol \"do_\" in current context.\n"
<- "(gdb) "
-> "output do__\n"
<- "No symbol \"do__\" in current context.\n"
<- "(gdb) "
-> "output DO_\n"
<- "No symbol \"DO_\" in current context.\n"
<- "(gdb) "
-> "output DO__\n"
<- "No symbol \"DO__\" in current context.\n"
<- "(gdb) "
-> "output d\n"
<- "No symbol \"d\" in current context.\n"
<- "(gdb) "
-> "output D\n"
<- "No symbol \"D\" in current context.\n"
<- "(gdb) "
-> "output d_\n"
<- "No symbol \"d_\" in current context.\n"
<- "(gdb) "
-> "output d__\n"
<- "No symbol \"d__\" in current context.\n"
<- "(gdb) "
-> "output D_\n"
<- "No symbol \"D_\" in current context."
<- "\n"
<- "(gdb) "
-> "output D__\n"
<- "No symbol \"D__\" in current context."
<- "\n"
<- "(gdb) "
-> "output p\n"
<- "No symbol \"p\" in current context."
<- "\n"
<- "(gdb) "
-> "output P\n"
<- "No symbol \"P\" in current context."
<- "\n"
<- "(gdb) "
-> "output p_\n"
<- "No symbol \"p_\" in current context."
<- "\n"
<- "(gdb) "
-> "output p__\n"
<- "No symbol \"p__\" in current context."
<- "\n"
<- "(gdb) "
-> "output P_\n"
<- "No symbol \"P_\" in current context."
<- "\n"
<- "(gdb) "
-> "output P__\n"
<- "No symbol \"P__\" in current context."
<- "\n"
<- "(gdb) "
-> "output smaller\n"
<- "No symbol \"smaller\" in current context.\n"
<- "(gdb) "
-> "output SMALLER\n"
<- "No symbol \"SMALLER\" in current context.\n"
<- "(gdb) "
-> "output smaller_\n"
<- "No symbol \"smaller_\" in current context.\n"
<- "(gdb) "
-> "output smaller__\n"
<- "No symbol \"smaller__\" in current context.\n"
<- "(gdb) "
-> "output SMALLER_\n"
<- "No symbol \"SMALLER_\" in current context.\n"
<- "(gdb) "
-> "output SMALLER__\n"
<- "No symbol \"SMALLER__\" in current context.\n"
<- "(gdb) "
-> "print l(3)&5\n"
<- "$1 = 0\n"
  "(gdb) "
-> "info breakpoints\n"
<- "Num Type           Disp Enb Address    What\n"
  "2   breakpoint     keep y   0x08055347 in dopt_ at dopt.f:2283\n"
  "\tbreakpoint already hit 1 time\n"
  "(gdb) "
-> "output continue\n"
<- "No symbol \"continue\" in current context.\n"
  "(gdb) "
-> "output CONTINUE\n"
<- "No symbol \"CONTINUE\" in current context.\n"
  "(gdb) "
-> "output continue_\n"
<- "No symbol \"continue_\" in current context.\n"
  "(gdb) "
-> "output continue__\n"
<- "No symbol \"continue__\" in current context.\n"
  "(gdb) "
-> "output CONTINUE_\n"
<- "No symbol \"CONTINUE_\" in current context.\n"
  "(gdb) "
-> "output CONTINUE__\n"
<- "No symbol \"CONTINUE__\" in current context.\n"
  "(gdb) "
-> "output GMAXI\n"
<- "0.77013040494625273(gdb) "
-> "output inactive\n"
<- "No symbol \"inactive\" in current context.\n"
  "(gdb) "
-> "output INACTIVE\n"
<- "No symbol \"INACTIVE\" in current context.\n"
  "(gdb) "
-> "output inactive_\n"
<- "No symbol \"inactive_\" in current context.\n"
  "(gdb) "
-> "output inactive__\n"
<- "No symbol \"inactive__\" in current context.\n"
  "(gdb) "
-> "output INACTIVE_\n"
<- "No symbol \"INACTIVE_\" in current context.\n"
  "(gdb) "
-> "output INACTIVE__\n"
<- "No symbol \"INACTIVE__\" in current context.\n"
  "(gdb) "
-> "print l(3)@5\n"
<- "$2 = (0, 1, 0, 0, 1108542220)\n"
  "(gdb) "
-> "info breakpoints\n"
<- "Num Type           Disp Enb Address    What\n"
  "2   breakpoint     keep y   0x08055347 in dopt_ at dopt.f:2283\n"
  "\tbreakpoint already hit 1 time\n"
  "(gdb) "
-> "output more\n"
<- "No symbol \"more\" in current context.\n"
  "(gdb) "
-> "output MORE\n"
<- "No symbol \"MORE\" in current context.\n"
  "(gdb) "
-> "output more_\n"
<- "No symbol \"more_\" in current context.\n"
  "(gdb) "
-> "output more__\n"
<- "No symbol \"more__\" in current context.\n"
  "(gdb) "
-> "output MORE_\n"
<- "No symbol \"MORE_\" in current context.\n"
  "(gdb) "
-> "output MORE__\n"
<- "No symbol \"MORE__\" in current context.\n"
  "(gdb) "
-> "frame\n"
<- "#0 dopt_ (nv=0x809a068, nc=0xbffb0224, lt=0xbffac1c0, lopt=0xbffac130, x=0x80a08e0, bnd=0xe20df60, a=0xa1291c0, ida=0x80962a8, obj=0xbffac0d0, iw=0xe203d40) at dopt.f:2283\n"
  "\032\032/x1/m/math77/lin/cons/dopt.f:2283:90359:beg:0x8055347\n"
  "(gdb) "
-> "display l(3)@5\n"
<- "(gdb) "
-> "display\n"
<- "1: Invalid expression\n"
  "Disabling display 1 to avoid infinite recursion.\n"
  "(gdb) "
!  1: Invalid expression
Disabling display 1 to avoid infinite recursion.
!  1: Invalid expression
Disabling display 1 to avoid infinite recursion.
-> "output LT\n"
<- "(PTR TO -> ( integer (-1))) 0xbffac1c0(gdb) "
-> "output *LT\n"
<- "()(gdb) "
-> "help run   tmp mom dat\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) "
-> "quit\n"
#  Running GDB (pid 22286, tty /dev/pts/8)...Exit 0.
#  Saving history in "/x1/m/.ddd/history"...
#  Saving history in "/x1/m/.ddd/history"...done.
#  Thanks for using DDD 3.3.1!











reply via email to

[Prev in Thread] Current Thread [Next in Thread]