mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-05-31 10:09:16 +08:00
* stack.c (do_gdb_disassembly): Print the exception message if an
error was thrown while trying to perform the disassembly.
This commit is contained in:
@ -507,6 +507,10 @@ do_gdb_disassembly (int how_many, CORE_ADDR low, CORE_ADDR high)
|
||||
{
|
||||
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
|
||||
|
Reference in New Issue
Block a user