2003-10-08 Roland McGrath <roland@redhat.com>
authorRoland McGrath <roland@gnu.org>
Sat, 11 Oct 2003 01:56:53 +0000 (01:56 +0000)
committerRoland McGrath <roland@gnu.org>
Sat, 11 Oct 2003 01:56:53 +0000 (01:56 +0000)
commitcbb83bd1ee373467c9e76feca9ef98f3b0de9154
tree4664e4b5ab48c8d4925afb082fde0231b09b6905
parentcb227dc0c28b1fc257913326341c5ba5fe8bb5a9
2003-10-08  Roland McGrath  <roland@redhat.com>

* gcore.c (make_mem_sec): Function removed, folded into ...
(gcore_create_callback): ... here.  To omit a section, clear its
SEC_LOAD bit rather than zeroing its size.
Omit read-only sections only if they correspond to a known disk file.
(gcore_copy_callback): Ignore sections without SEC_LOAD flag set.
gdb/gcore.c