This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH v5 4/8] Prepare linux_find_memory_regions_full & co. for move
- From: Tom Tromey <tromey at redhat dot com>
- To: Jan Kratochvil <jan dot kratochvil at redhat dot com>
- Cc: gdb-patches at sourceware dot org, Aleksandar Ristovski <ARistovski at qnx dot com>
- Date: Mon, 19 May 2014 13:15:21 -0600
- Subject: Re: [PATCH v5 4/8] Prepare linux_find_memory_regions_full & co. for move
- Authentication-results: sourceware.org; auth=none
- References: <20140319223004 dot 14668 dot 20989 dot stgit at host1 dot jankratochvil dot net> <20140319223059 dot 14668 dot 66553 dot stgit at host1 dot jankratochvil dot net>
>>>>> "Jan" == Jan Kratochvil <jan.kratochvil@redhat.com> writes:
Jan> 2014-02-26 Aleksandar Ristovski <aristovski@qnx.com
Jan> Prepare linux_find_memory_regions_full & co. for move.
Jan> * linux-tdep.c (linux_find_memory_region_ftype): Comment.
Jan> (linux_find_memory_regions_full): Change signature and prepare
Jan> for moving to linux-maps.
Jan> (linux_find_memory_regions_data): Rename field 'obfd' to 'data'.
Jan> (linux_find_memory_regions_thunk): New.
Jan> (linux_find_memory_regions_thunk): Use 'data' field instead of 'obfd'.
Jan> (linux_find_memory_regions_gdb): New.
Jan> (linux_find_memory_regions): Rename argument 'obfd' to 'func_data'.
Jan> (linux_make_mappings_corefile_notes): Use
Jan> linux_find_memory_regions_gdb.
Jan> * target.c (read_alloc_pread_ftype): New typedef.
Jan> (target_fileio_read_alloc_1_pread): New function.
Jan> (read_alloc): Refactor from target_fileio_read_alloc_1.
Jan> (read_stralloc_func_ftype): New typedef.
Jan> (target_fileio_read_alloc_1): New implementation. Use read_alloc.
Jan> (read_stralloc): Refactored from target_fileio_read_stralloc.
Jan> (target_fileio_read_stralloc): New implementation, use read_stralloc.
Ok.
Tom