error was thrown while trying to perform the disassembly.
+2009-04-23 Joel Brobecker <brobecker@adacore.com>
+
+ * stack.c (do_gdb_disassembly): Print the exception message if an
+ error was thrown while trying to perform the disassembly.
+
2009-04-22 Jan Kratochvil <jan.kratochvil@redhat.com>
* varobj.c (free_variable): Replace free_current_contents by xfree.
{
gdb_disassembly_stub (&args);
}
+ /* If an exception was thrown while doing the disassembly, print
+ the error message, to give the user a clue of what happened. */
+ if (exception.reason == RETURN_ERROR)
+ exception_print (gdb_stderr, exception);
}
/* Print information about frame FRAME. The output is format according