bug-ddd
[Top][All Lists]
Advanced

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

Bug report.


From: Ed Griffiths
Subject: Bug report.
Date: Wed, 7 Nov 2001 12:06:16 +0000 (GMT)

Dear ddd-ers,

I'm using: 

DDD 3.2.91 

DEC/Compaq Alpha box: OSF1 V5.1 732 alpha

with the standard dbx that comes with this level of OSF.

My problem is that if I click on "finish" to leave the current function, ddd
isssues "step up" to the dbx debugger when it should be issuing "return".

The dbx console view in ddd shows:

(dbx) step up
step up
^ syntax error
(dbx) 

I've attached the ddd log below.

I'd appreciate it if this could be fixed because "finish" is very useful.

Thanks Ed

 ------------------------------------------------------------------------
| Ed Griffiths, Acedb development, Informatics Group,                    |
|        Wellcome Trust Sanger Institute, Wellcome Trust Genome Campus,  |
|               Hinxton, Cambridge CB10 1SA, UK                          |
|                                                                        |
| email: address@hidden  Tel: +44-1223-494780  Fax: +44-1223-494919 |
 ------------------------------------------------------------------------


Copyright (C) 1995-1999 Technische Universitt Braunschweig, Germany.
Copyright (C) 1999-2000 Universitt Passau, Germany.

Compiled with cxx
Requires X11R6, Xt11R6, Motif 1.2.4 (OSF/Motif Version 1.2.4)
Includes XPM 3.4.11, Athena Panner, DDD core
Built 2000-07-27 by Liam Fuller <address@hidden>.
$  /nfs/newlocal/bin/ddd --dbx ./xace
+  /bin/sh -c 'exec dbx '\''./xace'\'''
#  Hello, world!
#  Starting DBX...
#  Running DBX (pid 426304, tty /dev/ttyp6)...
#  Current language: C/C++
#  Searching "vsllib/ddd.vsl"...
#  Trying "/nfs/griffin/edgrif/.ddd/vsllib/ddd.vsl"
#  Trying "/nfs/newlocal/share/ddd-3.2.91/vsllib/ddd.vsl"
#  Searching "vsllib/ddd.vsl"..."/nfs/newlocal/share/ddd-3.2.91/vsllib/ddd.vsl".
<- "dbx version 5.1\n"
<- "Type \'help\' for help.\n"
<- "\n"
<- "main:  78  GraphSessionCBstruct graph_cbs = {acedbSwitchMessaging,
acedbSwitchMessaging} ;\n"
<- "(dbx) "
-> "sh stty -echo -onlcr\n"
<- "(dbx) "
-> "set $page = 1\n"
<- "(dbx) "
-> "frame\n"
<- "frame\n"
<- "     ^ syntax error\n"
<- "(dbx) "
-> "func\n"
<- "main\n"
<- "(dbx) "
-> "dbxenv run_io\n"
<- "dbxenv run_io\n"
<- "       ^ syntax error\n"
<- "(dbx) "
-> "print -r 4711\n"
<- "print -r 4711\n"
<- "         ^ syntax error\n"
<- "(dbx) "
-> "where -h\n"
<- "where -h\n"
<- "      ^ syntax error\n"
<- "(dbx) "
-> "display\n"
<- "display\n"
<- "       ^ syntax error\n"
<- "(dbx) "
-> "clear\n"
<- "clear\n"
<- "     ^ syntax error\n"
<- "(dbx) "
-> "help handler\n"
<- "\n"
<- "Invalid keyword handler\n"
<- "\n"
<- "(dbx) "
-> "help attach\n"
<- "attach <exp>\t\t\t- attach to running process with pid <exp>\n"
<- "(dbx) "
-> "help addproc\n"
<- "\n"
<- "Invalid keyword addproc\n"
<- "\n"
<- "(dbx) "
-> "pwd\n"
<- "\n"
<- "\"/usr/include/pwd.h\" not defined or not active\n"
<- "(dbx) "
-> "help setenv\n"
<- "setenv name \"string\"\t       - set environment variable <name> to
<string>\n"
<- "(dbx) "
-> "help edit\n"
<- "edit                           - invoke editor on current file\n"
<- "edit <file>                    - invoke editor on file\n"
<- "(dbx) "
-> "help make\n"
<- "\n"
<- "Invalid keyword make\n"
<- "\n"
<- "(dbx) "
-> "help regs\n"
<- "\n"
<- "Invalid keyword regs\n"
<- "\n"
<- "(dbx) "
-> "print \"DDD\"\n"
<- "DDD\n"
<- "(dbx) "
-> "help when\n"
<- "when <exp> { <command_list> }  - when <exp> is true, execute command_list\n"
<- "when at <line>{<command_list>} - when reach <line>, execute command_list\n"
<- "when in <proc>{<command_list>} - when reach <proc>, execute command_list\n"
<- "(dbx) "
-> "delete 4711 4711\n"
<- "delete 4711 4711\n"
<- "            ^ syntax error\n"
<- "(dbx) "
-> "help run\n"
<- "run arg1 arg2 ... < f1 >& f2   - begin execution of the program\n"
<- "(dbx) "
-> "help givenfile\n"
<- "\n"
<- "Invalid keyword givenfile\n"
<- "\n"
<- "(dbx) "
-> "help cont\n"
<- "[n] cont                       - continue execution\n"
<- "[n] cont <signal>              - continue with signal\n"
<- "cont to <line>                 - continue until <line> is reached\n"
<- "\t\t\t\t(temporary breakpoint)\n"
<- "cont in <proc>                 - continue until <proc> is reached  (see
above)\n"
<- "cont <signal> to <line>        - continue with signal until <line> (see
above)\n"
<- "cont <signal> in <proc>        - continue with signal until <proc> (see
above)\n"
<- "(dbx) "
-> "help examine\n"
<- "\n"
<- "Invalid keyword examine\n"
<- "\n"
<- "(dbx) "
-> "help rerun\n"
<- "rerun                          - restart execution of the program\n"
<- "(dbx) "
-> "language\n"
<- "language\n"
<- "        ^ syntax error\n"
<- "(dbx) "
-> "sh pwd\n"
<- "/nfs/griffin/edgrif/acedb/CODE/acedb/bin.ALPHA_4\n"
<- "(dbx) "
-> "file\n"
<- "xacemain.c\n"
<- "(dbx) "
-> "list\n"
<- " "
<- "   79  \n"
<- "    80  \n"
<- "    81  \n"
<- "    82  "
<- "  /* Does not return if user typed
\"-version\" option.                        */\n"
<- "    83    checkForCmdlineVersion(&argc, argv) ;\n"
<- "    84  \n"
<- "    85  \n"
<- "    86    /*****************************/\n"
<- "    87  \n"
<- "    88    /* Initialise the graphics package and its interface for acedb
*/\n"
<- "    89    /* this will also register messout to pop up a model dialog box
*/\n"
<- "(dbx) "
-> "status\n"
<- "(dbx) "
#  Reading file "/nfs/griffin/edgrif/acedb/CODE/acedb/bin.ALPHA_4/xacemain.c"...
#  Reading file
"/nfs/griffin/edgrif/acedb/CODE/acedb/bin.ALPHA_4/xacemain.c"...done.
#  File "/nfs/griffin/edgrif/acedb/CODE/acedb/bin.ALPHA_4/xacemain.c" 352 lines,
13696 characters
-> "debug \n"
<- "\n"
<- "\"debug\" is not defined\n"
<- "\n"
<- "(dbx) "
-> "list main\n"
<- "  "
<- "  73  "
<- "     /* main function used for xace and xacembly */\n"
<- "    74  {\n"
<- "    75    char *value;\n"
<- "    76    char *db;\n"
<- "    77    char dirName[DIR_BUFFER_SIZE];\n"
<- ">   78    GraphSessionCBstruct graph_cbs = {acedbSwitchMessaging,
acedbSwitchMessaging} ;\n"
<- "    79  \n"
<- "    80  \n"
<- "    81  \n"
<- "    82    /* Does not return if user typed
\"-version\" option.                        */\n"
<- "    83    checkForCmdlineVersion(&argc, argv) ;\n"
<- "    84  \n"
<- "(dbx) "
-> "list main\n"
<- "  "
<- "  73  "
<- "     /* main function used for xace and xacembly */\n"
<- "    74  {\n"
<- "    75    char *value;\n"
<- "    76    char *db;\n"
<- "    77    char dirName[DIR_BUFFER_SIZE];\n"
<- ">   78    GraphSessionCBstruct graph_cbs = {acedbSwitchMessaging,
acedbSwitchMessaging} ;\n"
<- "    79  \n"
<- "    80  \n"
<- "    81  \n"
<- "    82    /* Does not return if user typed
\"-version\" option.                        */\n"
<- "    83    checkForCmdlineVersion(&argc, argv) ;\n"
<- "    84  \n"
<- "(dbx) "
-> "file\n"
<- "xacemain.c\n"
<- "(dbx) "
-> "# reset\n"
<- "# reset\n"
<- "       ^ syntax error\n"
<- "(dbx) "
-> "file\n"
<- "xacemain.c\n"
<- "(dbx) "
-> "list\n"
<- "  "
<- "  85  \n"
<- "    86  "
<- "  /*****************************/\n"
<- "    87  \n"
<- "    88    /* Initialise the graphics package and its interface for acedb
*/\n"
<- "    89    /* this will also register messout to pop up a model dialog box
*/\n"
<- "    90  #ifdef ACEDB_GTK\n"
<- "    91    graphInit (&argc, argv);\n"
<- "    92    gexInit(&argc, argv);\n"
<- "    93    acedbGraphInit() ; \n"
<- "    94  #else\n"
<- "    95    acedbAppGraphInit(&argc, argv) ;\n"
<- "(dbx) "
-> "status\n"
<- "(dbx) "
-> "setenv TERM dumb\n"
<- "(dbx) "
-> "debug \n"
<- "\n"
<- "\"debug\" is not defined\n"
<- "\n"
<- "(dbx) "
#  Starting DBX...done.
#  Welcome to DDD 3.2.91 "Da da da" (alphaev56-dec-osf4.0d)
-> "help detach\n"
<- "detach [<exp>]\t\t\t- detach from process with pid <exp> or\n"
<- "\t\t\t\t  current process; process continues running\n"
<- "(dbx) "
-> "help run\n"
<- "run arg1 arg2 ... < f1 >& f2   - begin execution of the program\n"
<- "(dbx) "
-> "help step\n"
<- "step <int>                     - single step n lines (assumes 1 for
<int>)\n"
<- "(dbx) "
-> "help stepi\n"
<- "stepi <exp>                    - single step <exp> assembly instructions\n"
<- "(dbx) "
-> "help next\n"
<- "next <int>                     - step over next line n times (assumes 1)\n"
<- "(dbx) "
-> "help nexti\n"
<- "nexti <exp>                    - step over next instruction <exp>times(see
next)\n"
<- "(dbx) "
-> "help until\n"
<- "\n"
<- "Invalid keyword until\n"
<- "\n"
<- "(dbx) "
-> "help cont\n"
<- "[n] cont                       - continue execution\n"
<- "[n] cont <signal>              - continue with signal\n"
<- "cont to <line>                 - continue until <line> is reached\n"
<- "\t\t\t\t(temporary breakpoint)\n"
<- "cont in <proc>                 - continue until <proc> is reached  (see
above)\n"
<- "cont <signal> to <line>        - continue with signal until <line> (see
above)\n"
<- "cont <signal> in <proc>        - continue with signal until <proc> (see
above)\n"
<- "(dbx) "
-> "help signal\n"
<- "\n"
<- "Invalid keyword signal\n"
<- "\n"
<- "(dbx) "
-> "help kill\n"
<- "\n"
<- "Invalid keyword kill\n"
<- "\n"
<- "(dbx) "
-> "help up\n"
<- "up <exp>                       - move up <exp> activation levels in the
stack\n"
<- "(dbx) "
-> "help down\n"
<- "down <exp>                     - move down <exp> activation levels in the
stack\n"
<- "(dbx) "
-> "print graphics\n"
<- "\n"
<- "\"graphics\" is not defined or not active\n"
<- "(dbx) "
-> "print system\n"
<- "666583035\n"
<- "(dbx) "
-> "print aceGetVersionString\n"
<- "0x1201bfd10"
<- "\n"
<- "(dbx) "
-> "file xacemain.c\n"
<- "(dbx) "
-> "status\n"
<- "(dbx) "
-> "stop at 83\n"
<- "[2] stop at \"xacemain.c\":83\n"
<- "(dbx) "
-> "status\n"
<- "[2] stop at \"x"
<- "acemain.c\":"
<- "83\n"
<- "\n"
<- "(dbx) "
-> "print arguments\n"
<- "\n"
<- "\"arguments\" is not defined or not active"
<- "\n"
<- "(dbx) "
#  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-*-*-*-100-*-*-*-*-iso8859-*'\'' -title
'\''DDD: Execution Window'\'' -e /bin/sh -c '\''echo `tty` $$ $TERM $WINDOWID
>$tmp; trap "" 2; while true; do sleep 3600; done'\'' >/dev/null </dev/null 2>&1
& while test ! -s $tmp; do sleep 1; done; cat $tmp'
#  Starting execution window...done.
#  Initializing execution window...
#  Initializing execution window...done.
-> "setenv TERM xterm\n"
<- "(dbx) "
-> "run < /dev/pts/9 >& /dev/pts/9 /nfs/disk100/wormpub/acedb/ace4/cam\n"
<- "[2] "
<- "stopped at "
<- "  "
<- "["
<- "main"
<- ":83 ,0x120043d80] \tcheckForCmdlineVersion(&argc, argv) ;\n"
<- "(dbx) "
-> "file\n"
<- "xacemain.c\n"
<- "(dbx) "
-> "status\n"
<- "[2] "
<- "stop"
<- " at "
<- "\""
<- "x"
<- "a"
<- "c"
<- "e"
<- "m"
<- "a"
<- "i"
<- "n"
<- "."
<- "c"
<- "\""
<- ":"
<- "83"
<- "\n"
<- "\n"
<- "(dbx) "
-> "commands\n"
<- "commands"
<- "\n"
<- " "
<- " "
<- " "
<- " "
<- " "
<- " "
<- " "
<- " "
<- "^ syntax"
<- " error"
<- "\n"
<- "(dbx) "
-> "step\n"
<- "  [checkForCmdlineVersion:214 ,0x1201bfd3c] \tif (getCmdLineOption (argcp,
argv, \"-version\", NULL))\n"
<- "(dbx) "
-> "file\n"
<- "aceversion.c\n"
<- "(dbx) "
-> "status\n"
<- "[2] stop at \"xacemain.c\":83\n"
<- "\n"
<- "(dbx) "
#  Reading file
"/nfs/griffin/edgrif/acedb/CODE/acedb/bin.ALPHA_4/aceversion.c"...
#  Reading file
"/nfs/griffin/edgrif/acedb/CODE/acedb/bin.ALPHA_4/aceversion.c"...done.
#  File "/nfs/griffin/edgrif/acedb/CODE/acedb/bin.ALPHA_4/aceversion.c" 222
lines, 11157 characters
-> "next\n"
<- "  [checkForCmdlineVersion:222 ,0x1201bfd64] \t}\n"
<- "(dbx) "
-> "file\n"
<- "aceversion.c\n"
<- "(dbx) "
-> "status\n"
<- "[2] stop at \"xacemain.c\":83\n"
<- "\n"
<- "(dbx) "
-> "next\n"
<- "  "
<- "[main:91 ,"
<- "0x120043d98]"
<- " \t"
<- "graphInit (&argc, argv);\n"
<- "(dbx) "
-> "file\n"
<- "xacemain.c\n"
<- "(dbx) "
-> "status\n"
<- "[2] stop at \"xacemain.c\":83\n"
<- "\n"
<- "(dbx) "
#  Reading file "/nfs/griffin/edgrif/acedb/CODE/acedb/bin.ALPHA_4/xacemain.c"...
#  Reading file
"/nfs/griffin/edgrif/acedb/CODE/acedb/bin.ALPHA_4/xacemain.c"...done.
#  File "/nfs/griffin/edgrif/acedb/CODE/acedb/bin.ALPHA_4/xacemain.c" 352 lines,
13696 characters
-> "step\n"
<- "  "
<- "[graphInit"
<- ":272 ,"
<- "0x120286b48]"
<- " \t"
<- "graphIdAss = assCreate() ;\n"
<- "(dbx) "
-> "file\n"
<- "graphcon.c\n"
<- "(dbx) "
-> "status\n"
<- "[2] stop at \""
<- "xacemai"
<- "n.c\":83\n"
<- "\n"
<- "(dbx) "
#  Reading file "/nfs/griffin/edgrif/acedb/CODE/acedb/bin.ALPHA_4/graphcon.c"...
#  Reading file
"/nfs/griffin/edgrif/acedb/CODE/acedb/bin.ALPHA_4/graphcon.c"...done.
#  File "/nfs/griffin/edgrif/acedb/CODE/acedb/bin.ALPHA_4/graphcon.c" 2009
lines, 70058 characters
-> "next\n"
<- "  [graphInit:276 ,0x120286b70] \tinitOverloadFuncs() ;\n"
<- "(dbx) "
-> "file\n"
<- "graphcon.c\n"
<- "(dbx) "
-> "status\n"
<- "[2] stop at \"xacemain.c\":83\n"
<- "\n"
<- "(dbx) "
-> "step up\n"
<- "step up\n"
<- "     ^ syntax error\n"
<- "(dbx) "
-> "file\n"
<- "graphcon.c\n"
<- "(dbx) "
-> "status\n"
<- "[2] "
<- "stop"
<- " at "
<- "\""
<- "x"
<- "a"
<- "c"
<- "e"
<- "m"
<- "a"
<- "i"
<- "n"
<- "."
<- "c"
<- "\""
<- ":"
<- "83"
<- "\n"
<- "\n"
<- "(dbx) "
-> "print user\n"
<- "\n"
<- "\"user\" is not defined or not active\n"
<- "(dbx) "





reply via email to

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