aboutsummaryrefslogtreecommitdiff
path: root/gdb/tramp-frame.c
diff options
context:
space:
mode:
authorPedro Alves <palves@redhat.com>2011-02-04 15:46:49 +0000
committerPedro Alves <palves@redhat.com>2011-02-04 15:46:49 +0000
commit041274d86dbad1e84b5c09c236b9d68952406aea (patch)
treef9db8374fbd3f5695e5835d9951b659d2dcad68f /gdb/tramp-frame.c
parentfcc82f68c5ea9860724aed5e79f446af1191496d (diff)
downloadgdb-041274d86dbad1e84b5c09c236b9d68952406aea.zip
gdb-041274d86dbad1e84b5c09c236b9d68952406aea.tar.gz
gdb-041274d86dbad1e84b5c09c236b9d68952406aea.tar.bz2
* regcache.c (registers_changed_ptid): Don't explictly always
clear `current_regcache'. Only clear current_thread_ptid and current_thread_arch when PTID matches. Only reinit the frame cache if PTID matches the current inferior_ptid. Move alloca(0) call to ... (registers_changed): ... here.
Diffstat (limited to 'gdb/tramp-frame.c')
0 files changed, 0 insertions, 0 deletions