OSDN Git Service

* generic/gdbtk-cmds.c (gdb_load_disassembly): Save the original
authorkseitz <kseitz>
Mon, 20 Aug 2001 17:55:31 +0000 (17:55 +0000)
committerkseitz <kseitz>
Mon, 20 Aug 2001 17:55:31 +0000 (17:55 +0000)
commitc8e6503f920532f104965541c1d1e9b70f8f9faa
treebeae46566cd76e55df0570e7f228bea86994f32f
parentd796e2713dd1800d62271aa9eac9d08e9e6f8908
* generic/gdbtk-cmds.c (gdb_load_disassembly): Save the original
address from parse_and_eval_address: if find_pc_partial_function
errors, we will lose our original address.
If find_pc_partial_function does error, print out both
the address we thought we were disassembling at AND the address
we actually did disassemble at. This should help elide address-
to-pointer and pointer-to-address problems in the tdep files.
* library/srctextwin.itb (FillAssembly): When gdb_load_disassembly
fails, use its error message instead of the cooked "Unable to
Read insturctions..." message.
(UnLoadFromCache): If oldpane is empty, don't try show it,
don't try to set our view to it, don't do anything but
erase the given pane.
gdb/gdbtk/ChangeLog
gdb/gdbtk/generic/gdbtk-cmds.c
gdb/gdbtk/library/srctextwin.itb