Bug? (invalid disassembly modifier)
Posted: Tue Jul 27, 2010 3:55 pm
Code: Select all
#include <stdio.h>
int main(int argc, char **argv)
{
printf("hello world\n");
fwrite("hello_world\n", 12, 1, stdout);
return 0;
}
Code: Select all
Starting debugger : gdb --tty=/dev/pts/2 --interpreter=mi "./hello1"
GNU gdb (GDB) 7.1-ubuntu
...
Continuing...
DEBUG>>disassemble/10i $pc
DEBUG>>&"disassemble/10i $pc\n"
DEBUG>>&"Invalid disassembly modifier.\n"
DEBUG>>^error,msg="Invalid disassembly modifier."
^error,msg="Invalid disassembly modifier."
DEBUG>>print $argc
DEBUG>>&"print $argc\n"
DEBUG>>~"$1 = void"
$1 = void
DEBUG>>~"\n"
DEBUG>>^done