2011-04-20 Pedro Alves <pedro@codesourcery.com>
authorPedro Alves <palves@redhat.com>
Wed, 20 Apr 2011 17:01:11 +0000 (17:01 +0000)
committerPedro Alves <palves@redhat.com>
Wed, 20 Apr 2011 17:01:11 +0000 (17:01 +0000)
commitb78974c3b4cea6c98cb8dfd9c0bee59efd45d311
treef469d8b9134b15398d79696f3c16c0135b8d4318
parent15be625dff82153e4e05018a22c6cd66ba160f70
2011-04-20  Pedro Alves  <pedro@codesourcery.com>

gdb/
* regcache.c (get_thread_arch_regcache): If creating a regcache for
null_ptid, assume and allow a NULL address space, instead of
asking the target for the ptid's address space.
* infrun.c (ptid_is_pid): Remove assertion.

gdb/testsuite/
* gdb.base/maint.exp: Test that "maint print registers" works
without a running program.
gdb/ChangeLog
gdb/infrun.c
gdb/regcache.c
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.base/maint.exp