bug-ddd
[Top][All Lists]
Advanced

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

DDD 3.3.1 (hppa1.1-hp-hpux10.20) doesn't disassemble how it should


From: Dietmar Schindler
Subject: DDD 3.3.1 (hppa1.1-hp-hpux10.20) doesn't disassemble how it should
Date: Thu, 22 Aug 2002 09:29:45 +0200

Dear Sirs,

there are two inconveniences regarding disassembly:

1. If I am debugging a remote target without having loaded a file and
open the machine code window, there is initially shown "No code.". It
would be nice if there were shown the code at the current instruction
pointer.

2. If I enter in the gdb command window a disasm command which produces
long output, the output can not (or not correctly) be aborted by
clicking on "Interrupt", but perhaps only by killing ddd. (Sometime the
output was partially duplicated.)

One more thing:

In dialog boxes like "Tip of Day" or "Help", lines are sometimes
duplicated.
-- 
Mit freundlichen Grüßen
Dietmar Schindler
GNU DDD 3.3.1 (hppa1.1-hp-hpux10.20)
Copyright (C) 1995-1999 Technische Universität Braunschweig, Germany.
Copyright (C) 1999-2001 Universität Passau, Germany.

Compiled with GCC 2.95.3 20010315 (TWW), 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 2001-05-18 by Albert Chin-A-Young <(china@thewrittenword.com)>.
$  ddd
+  /bin/sh -c 'exec gdb -q -fullname'
#  Hello, world!
#  Starting GDB...
#  Raising core file size limit from 2147483646 to 2147483647 bytes...
#  Raising core file size limit from 2147483646 to 2147483647 bytes...done.
#  Running GDB (pid 2100, tty /dev/pts/2)...
#  Current language: C/C++
#  Searching "vsllib/ddd.vsl"...
#  Trying "/home/schd/.ddd/vsllib/ddd.vsl"
#  Trying "/opt/TWWfsw/ddd33/share/vsllib/ddd.vsl"
#  Searching "vsllib/ddd.vsl"..."/opt/TWWfsw/ddd33/share/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"
<- "No symbol table is loaded.  Use the \"file\" command.\n"
   "(gdb) "
-> "info line\n"
<- "No line number information available.\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 5.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 \"--host=hppa2.0-hp-hpux10.20 
--target=powerpc-psos-elf\".\n"
   "(gdb) "
-> "pwd\n"
<- "Working directory /opt/TWWfsw/bin.\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 
\"/opt/TWWfsw/bin/.gdb_history\".\n"
   "(gdb) "
-> "show history size\n"
<- "The size of the command history is 256.\n"
   "(gdb) "
-> "info source\n"
<- "No current source file.\n"
   "(gdb) "
-> "info sources\n"
<- "No symbol table is loaded.  Use the \"file\" command.\n"
   "(gdb) "
-> "info line main\n"
<- "No symbol table is loaded.  Use the \"file\" command.\n"
   "(gdb) "
-> "info source\n"
<- "No current source file.\n"
   "(gdb) "
-> "info line MAIN\n"
<- "No symbol table is loaded.  Use the \"file\" command.\n"
   "(gdb) "
-> "info files\n"
<- "(gdb) "
-> "info line main_\n"
<- "No symbol table is loaded.  Use the \"file\" command.\n"
   "(gdb) "
-> "info program\n"
<- "The program being debugged is not being run.\n"
   "(gdb) "
-> "info line MAIN_\n"
<- "No symbol table is loaded.  Use the \"file\" command.\n"
<- "(gdb) "
-> "info source\n"
<- "No current source file.\n"
   "(gdb) "
-> "info line main__\n"
<- "No symbol table is loaded.  Use the \"file\" command.\n"
   "(gdb) "
-> "info source\n"
<- "No current source file.\n"
   "(gdb) "
-> "info line MAIN__\n"
<- "No symbol table is loaded.  Use the \"file\" command.\n"
   "(gdb) "
-> "info source\n"
<- "No current source file.\n"
   "(gdb) "
-> "info line _main\n"
<- "No symbol table is loaded.  Use the \"file\" command.\n"
   "(gdb) "
-> "info source\n"
<- "No current source file.\n"
   "(gdb) "
-> "info line _MAIN\n"
<- "No symbol table is loaded.  Use the \"file\" command.\n"
   "(gdb) "
-> "info source\n"
<- "No current source file.\n"
   "(gdb) "
-> "info line __main\n"
<- "No symbol table is loaded.  Use the \"file\" command.\n"
   "(gdb) "
-> "info source\n"
<- "No current source file.\n"
   "(gdb) "
-> "info line __MAIN\n"
<- "No symbol table is loaded.  Use the \"file\" command.\n"
   "(gdb) "
-> "info source\n"
<- "No current source file.\n"
   "(gdb) "
-> "info line my_main\n"
<- "No symbol table is loaded.  Use the \"file\" command.\n"
   "(gdb) "
-> "info source\n"
<- "No current source file.\n"
   "(gdb) "
-> "info line the_main\n"
<- "No symbol table is loaded.  Use the \"file\" command.\n"
   "(gdb) "
-> "info source\n"
<- "No current source file.\n"
   "(gdb) "
-> "info line vxworks_main\n"
<- "No symbol table is loaded.  Use the \"file\" command.\n"
   "(gdb) "
-> "info source\n"
<- "No current source file.\n"
   "(gdb) "
-> "info line main_vxworks\n"
<- "No symbol table is loaded.  Use the \"file\" command.\n"
   "(gdb) "
-> "set confirm off\n"
<- "(gdb) "
-> "source /var/tmp//ddda02095\n"
<- "(gdb) "
-> "info breakpoints\n"
<- "No breakpoints or watchpoints.\n"
   "(gdb) "
-> "info source\n"
<- "No current source file.\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 source\n"
<- "No current source file.\n"
   "(gdb) "
-> "info files\n"
<- "(gdb) "
-> "info program\n"
<- "The program being debugged is not being run.\n"
   "(gdb) "
-> "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) "
#  Starting GDB...done.
#  Welcome to DDD 3.3.1 "Blue Gnu" (hppa1.1-hp-hpux10.20)
-> "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) "
#  Retrieving Command Definitions...
-> "help user-defined\n"
<- "User-defined commands.\n"
   "The commands in this class are those defined by the user.\n"
   "Use the \"define\" command to define a command.\n"
   "\n"
   "List of commands:\n"
   "\n"
   "\n"
   "Type \"help\" followed by command name for full documentation.\n"
   "Command name abbreviations are allowed if unambiguous.\n"
   "(gdb) "
#  Retrieving Command Definitions...done.
-> "ta r arx0075:2001\n"
<- "0x00270554"
<- " in "
<- "??"
<- " ("
<- ")"
<- "\n"
<- "(gdb) "
-> "info breakpoints\n"
<- "No breakpoints or watchpoints.\n"
   "(gdb) "
-> "info source\n"
<- "No current source file.\n"
<- "(gdb) "
#  Setting buttons...
#  Setting buttons...done.
-> "info source\n"
<- "No current source file.\n"
   "(gdb) "
-> "disas $pc $pc\n"
<- "Dump of assembler code from 0x270554 to 0x270554:\n"
   "End of assembler dump.\n"
   "(gdb) "
-> "info breakpoints\n"
<- "No breakpoints or watchpoints.\n"
   "(gdb) "
-> "frame\n"
<- "#0  0x00270554 in ?? ()\n"
   "(gdb) "
-> "info source\n"
<- "No current source file.\n"
   "(gdb) "
-> "x /i 0x00270554\n"
<- "0x270554:\t"
<- "b"
<- "\t"
<- "0x270554"
<- "\n"
<- "(gdb) "
-> "x /i 0x270654\n"
<- "0x270654:\t"
<- "stwu"
<- "\t"
<- "r1"
<- ","
<- "-72"
<- "("
<- "r1"
<- ")"
<- "\n"
<- "(gdb) "
#  Disassembling location 0x00270554 to 0x270654...
-> "disassemble 0x00270554 0x270654\n"
<- "Dump of assembler code from 0x270554 to 0x270654:\n"
   "0x270554:\tb\t0x270554\n"
   "0x270558:\t.long 0x0\n"
   "0x27055c:\tmflr\tr4\n"
   "0x270560:\tbl\t0x270564\n"
   "0x270564:\t"
<- "mflr"
<- "\t"
<- "r6"
<- "\n"
<- "0x270568"
<- ":\t"
<- "lis\tr5,0\n"
   "0x27056c:\t"
<- "addi"
<- "\t"
<- "r5"
<- ","
<- "r5"
<- ","
<- "16\n"
   "0x270570:\t"
<- "li"
<- "\t"
<- "r3"
<- ","
<- "9028"
<- "\n"
<- "0x270574:\t"
<- "subf"
<- "\t"
<- "r5"
<- ",r3,r5\n"
   "0x270578:\t"
<- "lwzx"
<- "\t"
<- "r3"
<- ","
<- "r5"
<- ","
<- "r6\n"
   "0x27057c:\t"
<- "mtlr"
<- "\t"
<- "r4"
<- "\n"
<- "0x270580"
<- ":\t"
<- "blr"
<- "\n"
<- "0x270584"
<- ":\t"
<- "mflr"
<- "\t"
<- "r4"
<- "\n"
<- "0x270588"
<- ":\t"
<- "bl"
<- "\t"
<- "0x27058c"
<- "\n"
<- "0x27058c"
<- ":\t"
<- "mflr"
<- "\t"
<- "r6"
<- "\n"
<- "0x270590"
<- ":\t"
<- "lis"
<- "\t"
<- "r5"
<- ","
<- "0"
<- "\n"
<- "0x270594"
<- ":\t"
<- "addi"
<- "\t"
<- "r5"
<- ","
<- "r5"
<- ",16\n"
   "0x270598:\t"
<- "li"
<- "\t"
<- "r3"
<- ","
<- "9068"
<- "\n"
   "0x27059c:\t"
<- "subf"
<- "\t"
<- "r5"
<- ","
<- "r3"
<- ","
<- "r5"
<- "\n"
<- "0x2705a0"
<- ":\t"
<- "lwzx"
<- "\t"
<- "r3"
<- ","
<- "r5"
<- ","
<- "r6"
<- "\n"
<- "0x2705a4"
<- ":\t"
<- "lwz"
<- "\t"
<- "r3"
<- ","
<- "0"
<- "("
<- "r3)\n"
   "0x2705a8:\t"
<- "mtlr"
<- "\t"
<- "r4"
<- "\n"
<- "0x2705ac:\t"
<- "blr\n"
   "0x2705b0:\t"
<- "mflr"
<- "\t"
<- "r4"
<- "\n"
<- "0x2705b4:\t"
<- "bl"
<- "\t"
<- "0x2705b8"
<- "\n"
<- "0x2705b8"
<- ":\t"
<- "mflr"
<- "\t"
<- "r6"
<- "\n"
<- "0x2705bc"
<- ":\t"
<- "lis"
<- "\t"
<- "r5"
<- ","
<- "0"
<- "\n"
<- "0x2705c0:\t"
<- "addi"
<- "\t"
<- "r5"
<- ","
<- "r5"
<- ","
<- "0\n"
   "0x2705c4:\t"
<- "li"
<- "\t"
<- "r3"
<- ","
<- "9112"
<- "\n"
<- "0x2705c8:\t"
<- "subf"
<- "\t"
<- "r5"
<- ","
<- "r3"
<- ","
<- "r5\n"
   "0x2705cc:\t"
<- "lwzx"
<- "\t"
<- "r3"
<- ","
<- "r5"
<- ","
<- "r6\n"
   "0x2705d0:\t"
<- "lwz"
<- "\t"
<- "r3"
<- ","
<- "0"
<- "(r3)\n"
   "0x2705d4:\t"
<- "mtlr"
<- "\t"
<- "r4"
<- "\n"
<- "0x2705d8"
<- ":\t"
<- "blr"
<- "\n"
<- "0x2705dc"
<- ":\t"
<- "mflr"
<- "\t"
<- "r4"
<- "\n"
<- "0x2705e0"
<- ":\t"
<- "bl"
<- "\t"
<- "0x2705e4"
<- "\n"
<- "0x2705e4"
<- ":\t"
<- "mflr"
<- "\t"
<- "r6"
<- "\n"
<- "0x2705e8"
<- ":\t"
<- "lis"
<- "\t"
<- "r5"
<- ","
<- "0"
<- "\n"
<- "0x2705ec"
<- ":\t"
<- "addi"
<- "\t"
<- "r5"
<- ","
<- "r5"
<- ","
<- "26\n"
   "0x2705f0:\t"
<- "li\tr3,9156\n"
   "0x2705f4:\t"
<- "subf"
<- "\t"
<- "r5"
<- ","
<- "r3"
<- ","
<- "r5\n"
   "0x2705f8:\t"
<- "lhzx"
<- "\t"
<- "r3"
<- ","
<- "r5"
<- ",r6\n"
   "0x2705fc:\t"
<- "mtlr"
<- "\t"
<- "r4"
<- "\n"
<- "0x270600"
<- ":\t"
<- "blr"
<- "\n"
<- "0x270604"
<- ":\t"
<- "mflr"
<- "\t"
<- "r4"
<- "\n"
<- "0x270608"
<- ":\t"
<- "bl"
<- "\t"
<- "0x27060c"
<- "\n"
<- "0x27060c"
<- ":\t"
<- "mflr"
<- "\tr6\n"
   "0x270610:\t"
<- "lis\tr5,0\n"
   "0x270614:\t"
<- "addi"
<- "\t"
<- "r5"
<- ","
<- "r5"
<- ",832\n"
   "0x270618:\t"
<- "li"
<- "\t"
<- "r3"
<- ","
<- "9196"
<- "\n"
<- "0x27061c:\t"
<- "subf"
<- "\t"
<- "r5"
<- ","
<- "r3"
<- ","
<- "r5"
<- "\n"
<- "0x270620"
<- ":\t"
<- "lwzx"
<- "\tr3,r5,r6\n"
   "0x270624:\t"
<- "mtlr"
<- "\t"
<- "r4"
<- "\n"
<- "0x270628"
<- ":\t"
<- "blr"
<- "\n"
<- "0x27062c"
<- ":\t"
<- "mflr"
<- "\t"
<- "r0"
<- "\n"
<- "0x270630"
<- ":\t"
<- "stw"
<- "\t"
<- "r0"
<- ","
<- "4"
<- "("
<- "r1"
<- ")\n"
   "0x270634:\t"
<- "li"
<- "\t"
<- "r0"
<- ","
<- "5"
<- "\n"
<- "0x270638"
<- ":\t"
<- "li"
<- "\t"
<- "r3"
<- ","
<- "0"
<- "\n"
<- "0x27063c"
<- ":\t"
<- "sc"
<- "\n"
   "0x270640:\t"
<- "li"
<- "\t"
<- "r0"
<- ","
<- "6"
<- "\n"
<- "0x270644:\t"
<- "li"
<- "\t"
<- "r3"
<- ","
<- "0\n"
   "0x270648:\t"
<- "sc"
<- "\n"
<- "0x27064c"
<- ":\t"
<- "blr"
<- "\n"
<- "0x270650"
<- ":\t"
<- "addi"
<- "\t"
<- "r11"
<- ","
<- "r1"
<- ","
<- "0"
<- "\n"
<- "End of assembler dump.\n"
   "(gdb) "
#  Disassembling location 0x00270554 to 0x270654...done.
-> "disas $pc\n"
<- "No function contains specified address.\n"
   "\n"
   "(gdb) "
-> "info breakpoints\n"
<- "No breakpoints or watchpoints.\n"
   "(gdb) "
-> "frame\n"
<- "#0  0x00270554 in ?? ()\n"
   "(gdb) "
-> "info source\n"
<- "No current source file.\n"
   "(gdb) "
-> "x /i 0x00270554\n"
<- "0x270554:\tb\t0x270554\n"
   "(gdb) "
-> "x /i 0x270654\n"
<- "0x270654:\t"
<- "stwu"
<- "\t"
<- "r1"
<- ","
<- "-72"
<- "("
<- "r1)\n"
   "(gdb) "
#  Disassembling location 0x00270554 to 0x270654...
-> "disassemble 0x00270554 0x270654\n"
<- "Dump of assembler code from 0x270554 to 0x270654:\n"
   "0x270554:\tb\t0x270554\n"
   "0x270558:\t.long 0x0"
<- "\n"
<- "0x27055c"
<- ":\t"
<- "mflr"
<- "\t"
<- "r4"
<- "\n"
<- "0x270560"
<- ":\t"
<- "bl"
<- "\t"
<- "0x270564"
<- "\n"
<- "0x270564"
<- ":\t"
<- "mflr"
<- "\t"
<- "r6"
<- "\n"
<- "0x270568"
<- ":\t"
<- "lis"
<- "\t"
<- "r5"
<- ","
<- "0"
<- "\n"
<- "0x27056c"
<- ":\t"
<- "addi\tr5,r5,16\n"
   "0x270570:\tli\tr3,9028\n"
   "0x270574:\t"
<- "subf"
<- "\t"
<- "r5"
<- ","
<- "r3"
<- ","
<- "r5"
<- "\n"
<- "0x270578"
<- ":\t"
<- "lwzx"
<- "\t"
<- "r3"
<- ","
<- "r5"
<- ","
<- "r6"
<- "\n"
   "0x27057c:\t"
<- "mtlr"
<- "\t"
<- "r4"
<- "\n"
<- "0x270580"
<- ":\t"
<- "blr"
<- "\n"
<- "0x270584"
<- ":\t"
<- "mflr"
<- "\t"
<- "r4"
<- "\n"
<- "0x270588"
<- ":\t"
<- "bl"
<- "\t"
<- "0x27058c"
<- "\n"
<- "0x27058c"
<- ":\t"
<- "mflr"
<- "\t"
<- "r6"
<- "\n"
<- "0x270590"
<- ":\t"
<- "lis"
<- "\t"
<- "r5"
<- ","
<- "0"
<- "\n"
<- "0x270594"
<- ":\t"
<- "addi"
<- "\t"
<- "r5"
<- ","
<- "r5"
<- ","
<- "16"
<- "\n"
<- "0x270598:\t"
<- "li"
<- "\t"
<- "r3"
<- ","
<- "9068"
<- "\n"
<- "0x27059c:\t"
<- "subf"
<- "\t"
<- "r5"
<- ","
<- "r3"
<- ","
<- "r5\n"
   "0x2705a0:\t"
<- "lwzx"
<- "\t"
<- "r3"
<- ","
<- "r5"
<- ",r6\n"
   "0x2705a4:\t"
<- "lwz"
<- "\t"
<- "r3"
<- ","
<- "0"
<- "("
<- "r3"
<- ")"
<- "\n"
<- "0x2705a8"
<- ":\t"
<- "mtlr"
<- "\tr4\n"
   "0x2705ac:\t"
<- "blr"
<- "\n"
<- "0x2705b0"
<- ":\t"
<- "mflr"
<- "\t"
<- "r4"
<- "\n"
<- "0x2705b4"
<- ":\t"
<- "bl"
<- "\t"
<- "0x2705b8"
<- "\n"
<- "0x2705b8"
<- ":\t"
<- "mflr"
<- "\t"
<- "r6"
<- "\n"
<- "0x2705bc"
<- ":\t"
<- "lis"
<- "\t"
<- "r5"
<- ","
<- "0"
<- "\n"
<- "0x2705c0"
<- ":\t"
<- "addi"
<- "\t"
<- "r5"
<- ","
<- "r5"
<- ","
<- "0"
<- "\n"
<- "0x2705c4:\t"
<- "li"
<- "\t"
<- "r3"
<- ","
<- "9112"
<- "\n"
<- "0x2705c8:\t"
<- "subf"
<- "\t"
<- "r5"
<- ","
<- "r3"
<- ","
<- "r5"
<- "\n"
<- "0x2705cc"
<- ":\t"
<- "lwzx"
<- "\t"
<- "r3,r5,r6\n"
   "0x2705d0:\t"
<- "lwz"
<- "\t"
<- "r3"
<- ","
<- "0"
<- "("
<- "r3)\n"
   "0x2705d4:\t"
<- "mtlr"
<- "\tr4\n"
   "0x2705d8:\t"
<- "blr"
<- "\n"
<- "0x2705dc"
<- ":\t"
<- "mflr\tr4\n"
   "0x2705e0:\t"
<- "bl"
<- "\t"
<- "0x2705e4"
<- "\n"
<- "0x2705e4"
<- ":\t"
<- "mflr"
<- "\t"
<- "r6"
<- "\n"
<- "0x2705e8"
<- ":\t"
<- "lis"
<- "\t"
<- "r5"
<- ","
<- "0"
<- "\n"
<- "0x2705ec"
<- ":\t"
<- "addi"
<- "\t"
<- "r5"
<- ","
<- "r5"
<- ","
<- "26"
<- "\n"
<- "0x2705f0"
<- ":\t"
<- "li"
<- "\t"
<- "r3"
<- ","
<- "9156"
<- "\n"
<- "0x2705f4"
<- ":\t"
<- "subf"
<- "\t"
<- "r5"
<- ","
<- "r3"
<- ",r5\n"
   "0x2705f8:\t"
<- "lhzx"
<- "\t"
<- "r3"
<- ","
<- "r5"
<- ","
<- "r6"
<- "\n"
<- "0x2705fc"
<- ":\t"
<- "mtlr"
<- "\tr4\n"
   "0x270600:\t"
<- "blr"
<- "\n"
<- "0x270604"
<- ":\t"
<- "mflr"
<- "\t"
<- "r4"
<- "\n"
<- "0x270608"
<- ":\t"
<- "bl"
<- "\t"
<- "0x27060c"
<- "\n"
<- "0x27060c"
<- ":\t"
<- "mflr"
<- "\t"
<- "r6"
<- "\n"
<- "0x270610"
<- ":\t"
<- "lis"
<- "\t"
<- "r5"
<- ","
<- "0"
<- "\n"
<- "0x270614:\t"
<- "addi"
<- "\t"
<- "r5"
<- ","
<- "r5"
<- ",832\n"
   "0x270618:\t"
<- "li"
<- "\t"
<- "r3"
<- ","
<- "9196"
<- "\n"
<- "0x27061c:\t"
<- "subf"
<- "\t"
<- "r5"
<- ","
<- "r3"
<- ",r5\n"
   "0x270620:\t"
<- "lwzx"
<- "\t"
<- "r3"
<- ","
<- "r5"
<- ","
<- "r6\n"
   "0x270624:\t"
<- "mtlr"
<- "\t"
<- "r4"
<- "\n"
<- "0x270628"
<- ":\t"
<- "blr"
<- "\n"
<- "0x27062c"
<- ":\t"
<- "mflr"
<- "\t"
<- "r0"
<- "\n"
<- "0x270630"
<- ":\t"
<- "stw"
<- "\t"
<- "r0"
<- ","
<- "4"
<- "("
<- "r1"
<- ")"
<- "\n"
<- "0x270634"
<- ":\t"
<- "li"
<- "\t"
<- "r0,5\n"
   "0x270638:\t"
<- "li"
<- "\t"
<- "r3"
<- ","
<- "0"
<- "\n"
   "0x27063c:\t"
<- "sc"
<- "\n"
<- "0x270640"
<- ":\t"
<- "li"
<- "\t"
<- "r0"
<- ","
<- "6"
<- "\n"
<- "0x270644"
<- ":\t"
<- "li"
<- "\t"
<- "r3"
<- ",0\n"
   "0x270648:\t"
<- "sc"
<- "\n"
<- "0x27064c"
<- ":\t"
<- "blr"
<- "\n"
<- "0x270650"
<- ":\t"
<- "addi"
<- "\t"
<- "r11"
<- ","
<- "r1"
<- ","
<- "0"
<- "\n"
<- "End of assembler dump.\n"
   "(gdb) "
#  Disassembling location 0x00270554 to 0x270654...done.
-> "disas $pc $pc+1000\n"
<- "Dump of assembler code "
<- "from "
<- "0x270554"
<- " to "
<- "0x27093c"
<- ":\n"
<- "0x270554"
<- ":\t"
<- "b"
<- "\t"
<- "0x270554"
<- "\n"
   "0x270558:\t"
<- ".long 0x0\n"
   "0x27055c:\tmflr\tr4\n"
   "0x270560:\tbl\t0x270564\n"
   "0x270564:\tmflr\tr6\n"
   "0x270568:\tlis\tr5,0\n"
   "0x27056c:\t"
<- "addi\tr5,r5,16\n"
   "0x270570:\tli\tr3,9028\n"
   "0x270574:\tsubf\tr5,r3,r5\n"
   "0x270578:\tlwzx\tr3,r5,r6\n"
   "0x27057c:\t"
<- "mtlr\tr4\n"
   "0x270580:\tblr\n"
   "0x270584:\tmflr\tr4\n"
   "0x270588:\tbl\t0x27058c\n"
   "0x27058c:\t"
<- "mflr\tr6\n"
   "0x270590:\tlis\tr5,0\n"
   "0x270594:\taddi\tr5,r5,16\n"
   "0x270598:\tli\tr3,9068\n"
   "0x27059c:\t"
<- "subf\tr5,r3,r5\n"
   "0x2705a0:\tlwzx\tr3,r5,r6\n"
   "0x2705a4:\tlwz\tr3,0(r3)\n"
   "0x2705a8:\tmtlr\tr4\n"
   "0x2705ac:\t"
<- "blr\n"
   "0x2705b0:\tmflr\tr4\n"
   "0x2705b4:\tbl\t0x2705b8\n"
   "0x2705b8:\tmflr\tr6\n"
   "0x2705bc:\t"
<- "lis\tr5,0\n"
   "0x2705c0:\taddi\tr5,r5,0\n"
   "0x2705c4:\tli\tr3,9112\n"
   "0x2705c8:\t"
<- "subf\tr5,r3,r5\n"
   "0x2705cc:\tlwzx\tr3,r5,r6\n"
   "0x2705d0:\tlwz\tr3,0(r3)\n"
   "0x2705d4:\tmtlr\tr4\n"
   "0x2705d8:\t"
<- "blr\n"
   "0x2705dc:\tmflr\tr4\n"
   "0x2705e0:\tbl\t0x2705e4\n"
   "0x2705e4:\tmflr\tr6\n"
   "0x2705e8:\tlis\tr5,0\n"
   "0x2705ec:\taddi\tr5,r5,26\n"
   "0x2705f0:\tli\tr3,9156\n"
   "0x2705f4:\tsubf\tr5,r3,r5\n"
   "0x2705f8:\tlhzx\tr3,r5,r6\n"
   "0x2705fc:\tmtlr\tr4\n"
   "0x270600:\t"
<- "blr\n"
   "0x270604:\tmflr\tr4\n"
   "0x270608:\tbl\t0x27060c\n"
   "0x27060c:\tmflr\tr6\n"
   "0x270610:\tlis\tr5,0\n"
   "0x270614:\taddi\tr5,r5,832\n"
   "0x270618:\tli\tr3,9196\n"
   "0x27061c:\tsubf\tr5,r3,r5\n"
   "0x270620:\tlwzx\tr3,r5,r6\n"
   "0x270624:\tmtlr\tr4\n"
   "0x270628:\tblr\n"
   "0x27062c:\tmflr\tr0\n"
   "0x270630:\tstw\tr0,4(r1)\n"
   "0x270634:\tli\tr0,5\n"
   "0x270638:\tli\tr3,0\n"
   "0x27063c:\tsc\n"
   "0x270640:\tli\tr0,6\n"
   "0x270644:\tli\tr3,0\n"
   "0x270648:\tsc\n"
   "0x27064c:\tblr\n"
   "0x270650:\t"
<- "addi\tr11,r1,0\n"
   "0x270654:\tstwu\tr1,-72(r1)\n"
   "0x270658:\tmflr\tr0\n"
   "0x27065c:\tbl\t0x27d070\n"
   "0x270660:\taddi\tr23,r3,0\n"
   "0x270664:\taddi\tr22,r4,0\n"
   "0x270668:\tbl\t0x2718a4\n"
   "0x27066c:\tbl\t0x270e60\n"
   "0x270670:\tbl\t0x271dc8\n"
   "0x270674:\taddi\tr26,r13,-30012\n"
   "0x270678:\tbl\t0x2705b0\n"
   "0x27067c:\taddi\tr25,r3,0\n"
   "0x270680:\tbl\t0x270584\n"
   "0x270684:\tli\tr31,0\n"
   "0x270688:\taddi\tr24,r3,0\n"
   "0x27068c:\tstw\tr31,-29956(r13)\n"
   "0x270690:\tstw\tr31,-29052(r13)\n"
   "0x270694:\tli\tr31,1\n"
   "0x270698:\taddi\tr28,r13,-29952\n"
   "0x27069c:\taddi\tr27,r13,-29048\n"
   "0x2706a0:\tlwzu\tr5,4(r26)\n"
   "0x2706a4:\tcmpwi\tr5,0\n"
   "0x2706a8:\tbeq-\t0x270740\n"
   "0x2706ac:\tlwz\tr11,-29168(r13)\n"
   "0x2706b0:\tlwz\tr12,0(r5)\n"
   "0x2706b4:\tstw\tr11,12(r1)\n"
   "0x2706b8:\tlwz\tr10,-29164(r13)\n"
   "0x2706bc:\tlis\tr9,0\n"
   "0x2706c0:\taddi\tr30,r12,64\n"
   "0x2706c4:\tori\tr9,r9,32768\n"
   "0x2706c8:\tstw\tr10,16(r1)\n"
   "0x2706cc:\tstw\tr9,20(r1)\n"
   "0x2706d0:\taddi\tr7,r1,12\n"
   "0x2706d4:\taddi\tr8,r1,8\n"
   "0x2706d8:\taddi\tr3,r23,0\n"
   "0x2706dc:\taddi\tr4,r22,0\n"
   "0x2706e0:\taddi\tr6,r25,0\n"
   "0x2706e4:\taddi\tr9,r24,0\n"
   "0x2706e8:\taddi\tr10,r30,0\n"
   "0x2706ec:\tbl\t0x27034c\n"
   "0x2706f0:\taddi\tr29,r3,0\n"
   "0x2706f4:\tcmpwi\tr29,0\n"
   "0x2706f8:\tbeq-\t0x270704\n"
   "0x2706fc:\taddi\tr3,r29,0\n"
   "0x270700:\tbl\t0x27420c\n"
   "0x270704:\tlwz\tr10,12(r1)\n"
   "0x270708:\taddi\tr29,r13,-29280\n"
   "0x27070c:\trlwinm\tr30,r31,3,0,28\n"
   "0x270710:\tstwx\tr10,r29,r30\n"
   "0x270714:\tlwz\tr5,16(r1)\n"
   "0x270718:\tadd\tr12,r29,r30\n"
   "0x27071c:\tstw\tr5,4(r12)\n"
   "0x270720:\tlwz\tr12,20(r1)\n"
   "0x270724:\taddi\tr11,r13,-29900\n"
   "0x270728:\trlwinm\tr10,r31,2,0,29\n"
   "0x27072c:\tadd\tr11,r11,r10\n"
   "0x270730:\tsubf\tr12,r12,r5\n"
   "0x270734:\tstw\tr12,0(r11)\n"
   "0x270738:\tlwz\tr10,8(r1)\n"
   "0x27073c:\tstw\tr10,0(r28)\n"
   "0x270740:\taddi\tr31,r31,1\n"
   "0x270744:\tcmpwi\tr31,7\n"
   "0x270748:\tlwz\tr12,-4(r28)\n"
   "0x27074c:\tlwz\tr11,-4(r27)\n"
   "0x270750:\taddi\tr28,r28,4\n"
   "0x270754:\tadd\tr12,r12,r11\n"
   "0x270758:\tstw\tr12,0(r27)\n"
   "0x27075c:\taddi\tr27,r27,4\n"
   "0x270760:\tble+\t0x2706a0\n"
   "0x270764:\taddi\tr11,r1,72\n"
   "0x270768:\tbl\t0x27cff4\n"
   "0x27076c:\tmflr\tr0\n"
   "0x270770:\tstwu\tr1,-32(r1)\n"
   "0x270774:\tstw\tr29,20(r1)\n"
   "0x270778:\tstw\tr30,24(r1)\n"
   "0x27077c:\tstw\tr31,28(r1)\n"
   "0x270780:\tstw\tr0,36(r1)\n"
   "0x270784:\taddi\tr29,r13,-30012\n"
   "0x270788:\tli\tr31,1\n"
   "0x27078c:\tlwzu\tr4,4(r29)\n"
   "0x270790:\tcmpwi\tr4,0\n"
   "0x270794:\tbeq-\t0x2707c4\n"
   "0x270798:\taddi\tr11,r13,-29280\n"
   "0x27079c:\trlwinm\tr10,r31,3,0,28\n"
   "0x2707a0:\tlwz\tr12,0(r4)\n"
   "0x2707a4:\t"
<- "add\tr3,r11,r10\n"
   "0x2707a8:\taddi\tr5,r12,168\n"
   "0x2707ac:\tbl\t0x27024c\n"
   "0x2707b0:\taddi\tr30,r3,0\n"
   "0x2707b4:\tcmpwi\tr30,0\n"
   "0x2707b8:\tbeq-\t0x2707c4\n"
   "0x2707bc:\taddi\tr3,r30,0\n"
   "0x2707c0:\tbl\t0x27420c\n"
   "0x2707c4:\taddi\tr31,r31,1\n"
   "0x2707c8:\tcmpwi\tr31,7\n"
   "0x2707cc:\tble+\t0x27078c\n"
   "0x2707d0:\tlwz\tr0,36(r1)\n"
   "0x2707d4:\tlwz\tr29,20(r1)\n"
   "0x2707d8:\tmtlr\tr0\n"
   "0x2707dc:\tlwz\tr30,24(r1)\n"
   "0x2707e0:\tlwz\tr31,28(r1)\n"
   "0x2707e4:\taddi\tr1,r1,32\n"
   "0x2707e8:\tblr\n"
   "0x2707ec:\trlwinm\tr5,r3,24,28,31\n"
   "0x2707f0:\tcmpwi\tr5,7\n"
   "0x2707f4:\tstwu\tr1,-48(r1)\n"
   "0x2707f8:\tmflr\tr0\n"
   "0x2707fc:\tstw\tr31,44(r1)\n"
   "0x270800:\tlwz\tr31,-32752(r13)\n"
   "0x270804:\tstw\tr29,36(r1)\n"
   "0x270808:\tstw\tr30,40(r1)\n"
   "0x27080c:\tstw\tr0,52(r1)\n"
   "0x270810:\tbgt-\t0x270828\n"
   "0x270814:\taddi\tr12,r13,-29956\n"
   "0x270818:\trlwinm\tr11,r5,2,0,29\n"
   "0x27081c:\tlwzx\tr12,r12,r11\n"
   "0x270820:\tcmpwi\tr12,0\n"
   "0x270824:\tbne-\t0x270838\n"
   "0x270828:\tli\tr12,3\n"
   "0x27082c:\tstw\tr12,120(r31)\n"
   "0x270830:\tli\tr3,3\n"
   "0x270834:\tb\t0x2708a4\n"
   "0x270838:\tlhz\tr29,80(r31)\n"
   "0x27083c:\trlwinm\tr7,r5,2,0,29\n"
   "0x270840:\taddi\tr10,r13,-29052\n"
   "0x270844:\tlwzx\tr10,r10,r7\n"
   "0x270848:\tori\tr9,r29,4\n"
   "0x27084c:\tsth\tr9,80(r31)\n"
   "0x270850:\taddi\tr30,r13,-30012\n"
   "0x270854:\tlwzx\tr30,r30,r7\n"
   "0x270858:\tlwz\tr11,232(r31)\n"
   "0x27085c:\tlwz\tr12,0(r30)\n"
   "0x270860:\tadd\tr8,r11,r10\n"
   "0x270864:\taddi\tr30,r12,72\n"
   "0x270868:\taddi\tr10,r13,-29280\n"
   "0x27086c:\trlwinm\tr11,r5,3,0,28\n"
   "0x270870:\tlwz\tr6,48(r31)\n"
   "0x270874:\tadd\tr5,r10,r11\n"
   "0x270878:\taddi\tr9,r1,8\n"
   "0x27087c:\taddi\tr7,r31,0\n"
   "0x270880:\taddi\tr10,r30,0\n"
   "0x270884:\tbl\t0x270290\n"
   "0x270888:\tsth\tr29,80(r31)\n"
   "0x27088c:\tlwz\tr29,8(r1)\n"
   "0x270890:\taddi\tr5,r3,0\n"
   "0x270894:\tcmpwi\tr29,0\n"
   "0x270898:\tbeq-\t0x2708a0\n"
   "0x27089c:\tstw\tr29,120(r31)\n"
   "0x2708a0:\taddi\tr3,r5,0\n"
   "0x2708a4:\tlwz\tr0,52(r1)\n"
   "0x2708a8:\tlwz\tr29,36(r1)\n"
   "0x2708ac:\tmtlr\tr0\n"
   "0x2708b0:\tlwz\tr30,40(r1)\n"
   "0x2708b4:\tlwz\tr31,44(r1)\n"
   "0x2708b8:\taddi\tr1,r1,48\n"
   "0x2708bc:\tblr\n"
   "0x2708c0:\taddi\tr11,r1,0\n"
   "0x2708c4:\tstwu\tr1,-40(r1)\n"
   "0x2708c8:\tmflr\tr0\n"
   "0x2708cc:\tbl\t0x27d084\n"
   "0x2708d0:\taddi\tr29,r3,0\n"
   "0x2708d4:\taddi\tr28,r13,-30012\n"
   "0x2708d8:\tli\tr31,0\n"
   "0x2708dc:\tli\tr30,1\n"
   "0x2708e0:\taddi\tr27,r13,-29956\n"
   "0x2708e4:\tlwzu\tr12,4(r27)\n"
   "0x2708e8:\tcmpwi\tr12,0\n"
   "0x2708ec:\tbeq-\t0x27093c\n"
   "0x2708f0:\trlwinm\tr31,r30,2,0,29\n"
   "0x2708f4:\taddi\tr10,r13,-29052\n"
   "0x2708f8:\tlwz\tr11,232(r29)\n"
   "0x2708fc:\tlwzx\tr10,r10,r31\n"
   "0x270900:\tlwzx\tr12,r28,r31\n"
   "0x270904:\tadd\tr6,r11,r10\n"
   "0x270908:\tlwz\tr12,0(r12)\n"
   "0x27090c:\taddi\tr11,r13,-29280\n"
   "0x270910:\trlwinm\tr10,r30,3,0,28\n"
   "0x270914:\tlwz\tr4,48(r29)\n"
   "0x270918:\taddi\tr7,r12,144\n"
   "0x27091c:\tadd\tr3,r11,r10\n"
   "0x270920:\taddi\tr5,r29,0\n"
   "0x270924:\tbl\t0x270250\n"
   "0x270928:\taddi\tr31,r3,0\n"
   "0x27092c:\tcmpwi\tr31,0\n"
   "0x270930:\tbeq-\t0x27093c\n"
   "0x270934:\taddi\tr3,r31,0\n"
   "0x270938:\tb\t0x27094c\n"
   "End of assembler dump.\n"
   "(gdb) "
-> "info breakpoints\n"
<- "No breakpoints or watchpoints.\n"
   "(gdb) "
-> "frame\n"
<- "#0  0x00270554 in ?? ()\n"
   "(gdb) "
-> "info source\n"
<- "No current source file.\n"
   "(gdb) "
-> "x /i 0x00270554\n"
<- "0x270554:\tb\t0x270554\n"
   "(gdb) "
-> "x /i 0x270654\n"
<- "0x270654:\t"
<- "stwu"
<- "\t"
<- "r1"
<- ","
<- "-72"
<- "("
<- "r1"
<- ")"
<- "\n"
<- "(gdb) "
#  Disassembling location 0x00270554 to 0x270654...
-> "disassemble 0x00270554 0x270654\n"
<- "Dump of assembler code from 0x270554 to 0x270654:\n"
   "0x270554:\tb\t0x270554\n"
   "0x270558:\t.long 0x0\n"
   "0x27055c:\tmflr\tr4\n"
   "0x270560:\t"
<- "bl\t0x270564\n"
   "0x270564:\t"
<- "mflr\tr6\n"
   "0x270568:\t"
-> "\003"
<- "addi\tr5,r5,16\n"
   "0x270570:\t"
<- "li\tr3,9028\n"
   "0x270574:\tsubf\tr5,r3,r5\n"
   "0x270578:\t"
<- "lwzx\tr3,r5,r6\n"
   "0x27057c:\tmtlr\tr4\n"
   "0x270580:\t"
<- "blr\n"
   "0x270584:\tmflr\tr4\n"
   "0x270588:\tbl\t0x27058c\n"
   "0x27058c:\tmflr\tr6\n"
   "0x270590:\tlis\tr5,0\n"
   "0x270594:\t"
<- "addi\tr5,r5,16\n"
   "0x270598:\tli\tr3,9068\n"
   "0x27059c:\tsubf\tr5,r3,r5\n"
   "0x2705a0:\tlwzx\tr3,r5,r6\n"
   "0x2705a4:\tlwz\tr3,0(r3)\n"
   "0x2705a8:\t"
<- "mtlr\tr4\n"
   "0x2705ac:\tblr\n"
   "0x2705b0:\tmflr\tr4\n"
   "0x2705b4:\tbl\t0x2705b8\n"
   "0x2705b8:\tmflr\tr6\n"
   "0x2705bc:\t"
<- "lis\tr5,0\n"
   "0x2705c0:\taddi\tr5,r5,0\n"
   "0x2705c4:\tli\tr3,9112\n"
   "0x2705c8:\tsubf\tr5,r3,r5\n"
   "0x2705cc:\tlwzx\tr3,r5,r6\n"
   "0x2705d0:\t"
<- "lwz\tr3,0(r3)\n"
   "0x2705d4:\tmtlr\tr4\n"
   "0x2705d8:\tblr\n"
   "0x2705dc:\tmflr\tr4\n"
   "0x2705e0:\tbl\t0x2705e4\n"
   "0x2705e4:\t"
<- "mflr\tr6\n"
   "0x2705e8:\tlis\tr5,0\n"
   "0x2705ec:\taddi\tr5,r5,26\n"
   "0x2705f0:\tli\tr3,9156\n"
   "0x2705f4:\tsubf\tr5,r3,r5\n"
   "0x2705f8:\t"
<- "lhzx\tr3,r5,r6\n"
   "0x2705fc:\tmtlr\tr4\n"
   "0x270600:\tblr\n"
   "0x270604:\tmflr\tr4\n"
   "0x270608:\tbl\t0x27060c\n"
   "0x27060c:\tmflr\tr6\n"
   "0x270610:\tlis\tr5,0\n"
   "0x270614:\taddi\tr5,r5,832\n"
   "0x270618:\t"
<- "li\tr3,9196\n"
   "0x27061c:\tsubf\tr5,r3,r5\n"
   "0x270620:\tlwzx\tr3,r5,r6\n"
   "0x270624:\tmtlr\tr4\n"
   "0x270628:\tblr\n"
   "0x27062c:\tmflr\tr0\n"
   "0x270630:\tstw\tr0,4(r1)\n"
   "0x270634:\tli\tr0,5\n"
   "0x270638:\tli\tr3,0\n"
   "0x27063c:\tsc\n"
   "0x270640:\tli\tr0,6\n"
   "0x270644:\tli\tr3,0\n"
   "0x270648:\tsc\n"
   "0x27064c:\tblr\n"
   "0x270650:\taddi\tr11,r1,0\n"
   "End of assembler dump.\n"
   "(gdb) Quit\n"
   "(gdb) "
-> "output bl\n"
<- "No symbol table is loaded.  Use the \"file\" command.\n"
   "(gdb) "
-> "output $bl\n"
<- "void(gdb) "
-> "quit\n"
#  Running GDB (pid 2100, tty /dev/pts/2)...Exit 0.
#  Saving history in "/home/schd/.ddd/history"...
#  Saving history in "/home/schd/.ddd/history"...done.
#  Thanks for using DDD 3.3.1!

reply via email to

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