aboutsummaryrefslogtreecommitdiff
path: root/gdb/gdbarch.c
diff options
context:
space:
mode:
authorYao Qi <yao@codesourcery.com>2013-11-04 08:51:19 +0800
committerYao Qi <yao@codesourcery.com>2014-02-07 11:19:57 +0800
commit8635b3bf5980d6968d277ed83442c96544830a1b (patch)
treeefc33ad51aedcf2cb85e7e3fdc4e0ab255231a49 /gdb/gdbarch.c
parent1f25b93bc6e10b314ccdc5c42583f77db1b33e2e (diff)
downloadgdb-8635b3bf5980d6968d277ed83442c96544830a1b.zip
gdb-8635b3bf5980d6968d277ed83442c96544830a1b.tar.gz
gdb-8635b3bf5980d6968d277ed83442c96544830a1b.tar.bz2
Tweak in memory_error
This patch adds a local variable exception of type 'enum errors' and pass it to throw_error, because 'err' is of type 'enum target_xfer_error', and we're abusing it to store an 'enum errors'. gdb: 2014-02-07 Yao Qi <yao@codesourcery.com> * corefile.c (memory_error): Get 'exception' from ERR and pass 'exception' to throw_error.
Diffstat (limited to 'gdb/gdbarch.c')
0 files changed, 0 insertions, 0 deletions