Page 1 of 1

Bug? (invalid disassembly modifier)

Posted: Tue Jul 27, 2010 3:55 pm
by serega386

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

Re: Bug? (invalid disassembly modifier)

Posted: Tue Jul 27, 2010 4:43 pm
by eranif
I am not sure whether this is a bug or not. If it is a bug, you should report it to gdb mailing list
Eran