start gdb-mi in emacs trunk with gdb-7.3

define hook-stop
print debug_function (param)
end

set breakpoint and continue to run,

I get the following messages:

Error while running hook_stop:
Undefined command: "-interpreter-exec".  Try "help".

It works fine out of emacs trunk