2009-11-10 Daniel Gutson <dgutson@codesourcery.com>
authorDaniel Jacobowitz <drow@false.org>
Tue, 10 Nov 2009 21:00:41 +0000 (21:00 +0000)
committerDaniel Jacobowitz <drow@false.org>
Tue, 10 Nov 2009 21:00:41 +0000 (21:00 +0000)
commit751254059d4238e2a67a7644306f1185523816ca
treeb36af04ddaea2da4e000a3f6e7eec1d68bf1ac29
parentfa33544892e1a4aaf94c7a37a708fd6af5b0c6cd
2009-11-10  Daniel Gutson  <dgutson@codesourcery.com>

* procfs.c (procfs_do_thread_registers): Added a call to fetch
register values before saving them in the core file
through the gcore command.
(procfs_corefile_thread_callback): Removed the backup of
inferior_ptid before calling procfs_do_thread_registers since
the function already saves and restores it before returning.
gdb/ChangeLog
gdb/procfs.c