]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
Use target_gdbarch in corefile handling
authorPaul Koning <paul_koning@dell.com>
Fri, 23 Oct 2015 20:29:54 +0000 (16:29 -0400)
committerPaul Koning <paul_koning@dell.com>
Fri, 23 Oct 2015 20:29:54 +0000 (16:29 -0400)
commit97bc1d4ffe48b9fa482c3c31667ceae1ba252717
tree519346ad2fcdaec0d9fa5e039f0f1361733614d4
parent95ba86d5a482fc4de16a67253f0b6511cbb79504
Use target_gdbarch in corefile handling

This changes corelow.c to use target_gdbarch() -- i.e., the gdbarch
of the current inferior -- once the inferior has been set up.  This
ensures that setup such as fetching processor option specific flags
carries over.
gdb/corelow.c